1
0
web/layouts/_default/single.html
2024-04-05 17:44:02 +09:00

20 lines
354 B
HTML

{{ partial "head.html" . }}
{{ 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>
</div>
{{ partial "footer.html" . }}
</body>
</html>