blob: d76798ddf8962222f4e226def9d5b7baae52d83d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{{- $author := index .Site.Data ((or .Params.author .Site.Author.default.user) | default "default") -}}
<micro-metadata-view>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
<a
{{ with .Params.feed.self -}}
href="{{ $.Site.BaseURL }}/{{ . }}"
{{ else }}
href="{{ .Site.BaseURL }}/{{ $author.user }}/messages/{{ path.Base .Permalink }}/#{{ partial "card-id.html" . }}"
{{ end }}
>
{{- safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/external-link.svg")) -}}
<span>view</span>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
</a>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
</micro-metadata-view>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
|