keimena/layouts/_default/single.html

12 lines
267 B
HTML
Raw Normal View History

2024-05-27 21:13:51 +00:00
{{ define "main" }}
{{ if eq .Type "post" }}
{{- partial "post.html" . -}}
{{- partial "toc.html" . -}}
{{ end }}
{{ if eq .Type "page" }}
{{- partial "page.html" . -}}
{{- partial "toc.html" . -}}
{{ end }}
{{ end }}