init
This commit is contained in:
16
site/blueprints/blocks/audio.yml
Normal file
16
site/blueprints/blocks/audio.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Audio
|
||||
icon: audio
|
||||
wysiwyg: true
|
||||
preview: fields
|
||||
label: false
|
||||
fields:
|
||||
file:
|
||||
label: File
|
||||
type: files
|
||||
min: 1
|
||||
query: page.audio
|
||||
width: 3/4
|
||||
loop:
|
||||
label: Wiederholen
|
||||
type: toggle
|
||||
width: 1/4
|
||||
17
site/blueprints/blocks/embed.yml
Normal file
17
site/blueprints/blocks/embed.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Embed
|
||||
icon: video
|
||||
wysiwyg: true
|
||||
preview: fields
|
||||
label: false
|
||||
fields:
|
||||
embed:
|
||||
label: Embed
|
||||
type: embed
|
||||
text:
|
||||
label: Untertitel
|
||||
type: text
|
||||
width: 3/4
|
||||
loop:
|
||||
label: Wiederholen (loop, nur youtube)
|
||||
type: toggle
|
||||
width: 1/4
|
||||
22
site/blueprints/blocks/image.yml
Normal file
22
site/blueprints/blocks/image.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
name: field.blocks.image.name
|
||||
icon: image
|
||||
preview: image
|
||||
fields:
|
||||
image:
|
||||
label: field.blocks.image.name
|
||||
type: files
|
||||
query: model.images
|
||||
multiple: false
|
||||
image:
|
||||
back: black
|
||||
uploads:
|
||||
template: blocks/image
|
||||
alt:
|
||||
label: field.blocks.image.alt
|
||||
type: text
|
||||
icon: title
|
||||
caption:
|
||||
label: field.blocks.image.caption
|
||||
type: writer
|
||||
icon: text
|
||||
inline: true
|
||||
16
site/blueprints/blocks/image_gallery.yml
Normal file
16
site/blueprints/blocks/image_gallery.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
name: field.blocks.gallery.name
|
||||
icon: dashboard
|
||||
preview: fields
|
||||
fields:
|
||||
images:
|
||||
label: field.blocks.gallery.images.label
|
||||
type: files
|
||||
query: model.images
|
||||
multiple: true
|
||||
layout: list
|
||||
size: tiny
|
||||
empty: field.blocks.gallery.images.empty
|
||||
uploads:
|
||||
template: blocks/image
|
||||
image:
|
||||
ratio: 1/1
|
||||
31
site/blueprints/blocks/texts.yml
Normal file
31
site/blueprints/blocks/texts.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Text
|
||||
icon: text
|
||||
wysiwyg: true
|
||||
preview: fields
|
||||
|
||||
fields:
|
||||
text:
|
||||
type: writer
|
||||
toolbar:
|
||||
inline: false
|
||||
headings:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
marks:
|
||||
- code
|
||||
- '|'
|
||||
- link
|
||||
- email
|
||||
- '|'
|
||||
- clear
|
||||
center_horizontal:
|
||||
label: Horizontal Zentrieren?
|
||||
type: toggle
|
||||
width: 1/2
|
||||
center_vertical:
|
||||
label: Vertikal Zentrieren?
|
||||
type: toggle
|
||||
width: 1/2
|
||||
10
site/blueprints/blocks/twitch.yml
Normal file
10
site/blueprints/blocks/twitch.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
name: Twitch
|
||||
icon: live
|
||||
wysiwyg: true
|
||||
preview: fields
|
||||
label: false
|
||||
fields:
|
||||
channel:
|
||||
label: Channel Name
|
||||
type: text
|
||||
help: Nur der Channel Name, eg der letzte Teil der Url
|
||||
27
site/blueprints/blocks/video.yml
Normal file
27
site/blueprints/blocks/video.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Video
|
||||
icon: video
|
||||
wysiwyg: true
|
||||
preview: fields
|
||||
label: false
|
||||
fields:
|
||||
file:
|
||||
label: Video File
|
||||
type: files
|
||||
query: page.video
|
||||
multiple: false
|
||||
width: 2/4
|
||||
poster:
|
||||
label: Poster Image
|
||||
type: files
|
||||
query: page.images
|
||||
multiple: false
|
||||
width: 1/4
|
||||
loop:
|
||||
label: Wiederholen
|
||||
type: toggle
|
||||
width: 1/4
|
||||
caption:
|
||||
label: field.blocks.image.caption
|
||||
type: writer
|
||||
icon: text
|
||||
inline: true
|
||||
23
site/blueprints/fields/block_settings.yml
Normal file
23
site/blueprints/fields/block_settings.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
fields:
|
||||
background:
|
||||
label: Hintergrund
|
||||
type: color
|
||||
mode: options
|
||||
options:
|
||||
- "#f1edeb"
|
||||
- "#ff00ff"
|
||||
- "#48bd8d"
|
||||
- "#8200ff"
|
||||
- "#ff6700"
|
||||
- "#000000"
|
||||
grid:
|
||||
label: Raster
|
||||
type: color
|
||||
mode: options
|
||||
options:
|
||||
- "#f1edeb"
|
||||
- "#ff00ff"
|
||||
- "#48bd8d"
|
||||
- "#8200ff"
|
||||
- "#ff6700"
|
||||
- "#000000"
|
||||
16
site/blueprints/pages/calendar.yml
Normal file
16
site/blueprints/pages/calendar.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
title: Kalender
|
||||
|
||||
columns:
|
||||
- width: 1/3
|
||||
sections:
|
||||
drafts:
|
||||
extends: sections/calendar
|
||||
label: Drafts
|
||||
status: draft
|
||||
|
||||
- width: 2/3
|
||||
sections:
|
||||
listed:
|
||||
extends: sections/calendar
|
||||
label: Veröffentlich
|
||||
status: listed
|
||||
52
site/blueprints/pages/calendar_entry.yml
Normal file
52
site/blueprints/pages/calendar_entry.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
title: Kalender Eintrag
|
||||
|
||||
icon: calendar
|
||||
|
||||
status:
|
||||
draft: Draft
|
||||
listed: Published
|
||||
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
date:
|
||||
label: Date
|
||||
type: writer
|
||||
toolbar:
|
||||
inline: false
|
||||
headings:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
marks:
|
||||
- code
|
||||
- clear
|
||||
width: 1/3
|
||||
required: true
|
||||
description:
|
||||
label: Beschreibung
|
||||
type: writer
|
||||
toolbar:
|
||||
inline: false
|
||||
headings:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
marks:
|
||||
- code
|
||||
- clear
|
||||
width: 2/3
|
||||
page:
|
||||
label: Projekt
|
||||
type: pages
|
||||
query: site.find('projects')
|
||||
multiple: false
|
||||
required: true
|
||||
|
||||
options:
|
||||
preview: false
|
||||
28
site/blueprints/pages/default.yml
Normal file
28
site/blueprints/pages/default.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
title: Default Page
|
||||
|
||||
status:
|
||||
draft: Draft
|
||||
unlisted: Online
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
layout:
|
||||
label: Layout
|
||||
type: layout
|
||||
layouts:
|
||||
- "1/1"
|
||||
- "1/2, 1/2"
|
||||
fieldsets:
|
||||
- image
|
||||
- image_gallery
|
||||
- embed
|
||||
- audio
|
||||
- twitch
|
||||
- video
|
||||
- texts
|
||||
settings: fields/block_settings
|
||||
49
site/blueprints/pages/project.yml
Normal file
49
site/blueprints/pages/project.yml
Normal file
@@ -0,0 +1,49 @@
|
||||
title: Künstler*innen & Projekte
|
||||
|
||||
tabs:
|
||||
general:
|
||||
label: General
|
||||
columns:
|
||||
- width: 2/3
|
||||
sections:
|
||||
content:
|
||||
type: fields
|
||||
fields:
|
||||
start_date:
|
||||
label: Start Date
|
||||
type: date
|
||||
width: 1/2
|
||||
required: true
|
||||
translate: false
|
||||
end_date:
|
||||
label: End Date
|
||||
type: date
|
||||
width: 1/2
|
||||
translate: false
|
||||
- width: 1/3
|
||||
sections:
|
||||
content_right:
|
||||
type: fields
|
||||
fields:
|
||||
files:
|
||||
label: files
|
||||
type: files
|
||||
|
||||
work:
|
||||
label: Projekt
|
||||
fields:
|
||||
layout:
|
||||
label: Layout
|
||||
type: layout
|
||||
layouts:
|
||||
- "1/1"
|
||||
- "1/2, 1/2"
|
||||
fieldsets:
|
||||
- image
|
||||
- image_gallery
|
||||
- embed
|
||||
- audio
|
||||
- twitch
|
||||
- video
|
||||
- texts
|
||||
settings: fields/block_settings
|
||||
38
site/blueprints/pages/projects.yml
Normal file
38
site/blueprints/pages/projects.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
title: Projects
|
||||
|
||||
columns:
|
||||
- width: 1/3
|
||||
sections:
|
||||
drafts:
|
||||
extends: sections/projects
|
||||
label: Drafts
|
||||
status: draft
|
||||
parent: page
|
||||
|
||||
- width: 2/3
|
||||
sections:
|
||||
listed:
|
||||
extends: sections/projects
|
||||
label: Veröffentlich
|
||||
status: listed
|
||||
parent: page
|
||||
- width: 1
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
layout:
|
||||
label: Layout
|
||||
type: layout
|
||||
layouts:
|
||||
- "1/1"
|
||||
- "1/2, 1/2"
|
||||
fieldsets:
|
||||
- image
|
||||
- image_gallery
|
||||
- embed
|
||||
- audio
|
||||
- twitch
|
||||
- video
|
||||
- texts
|
||||
settings: fields/block_settings
|
||||
5
site/blueprints/sections/calendar.yml
Normal file
5
site/blueprints/sections/calendar.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
type: pages
|
||||
label: Kalender
|
||||
parent: kirby.page("calendar")
|
||||
info: "{{ page.date }}"
|
||||
template: calendar_entry
|
||||
5
site/blueprints/sections/projects.yml
Normal file
5
site/blueprints/sections/projects.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
type: pages
|
||||
label: Künstler*innen & Projekte 2024/25
|
||||
parent: kirby.page("projects")
|
||||
info: "{{ page.start_date.toDate('d.m.') }} — {{ page.end_date.toDate('d.m.y') }}"
|
||||
template: project
|
||||
20
site/blueprints/site.yml
Normal file
20
site/blueprints/site.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
title: Re Capitulating. Queer
|
||||
|
||||
columns:
|
||||
- width: 2/3
|
||||
sections:
|
||||
calendar_entry: sections/calendar
|
||||
projects: sections/projects
|
||||
- width: 1/3
|
||||
sections:
|
||||
menus:
|
||||
type: fields
|
||||
fields:
|
||||
menuItems:
|
||||
type: pages
|
||||
label: Menu item
|
||||
pages:
|
||||
type: pages
|
||||
templates:
|
||||
- default
|
||||
- home
|
||||
Reference in New Issue
Block a user