2020-08-24 17:27:51 +00:00
|
|
|
<footer class="article-footer">
|
2020-09-17 22:00:39 +00:00
|
|
|
{{ partial "article/components/tags" . }}
|
2020-08-24 17:27:51 +00:00
|
|
|
|
2020-09-06 12:02:48 +00:00
|
|
|
{{ if and (.Site.Params.article.license.enabled) (not (eq .Params.license false)) }}
|
2020-08-24 17:27:51 +00:00
|
|
|
<section class="article-copyright">
|
|
|
|
{{ (resources.Get "icons/copyright.svg").Content | safeHTML }}
|
2020-09-06 12:02:48 +00:00
|
|
|
<span>{{ default .Site.Params.article.license.default .Params.license }}</span>
|
2020-08-24 17:27:51 +00:00
|
|
|
</section>
|
|
|
|
{{ end }}
|
2020-09-06 18:26:18 +00:00
|
|
|
|
2020-09-06 18:33:23 +00:00
|
|
|
{{- if ne .Lastmod .Date -}}
|
2020-09-06 18:26:18 +00:00
|
|
|
<section class="article-time">
|
|
|
|
{{ (resources.Get "icons/clock.svg").Content | safeHTML }}
|
2020-09-09 15:17:09 +00:00
|
|
|
<span class="article-time--modified">
|
2020-10-09 17:01:37 +00:00
|
|
|
{{ T "lastUpdatedOn" }} {{ .Lastmod.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
|
2020-09-09 15:17:09 +00:00
|
|
|
</span>
|
2020-09-06 18:26:18 +00:00
|
|
|
</section>
|
|
|
|
{{- end -}}
|
2020-08-24 17:27:51 +00:00
|
|
|
</footer>
|