Skip to content

Commit

Permalink
Show author info
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist committed Jun 25, 2021
1 parent 0e5ff47 commit 32e1067
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions layouts/partials/post/meta.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<div class="post-meta mb-3">
<span class="post-date mr-2">
<i class="fas fa-fw fa-calendar-alt"></i>{{ .Date.Format (default "Jan 2, 2006" $.Site.Params.dateFormat) }}
</span>
{{- if .Params.Author -}}
<span class="poost-reading-author mr-2">
<i class="fas fa-fw fa-user"></i>{{ .Params.Author }}
</span>
{{- end -}}
<span class="poost-reading-time mr-2">
<i class="fas fa-fw fa-coffee"></i>{{ i18n "reading_time" . }}
</span>
{{- partial "post/translations" . -}}
{{- range $key, $value := .Site.Taxonomies -}}
{{- range ($.GetTerms $key) -}}
<a href="{{ .Permalink }}" class="post-taxonomy">#{{ .Name }}</a>
{{- end -}}
{{- end -}}
</div>

0 comments on commit 32e1067

Please sign in to comment.