1
mirror of https://github.com/jlelse/GoBlog synced 2024-05-29 02:54:27 +00:00
GoBlog/templates/author.gohtml
2021-03-10 22:31:43 +01:00

10 lines
370 B
Plaintext

{{ define "author" }}
{{ with user }}
<div class="p-author h-card hide">
{{ with .Picture }}<data class="u-photo" value="{{ . }}"></data>{{ end }}
{{ if .Name }}
<a href="{{ with .Link }}{{ . }}{{ else }}/{{ end }}" class="p-name u-url" rel="me">{{ .Name }}</a>
{{ end }}
</div>
{{ end }}
{{ end }}