2020-08-24 13:27:51 -04:00
|
|
|
<footer class="article-footer">
|
|
|
|
{{ with $tags := .Params.Tags }}
|
|
|
|
<section class="article-tags">
|
|
|
|
{{ range $tags }}
|
2020-09-13 04:14:17 -04:00
|
|
|
<a href="{{ printf `tags/%s` (. | urlize) | relLangURL }}">{{ . | humanize }}</a>
|
2020-08-24 13:27:51 -04:00
|
|
|
{{ end }}
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
|
|
|
|
2020-09-06 08:02:48 -04:00
|
|
|
{{ if and (.Site.Params.article.license.enabled) (not (eq .Params.license false)) }}
|
2020-08-24 13:27:51 -04:00
|
|
|
<section class="article-copyright">
|
|
|
|
{{ (resources.Get "icons/copyright.svg").Content | safeHTML }}
|
2020-09-06 08:02:48 -04:00
|
|
|
<span>{{ default .Site.Params.article.license.default .Params.license }}</span>
|
2020-08-24 13:27:51 -04:00
|
|
|
</section>
|
|
|
|
{{ end }}
|
2020-09-06 14:26:18 -04:00
|
|
|
|
2020-09-06 14:33:23 -04:00
|
|
|
{{- if ne .Lastmod .Date -}}
|
2020-09-06 14:26:18 -04:00
|
|
|
<section class="article-time">
|
|
|
|
{{ (resources.Get "icons/clock.svg").Content | safeHTML }}
|
2020-09-09 11:17:09 -04:00
|
|
|
<span class="article-time--modified">
|
2020-09-09 16:41:42 -04:00
|
|
|
{{ T "lastUpdatedOn" (.Lastmod.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" )) }}
|
2020-09-09 11:17:09 -04:00
|
|
|
</span>
|
2020-09-06 14:26:18 -04:00
|
|
|
</section>
|
|
|
|
{{- end -}}
|
2020-08-24 13:27:51 -04:00
|
|
|
</footer>
|