layouts: Rename list to section and single to page

This makes them more specific. For example, section.html can't
accidentally be a fallback for taxonomy.html, and page.html can't for
term.html.

Fixes #88
This commit is contained in:
2025-07-30 01:19:19 -05:00
parent 433dd125e2
commit ccb5170d2b
3 changed files with 0 additions and 0 deletions

9
layouts/page.markdown.md Normal file
View File

@@ -0,0 +1,9 @@
{{ with .File -}}
{{ with (.Path | readFile) -}}
{{ . -}}
{{ else -}}
{{ errorf "file not found: %s" .Path -}}
{{ end -}}
{{ else -}}
{{ errorf "no file available for markdown template?" -}}
{{ end -}}