diff options
author | tdro <tdro@noreply.example.com> | 2023-03-14 15:11:23 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-03-14 15:11:23 -0400 |
commit | ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822 (patch) | |
tree | 8a87daba0eb4a355f732ec7e5f3bf3e9bfe3ad7b /themes/default/layouts/partials/meta-markdown.html | |
parent | bde0c042a2d050a8549707f62dec57844c56a0c5 (diff) | |
download | canory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.tar.gz canory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.tar.bz2 canory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.zip |
themes/default/layouts/partials/function-paths: Return dict here
Diffstat (limited to 'themes/default/layouts/partials/meta-markdown.html')
-rw-r--r-- | themes/default/layouts/partials/meta-markdown.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/meta-markdown.html b/themes/default/layouts/partials/meta-markdown.html index c6e7bdf..5300af5 100644 --- a/themes/default/layouts/partials/meta-markdown.html +++ b/themes/default/layouts/partials/meta-markdown.html @@ -1,12 +1,12 @@ {{- if not .ExpiryDate -}} {{- $relURL := strings.TrimPrefix .Page.Site.BaseURL .Page.Permalink -}} {{- $source := print (path.Dir $relURL) ".md" -}} - {{- $href := print .Site.BaseURL "/" (partial "function-paths.html" "markdown") $source -}} + {{- $href := print .Site.BaseURL "/" (partial "function-paths.html").markdown $source -}} {{- $title := .File.LogicalName -}} <micro-metadata-source> <a href="{{ $href }}" title="{{ $title }}"> - {{- safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/code.svg")) -}} + {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/code.svg")) -}} <span>markdown</span> </a> </micro-metadata-source> |