1
0
web/layouts/_default/single.html
2024-04-26 12:02:41 +09:00

23 lines
505 B
HTML

{{ partial "head-blog.html" . }}
{{ partial "navbar.html" . }}
{{ partial "header.html" . }}
<article>
<div class="content">
{{ if ne .Lastmod .Date }}<div class="post-time-date">{{ .Lastmod.Format "2006-01-02" }}</div>{{ end }}
<h1>{{ .Title }}</h1>
{{ .Content }}
</div>
</article>
<!--
{{ $s := path.Dir (.Permalink | relURL) }}
{{ $o := index (split $s "/") 1 }}
<div class="pager"><a href="{{ printf "/%s" $o }}">{{ $o }}</a></div>
-->
</div>
{{ partial "footer.html" . }}
</body>
</html>