mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-24 16:17:13 +00:00
25 lines
692 B
HTML
25 lines
692 B
HTML
<div class="article-metadata">
|
|
|
|
<span class="article-date">
|
|
<time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format .Site.Params.date_format }}</time>
|
|
</span>
|
|
|
|
{{ if isset .Params "tags" }}
|
|
{{ $tagsLen := len .Params.tags }}
|
|
{{ if gt $tagsLen 0 }}
|
|
<span class="article-tags">
|
|
<i class="fa fa-tags"></i>
|
|
{{ range $k, $v := .Params.tags }}
|
|
<a class="article-tag-link" href="{{ $.Site.BaseURL }}tags/{{ . | urlize | lower }}">{{ . }}</a>{{ if lt $k (sub $tagsLen 1) }}, {{ end }}
|
|
{{ end }}
|
|
</span>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
|
|
<div class="pull-right">
|
|
{{ partial "share.html" . }}
|
|
</div>
|
|
|
|
</div>
|