Trying to mimic my WordPress setup, I still fail.
What I want to achieve is to:
- have a list of pages (
- have a list of blog articles (
Of those, the blog articles should have a different template than the pages.
My current structure, including one page and one example post, is as follows:
├───content │ │ test-page.md │ │ _index.md │ │ │ └───2020 │ └───08 │ test-article.md ├───sass ├───static └───themes └───my-theme-name ├───sass ├───static ├───templates │ base.html │ comments.html │ index.html │ page.html │ section.html └───themes
According to what I read in the documentation,
page.html is the template for pages and
section.html is for blog posts. However, both
page.html now. I tried to explicitly set
+++ title = "Blog Test" sort_by = "date" template = "index.html" page_template = "section.html" +++
section.html is ignored.
I can only imagine that I am too dumb to understand the documentation. Can anyone enlighten me?