Breaking change: switch to '{{%' decorators in shortcodes to better support shortcode-in-shortcode

This commit is contained in:
Alex Shpak
2024-10-04 11:29:44 +02:00
parent 69886cc74b
commit 925dbd3b9f
21 changed files with 61 additions and 91 deletions
+1 -1
View File
@@ -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>