mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-17 05:55:00 +00:00
10 lines
371 B
Plaintext
10 lines
371 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 }} |