1
0
web/layouts/_default/single.html

23 lines
500 B
HTML
Raw Normal View History

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