Hello, I’d like to inquire.
I made a menu called “works” in Panel.
And I made two tabs, Project and Furniture.
The “Project” tab uses a template named “note”,
The ‘Furniture’ tab uses the ‘notetwo’ template to write.
title: Works
icon: 📦
tabs:
projectpage:
label: Project
icon: text
columns:
- width: 1/1
sections:
drafts:
extends: sections/works
headline: 비공개
status: draft
- width: 2/1
sections:
listed:
extends: sections/works
headline: 공개
status: listed
size: small
layout: cards
furniturepage:
label: Furniture
icon: text
columns:
- width: 1/1
sections:
drafts:
extends: sections/works
headline: 비공개
status: draft
- width: 2/1
sections:
listed:
extends: sections/works
headline: 공개
status: listed
size: small
And on the “Project” tab, you can only see the “note” template.
On the “Furniture” tab, I only want to see the “notetwo” template.
type: pages
headline: Works
parent: kirby.page("works")
info: "{{ page.published }}"
template:
- note
- notetwo
empty: No notes yet
sortBy: date desc
image:
query: page.cover
cover: true
ratio: 3/2
But now, no matter what tab I choose, the list of templates looks the same.
I ask for your help.
Thank you.