How do I display the site build time in the footer?
Pathsis opened this issue · comments
Like Jekyll's {{ site.time | date: "%Y-%m-%d %H:%M"}}
does. I see the information here, but I don't know how to implement it exactly.
I got it.
<footer class="{{ .Site.Params.background_color_class | default "bg-black" }} bottom-0 w-100 pa3" role="contentinfo">
<div class="flex flex-wrap justify-between">
<a class="f4 fw4 hover-white no-underline white-70 dib-ns pv2 ph3" href="{{ .Site.BaseURL }}" >
© {{ with .Site.Copyright | default .Site.Title }} {{ . | safeHTML }} {{ now.Format "2006-1-2 15:04" }} {{ end }}
</a>
<div class="dib-ns pb2 ph3">{{ partial "social-follow.html" . }}</div>
</div>
</footer>