1
0
web/layouts/_default/single.html
2024-04-21 16:05:05 +09:00

23 lines
500 B
HTML

{{ partial "head.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>