2020-01-12 14:33:02 +00:00
|
|
|
{{ define "main" }}
|
2022-01-06 12:58:10 +00:00
|
|
|
<article class="gdoc-markdown gdoc-post">
|
|
|
|
<header class="gdoc-post__header">
|
|
|
|
<h1 class="gdoc-post__title">{{ .Title }}</h1>
|
|
|
|
<div class="gdoc-post__meta">
|
|
|
|
<span class="no-wrap">
|
|
|
|
<svg class="icon gdoc_date"><use xlink:href="#gdoc_date"></use></svg>
|
|
|
|
<span class="gdoc-post__tag">
|
|
|
|
<time datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
|
|
|
|
{{ if ne (.Lastmod.Format "2006-01-02") (.Date.Format "2006-01-02") }}
|
|
|
|
Updated on
|
|
|
|
{{ end }}
|
|
|
|
{{ .Lastmod.Format "Jan 2, 2006" }}
|
|
|
|
</time>
|
2021-09-01 08:18:00 +00:00
|
|
|
</span>
|
2022-01-06 12:58:10 +00:00
|
|
|
</span>
|
2021-09-01 08:18:00 +00:00
|
|
|
|
2022-01-06 12:58:10 +00:00
|
|
|
<span class="no-wrap">
|
|
|
|
<svg class="icon gdoc_timer"><use xlink:href="#gdoc_timer"></use></svg>
|
|
|
|
<span class="gdoc-post__tag">{{ .ReadingTime }} min read</span>
|
|
|
|
</span>
|
2020-06-01 13:59:02 +00:00
|
|
|
</div>
|
2022-01-06 12:58:10 +00:00
|
|
|
</header>
|
|
|
|
<div>
|
|
|
|
{{ partial "content" . }}
|
|
|
|
</div>
|
|
|
|
</article>
|
2020-01-12 14:33:02 +00:00
|
|
|
{{ end }}
|