blob: 6e54238df506f01d59a97a0abc16153adb0b18a2 (
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 -}}
<meta-source>
<a href="{{ $href }}" title="{{ $title }}">
{{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/tabler/square-letter-m.svg")) -}}
<span>Markdown</span>
</a>
</meta-source>
{{- end -}}
|