This commit is contained in:
3
layouts/shortcodes/figcaption.html
Normal file
3
layouts/shortcodes/figcaption.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{{- $content := .Inner -}}
|
||||
<figcaption class="is-size-7 has-text-left has-text-weight-light mt-1">{{ $content }}</figcaption>
|
||||
{{- /* Do not remove comment, fix for extra whitespace after shortcode */ -}}
|
||||
3
layouts/shortcodes/myhighlight.html
Normal file
3
layouts/shortcodes/myhighlight.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{{- $content := .Inner -}}
|
||||
<span class="is-smallcaps has-text-weight-medium has-text-danger">{{ $content }}</span>
|
||||
{{- /* Do not remove comment, fix for extra whitespace after shortcode */ -}}
|
||||
5
layouts/shortcodes/staticRef.html
Normal file
5
layouts/shortcodes/staticRef.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{{- .Scratch.Set "path" (.Get 0) -}}
|
||||
{{- if hasPrefix (.Scratch.Get "path") "/" -}}
|
||||
{{- .Scratch.Set "path" (slicestr (.Scratch.Get "path") 1) -}}
|
||||
{{- end -}}
|
||||
{{- .Scratch.Get "path" | absLangURL -}}
|
||||
Reference in New Issue
Block a user