uci-hugo-doc/layouts/posts/single.html

29 lines
1.0 KiB
HTML
Raw Normal View History

2020-01-12 06:33:02 -08:00
{{ define "main" }}
2020-06-01 06:59:02 -07:00
<article class="gdoc-markdown gdoc-post">
<header class="gdoc-post__header">
2020-06-01 06:59:02 -07:00
<h1 class="gdoc-post__title">{{ .Title }}</h1>
2021-09-01 01:18:00 -07:00
<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>
</span>
</span>
<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>
</div>
2020-06-01 06:59:02 -07:00
</header>
<div>
2020-02-26 14:59:30 -08:00
{{ partial "content" . }}
2020-06-01 06:59:02 -07:00
</div>
2020-01-12 06:33:02 -08:00
</article>
{{ end }}