1
0
web/layouts/_default/single.html

20 lines
354 B
HTML
Raw Normal View History

2024-04-05 08:44:02 +00:00
{{ 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>