mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-29 12:27:34 +00:00
10 lines
352 B
Plaintext
10 lines
352 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="{{ .Link | default "/" }}" class="p-name u-url" rel="me">{{ .Name }}</a>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
{{ end }} |