1
0
Fork 0

Upgrade to Kirby 3

This commit is contained in:
Jannik Beyerstedt 2021-01-24 18:05:39 +01:00
parent 80004a968c
commit 03ab30b8c1
64 changed files with 524 additions and 683 deletions

View file

@ -1,16 +0,0 @@
title: Blog
pages:
template:
- blogarticle
num: date
sort: flip
files: false
fields:
title:
label: Title
type: text
text:
label: Text
type: textarea

View file

@ -1,29 +0,0 @@
title: Blog Article
pages: false
files: true
fields:
title:
label: Title
type: text
date:
label: Date
type: date
width: 1/4
tags:
label: Tags
type: tags
width: 3/4
text:
label: Text
type: textarea
en_masonry:
text: enable masonry
type: checkbox
text2:
label: Text below masonry
type: textarea
meta-robots:
label: Metatag robots
type: text

View file

@ -1,47 +0,0 @@
<?php if(!defined('KIRBY')) exit ?>
# carousel pseudo-site blueprint
title: Foto-Diashow
pages: false
preview: parent
files:
sortable: true
fields:
title:
label: Titel (z.Zt. nicht benutzt)
type: text
heading:
label: Bildüberschrift
type: text
caption:
label: Bildtext
type: textarea
header1: h3
header2: h4
options:
preview: true
status: false
template: false
url: false
delete: true
fields:
info:
label: HINWEIS
type: info
text: >
Auf dieser "Seite" werden die Bilder abgelegt, die in der großen Bildergalerie oben auf der Seite dargestellt werden sollen.
Dabei sind ein paar Dinge zu beachten:<br>
- Alle Bilder müssen dasselbe Seitenverhältnis haben, wenigstens jedoch im **Querformat** vorliegen.<br>
- Diese Seite muss die unter der URL "carousel" abgelegt sein.<br>
- Wenn die Bildergalerie leer bleiben soll, muss diese Seite nicht gelöscht werden, sondern kann auch einfach keine Bilder enthalten.<br>
- Die Reihenfolge der Bilder kann unter "Dateien -> bearbeiten" angepasst werden.<br>
- Um ein Bild mit einer Bildüberschrift zu versehen, einfach die Datei auswählen und die entsprechenden Felder bearbeiten. Speichern nicht vergessen.<br>
- HINWEIS: Bei sehr großen Bildern kann es vorkommen, dass keine Vorschau angezeigt wird.
title:
label:
en: Title (has no fuction)
de: Seitenüberschrift (hat keine Funktion)
type: text

View file

@ -1,12 +0,0 @@
title: default Page
pages: true
files: true
fields:
title:
label: Title
type: text
text:
label: Text
type: textarea

View file

@ -0,0 +1,14 @@
Title: File
fields:
alt:
label: Alt Text
type: text
heading:
label: Bildüberschrift
type: text
caption:
label: Bildtext
type: textarea
header1: h3
header2: h4

View file

@ -1,18 +0,0 @@
title: Home
pages: true
files: true
fields:
title:
label: Title
type: text
hero_text:
label: main text
type: textarea
subtitle:
label: subtitle
type: text
text:
label: text
type: textarea

View file

@ -0,0 +1,32 @@
title: Blog
columns:
main:
width: 2/3
sections:
content:
type: fields
fields:
text:
label: Text
type: textarea
sidebar:
width: 1/3
sections:
drafts:
headline: Drafts
type: pages
status: draft
create:
- blogarticle
published:
headline: Published Articles
type: pages
status: listed
sortBy: date desc
files: false

View file

@ -0,0 +1,39 @@
title: Blog Article
num: '{{ page.date.toDate("Ymd") }}'
columns:
main:
width: 2/3
sections:
content:
type: fields
fields:
date:
label: Date
type: date
width: 1/4
tags:
label: Tags
type: tags
width: 3/4
text:
label: Text
type: textarea
en_masonry:
label: Masonry
type: toggle
text: enable
text2:
label: Text below masonry
type: textarea
meta-robots:
label: Metatag robots
type: text
sidebar:
width: 1/3
sections:
files: true

View file

@ -0,0 +1,21 @@
title: default Page
columns:
main:
width: 2/3
sections:
content:
type: fields
fields:
text:
label: Text
type: textarea
sidebar:
width: 1/3
sections:
pages: true
files: true

View file

@ -0,0 +1,28 @@
title: Home
columns:
main:
width: 2/3
sections:
content:
type: fields
fields:
hero_text:
label: main text
type: textarea
subtitle:
label: subtitle
type: text
text:
label: text
type: textarea
sidebar:
width: 1/3
sections:
pages: true
files: true

View file

@ -0,0 +1,44 @@
title: Photo
tabs:
content:
label: Content
icon: text
columns:
main:
width: 2/3
sections:
content:
type: fields
fields:
text:
label: Text
type: textarea
text2:
label: Text below masonry
type: textarea
sidebar:
width: 1/3
sections:
carousel:
type: fields
fields:
carousel:
label: Carousel
type: files
query: page.images
max: 10
masonry:
label: Images
icon: image
sections:
gallery:
headline: Masonry
type: files
layout: cards
limit: 50
sortable: false

View file

@ -0,0 +1,37 @@
title: Project
columns:
main:
width: 2/3
sections:
content:
type: fields
fields:
exrpt_img:
label: Excerpt image
type: files
multiple: false
width: 1/2
exrpt_text:
label: Excerpt for overview
type: textarea
width: 1/2
text:
label: Text
type: textarea
en_masonry:
label: Masonry
type: toggle
text: enable
text2:
label: Text below masonry
type: textarea
sidebar:
width: 1/3
sections:
pages: false
files: true

View file

@ -0,0 +1,23 @@
title: Projects
columns:
main:
width: 2/3
sections:
content:
type: fields
fields:
text:
label: Text
type: textarea
sidebar:
width: 1/3
sections:
pages:
type: pages
create: project
files: true

View file

@ -0,0 +1,29 @@
title: redirect
columns:
main:
width: 2/3
sections:
content:
type: fields
fields:
target:
label: Target
type: pages
multiple: false
red_type:
label: Redirect Type
type: radio
default: temporarly
options:
temp: temporarly (302)
perm: permanent (301)
sidebar:
width: 1/3
sections:
pages: true
files: true

View file

@ -0,0 +1,33 @@
title: Webdesign
columns:
main:
width: 2/3
sections:
content:
type: fields
fields:
featurette_headline:
label: Featurette Headline
type: text
featurette_text:
label: Featurette Text
type: textarea
width: 1/2
featurette_img:
label: Featurette Image
type: files
multiple: false
width: 1/2
text:
label: Text
type: textarea
sidebar:
width: 1/3
sections:
pages: true
files: true

View file

@ -0,0 +1 @@
../../../modules/kirby-template-sitemap/blueprints/xmlsitemap.yml

View file

@ -1,22 +0,0 @@
title: Photo
pages:
build:
- title: carousel
uid: carousel
template: carousel
template:
- photo
- carousel
files: true
fields:
title:
label: Title
type: text
text:
label: Text
type: textarea
text2:
label: Text below masonry
type: textarea

View file

@ -1,28 +0,0 @@
title: Project
pages:
template:
- project
files: true
fields:
title:
label: Title
type: text
exrpt_img:
label: Excerpt image
type: image
width: 1/2
exrpt_text:
label: Excerpt for overview
type: textarea
width: 1/2
text:
label: Text
type: textarea
en_masonry:
type: checkbox
text: Enable masonry
text2:
label: Text below masonry
type: textarea

View file

@ -1,14 +0,0 @@
title: Projects
pages:
template:
- project
files: true
fields:
title:
label: Title
type: text
text:
label: Text
type: textarea

View file

@ -1,19 +0,0 @@
title: redirect
pages: true
files: false
fields:
title:
label: Title (not used)
type: text
target:
label: Target
type: page
red_type:
label: Redirect Type
type: radio
default: temporarly
options:
temp: temporarly (302)
perm: permanent (301)

View file

@ -1,53 +1,61 @@
Title: Site
pages:
template:
- default
- redirect
columns:
main:
width: 2/3
sections:
fields:
title:
label:
en: Title (shown in browser tab)
de: Titel der Website (im Browser Tab)
type: text
content:
type: fields
fields:
author:
label:
en: Author (for meta data)
de: Autor (für Metadaten)
type: text
description:
label:
en: Description (short text at Google search result)
de: Beschreibung (kurzer Text beim Google-Suchergebnis)
type: textarea
validate:
maxLength: 160
author:
label:
en: Author (for meta data)
de: Autor (für Metadaten)
type: text
description:
label:
en: Description (short text at Google search result)
de: Beschreibung (kurzer Text beim Google-Suchergebnis)
type: textarea
validate:
maxLength: 160
title_image:
label:
en: Header image / logo (drag and drop)
de: Logo für Kopf der Seite (drag and drop)
type: files
multiple: false
title_image:
label:
en: header image / logo (drag and drop)
de: Logo für Kopf der Seite (drag and drop)
type: image
line:
type: line
line:
type: line
footer_left:
label:
en: Footer left
de: Footer links
type: textarea
width: 1/3
footer_center:
label:
en: Footer center
de: Footer Mitte
type: textarea
width: 1/3
footer_right:
label:
en: Footer right
de: Footer rechts
type: textarea
width: 1/3
footer_left:
label:
en: footer left
de: Footer links
type: textarea
width: 1/3
footer_center:
label:
en: footer center
de: Footer Mitte
type: textarea
width: 1/3
footer_right:
label:
en: footer right
de: Footer rechts
type: textarea
sidebar:
width: 1/3
sections:
pages:
type: pages
create:
- default
- redirect
files: true

View file

@ -1,23 +0,0 @@
title: Webdesign
pages: true
files: true
fields:
title:
label: Title
type: text
featurette_headline:
label: Featurette Headline
type: text
featurette_text:
label: Featurette Text
type: textarea
width: 1/2
featurette_img:
label: Featurette Image
type: image
width: 1/2
text:
label: Text
type: textarea

View file

@ -1 +0,0 @@
../../modules/kirby-template-sitemap/blueprints/xmlsitemap.php