Breaking change: switch to '{{%' decorators in shortcodes to better support shortcode-in-shortcode
This commit is contained in:
@@ -8,5 +8,5 @@
|
||||
{{- $ref = relref $ . -}}
|
||||
{{- end -}}
|
||||
<a {{ with $ref }} href="{{.}}" {{ end }} {{ with $target }} target="{{.}}" rel="noopener" {{ end }} class="book-btn{{ with .Get "class" }} {{ . }}{{ end }}">
|
||||
{{ .InnerDeindent | .Page.RenderString }}
|
||||
{{ .InnerDeindent }}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user