diff options
Diffstat (limited to 'themes/default/layouts/partials/menu-permalink.html')
-rw-r--r-- | themes/default/layouts/partials/menu-permalink.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/menu-permalink.html b/themes/default/layouts/partials/menu-permalink.html new file mode 100644 index 0000000..6f19559 --- /dev/null +++ b/themes/default/layouts/partials/menu-permalink.html @@ -0,0 +1,11 @@ +{{- $href := print .Permalink "#" (partial "card-id.html" .) -}} + +<meta-permalink> + <a title="#{{ partial "card-id.html" . }}" href="{{ $href }}"> + {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/link.svg")) -}} + <span>Permalink</span> +{{- /* This comment removes trailing newlines and white spaces. */ -}} + </a> +{{- /* This comment removes trailing newlines and white spaces. */ -}} +</meta-permalink> +{{- /* This comment removes trailing newlines and white spaces. */ -}} |