blob: ca8ff372238c75e9adc613fe59c6ad589f973633 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{{- if not .ExpiryDate -}}
{{- $author := partial "function-authors-data.html" . -}}
{{- $source := print $author.user "/messages/" .File.LogicalName -}}
{{- $href := print .Site.BaseURL "/" (partial "function-paths.html" "markdown") "/" $source -}}
{{- $title := $href -}}
{{- with .Params.feed -}}
{{- $href = print $.Site.BaseURL "/" $.Params.feed.markdown -}}
{{- $title = $href -}}
{{- end -}}
<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 -}}
|