This repository has been archived on 2023-02-05. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
sakura-hugo-theme/layouts/partials/metadata.html

9 lines
315 B
HTML

{ with .Resources.GetMatch "{cover.svg,cover.*}" }}
<img src="{{ .Permalink }}">
{{ end }}
Posted by {{ .Site.Params.author }} on {{ partial "time.html" . }}
<br>
{{ range $i, $e := .Params.tags -}}
{{- if $i -}}, {{ end -}}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" rel="tag">#{{ $e }}</a>
{{- end -}}