blob: c6e7bdf121f4fa55e3538e23c73c16f5eff1c103 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{{- 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 -}}
{{- $title := .File.LogicalName -}}
<micro-metadata-source>
<a href="{{ $href }}" title="{{ $title }}">
{{- safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/code.svg")) -}}
<span>markdown</span>
</a>
</micro-metadata-source>
{{- end -}}
|