aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-markdown.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/meta-markdown.html')
-rw-r--r--themes/default/layouts/partials/meta-markdown.html4
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>