Merge pull request #43 from getkirby/section-label

This commit is contained in:
Nico Hoffmann ෴
2022-06-04 18:45:58 +02:00
committed by GitHub
5 changed files with 10 additions and 12 deletions

View File

@@ -27,10 +27,8 @@ sections:
# The photography section extends a pages section defined in the `/site/blueprints/section/album.yml` blueprint # The photography section extends a pages section defined in the `/site/blueprints/section/album.yml` blueprint
# More about reusing and extending sections: https://getkirby.com/docs/guide/blueprints/extending-blueprints#reusing-and-extending-sectionss # More about reusing and extending sections: https://getkirby.com/docs/guide/blueprints/extending-blueprints#reusing-and-extending-sectionss
photography: photography:
headline: Photography label: Photography
extends: sections/albums extends: sections/albums
status: listed status: listed
size: small size: small
help: All projects for the homepage are being pulled from the photography page. help: All projects for the homepage are being pulled from the photography page.

View File

@@ -14,12 +14,12 @@ columns:
sections: sections:
drafts: drafts:
extends: sections/notes extends: sections/notes
headline: Drafts label: Drafts
status: draft status: draft
unlisted: unlisted:
extends: sections/notes extends: sections/notes
headline: In Review label: In Review
status: unlisted status: unlisted
- width: 2/3 - width: 2/3
@@ -27,7 +27,7 @@ columns:
sections: sections:
listed: listed:
extends: sections/notes extends: sections/notes
headline: Published label: Published
status: listed status: listed
size: small size: small
layout: cards layout: cards

View File

@@ -9,10 +9,10 @@ icon: 🖼
sections: sections:
drafts: drafts:
extends: sections/albums extends: sections/albums
headline: Drafts label: Drafts
status: draft status: draft
listed: listed:
extends: sections/albums extends: sections/albums
headline: Published Albums label: Published Albums
status: listed status: listed

View File

@@ -3,7 +3,7 @@
# Sections can have different layouts and display additional information or a preview image # Sections can have different layouts and display additional information or a preview image
# More about pages sections: https://getkirby.com/docs/reference/panel/sections/pages # More about pages sections: https://getkirby.com/docs/reference/panel/sections/pages
type: pages type: pages
headline: Photography label: Photography
parent: kirby.page("photography") parent: kirby.page("photography")
size: small size: small
info: "{{ page.images.count }} image(s)" info: "{{ page.images.count }} image(s)"

View File

@@ -3,7 +3,7 @@
# Sections can have different layouts and display additional information or a preview image # Sections can have different layouts and display additional information or a preview image
# More about pages sections: https://getkirby.com/docs/reference/panel/sections/pages # More about pages sections: https://getkirby.com/docs/reference/panel/sections/pages
type: pages type: pages
headline: Notes label: Notes
parent: kirby.page("notes") parent: kirby.page("notes")
info: "{{ page.published }}" info: "{{ page.published }}"
template: note template: note