1
0
This commit is contained in:
2024-04-06 03:54:19 +09:00
parent d9f8fd05ff
commit be3f528e74
5 changed files with 14 additions and 17 deletions

View File

@@ -2,18 +2,15 @@
{{ partial "navbar.html" . }}
{{ partial "header.html" . }}
{{ $s := path.Dir (.Permalink | relURL) }}
{{ $t := index (split $s "/") 2 }}
{{ $o := index (split $s "/") 1 }}
{{ if eq $t "img" }}
{{ partial "img.html" . }}
{{ else }}
{{ .Content }}
{{ end }}
</div>
<article>
<div class="content">
{{ if ne .Lastmod .Date }}<div class="post-time-date">{{ .Lastmod.Format "2006-01-02" }}</div>{{ end }}
<h2>{{ .Title }}</h2>
{{ .Content }}
</div>
</article>
</div>
{{ partial "footer.html" . }}
{{ partial "footer.html" . }}
</body>
</html>