blob: 5300af59b7e0cd30315b448cc419b2c8c75f03ff (
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 -}}
|