I’m having an issue where the two last tabs display the same content (viewingrooms).
I checked the indentation thoroughly but I’m still missing something here…
Here is the entire site.yml
blueprint:
title: Site
options:
changeTitle: false
tabs:
dashboard:
label: Dashboard
icon: dashboard
columns:
- width: 1/4
sections:
pages:
type: pages
headline: Sections
templates:
- home
- default
- artists
- news
- program
- editions
- about
- rooms
- artworks
rooms:
layout: cards
size: tiny
extends: sections/rooms
- width: 3/4
sections:
news:
extends: sections/news
limit: 10
program:
extends: sections/program
limit: 10
artworks:
label: Artworks
icon: image
sections:
drafts:
extends: sections/artworks
headline: Drafts
status: draft
listed:
extends: sections/artworks
headline: Published
status: listed
layout: cards
size: tiny
viewingrooms:
label: Viewing rooms
icon: preview
sections:
drafts:
extends: sections/rooms
headline: Drafts
status: draft
listed:
extends: sections/rooms
headline: Published
status: listed
layout: cards
size: small
And the two blueprints getting extended:
sections/rooms.yml
type: pages
headline: Viewing rooms
parent: kirby.page("viewing-rooms")
template: room
empty: No drafts
sortBy: date desc
sections/artworks.yml
type: pages
headline: Artworks
parent: kirby.page("artworks")
info: "{{ page.artists }}, {{ page.year }}"
template: artwork
empty: No drafts
sortBy: date desc