keimena/layouts/_default/single.html
2024-05-27 23:13:51 +02:00

11 lines
267 B
HTML

{{ 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 }}