Hi there, I have made a dashboard with tabs. The whole idea is based on the demokit/agency but I would love to understand kirby better and I am trying some modifications.
For example my blogs. Right now as it seems I have to create the layout in the site.yml for the tabs but I really love the layout of the actual pages/blog.yml (this one I have based on the demokit/blog
site.yml
tabs:
...
blogs:
label: Blog
icon: file-text
sections:
blogs:
extends: sections/blog/articles
layout: cards
label: Published Articles
type: pages
status: listed
image:
cover: true
back: white
Is there a way to directly link to the pages/blog.yml ? when I click the tab “blog” instead of seeing what I design in site.yml?
As a secondary question:
on my projects.yml I have created some columns which works fine. but then I learned about line
I have created 2 colums for my top meta data and now created a full width column below everything to display the gallery. but since the “add” button is very close to my other columns I want to separate it with a line.
Unfortunately this does not work:
columns:
- width: 1/2
....
...
- width: 1/2
....
...
- width: 1/1
sections:
line:
type: line
gallery:
type: files
template: project-image
layout: cards
This does show the line but then the gallery is empty…
- width: 1/1
sections:
fields:
line:
type: line
width: 1/1
gallery:
type: files
template: project-image
layout: cards
only this seem to work:
- width: 1/1
sections:
fields:
line:
type: line
width: 1/1
— width: 1/1
sections:
gallery:
type: files
template: project-image
layout: cards
Thank you.