Hello
Just trying Kirby for the first time after using Perch CMS for many years. All has gone well so far.
I have become stuck on one point that I can’t find a solution for.
I have followed the blog cookbook example and added a tab to my site blueprint, I can create articles and publish them, but they are not saved in my content under 4_blog, but instead are saved in 0_article-one.
# blog tab
blog:
label: Blog
icon: 📚
pages: blog
columns:
left:
width: 1/2
sections:
drafts:
extends: sections/articles
headline: Drafts
status: draft
unlisted:
extends: sections/articles
headline: In Review
status: unlisted
right:
width: 1/2
sections:
listed:
extends: sections/articles
headline: Published
status: listed
and this is my article.yml
title: Article
num: '{{ page.date.toDate("Ymd") }}'
icon: 📖
pages: blog
status:
draft:
label: Draft
text: The article is still in draft mode. It can only be seen by editors with panel access.
unlisted:
label: In Review
text: The article is online and can be visited with the direct URL. The team must still give the final go to publish it.
listed:
label: Published
text: The article is online and listed in the blog
columns:
main:
width: 2/3
fields:
text:
type: textarea
size: large
intro:
type: textarea
size: small
sidebar:
width: 1/3
sections:
meta:
type: fields
fields:
date:
type: date
time: true
default: now
author:
type: users
tags:
type: tags
and finally my articles.yml
type: pages
headline: Articles
info: "{{ page.date.toDate('d.m.Y') }}"
template: article
empty: No articles yet
sortBy: date desc
How can I get the articles saved in the 4_blog section?