new-site/layouts/partials/metadata.html
2025-03-17 15:37:27 -07:00

17 lines
786 B
HTML

<a class="u-url" href="{{ .Permalink }}"></a>
<a style="display: none;" class="p-author h-card" href="https://ch0ccyra1n.planetexpress.me">ch0ccyra1n <img class="u-photo" src="/images/profile.png" />
</a>
{{ if .PublishDate }}
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
<p><time class="dt-published" datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time></p>
{{ end }}
{{ if $.Params.inReplyTo }}
<p>In Reply to: <a rel="in-reply-to" class="u-in-reply-to" href="{{ .Params.inReplyTo}}">{{ .Params.inReplyTo }}</a></p>
{{end}}
{{ with .Params.tags }}
{{ range . }}
{{ $href := print (absURL "tags/") (urlize .) }}
<a class="p-category tag" href="{{ $href }}">#{{ . }}</a>
{{ end }}
{{ end }}