first version

This commit is contained in:
Bastian Allgeier
2019-01-13 23:17:34 +01:00
commit 01277f79f2
595 changed files with 82913 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
title: About us
icon: ☎️
status:
draft: true
listed: true
options:
url: false
delete: false
columns:
- width: 1/2
fields:
text:
label: Text
type: textarea
size: huge
- width: 1/2
fields:
address:
label: Address
type: textarea
email:
label: Email
type: email
phone:
label: Phone
type: tel
social:
label: On the web
type: structure
fields:
platform:
label: Platform
type: text
width: 1/2
url:
label: URL
type: url
width: 1/2

View File

@@ -0,0 +1,32 @@
title: Album
icon: 🖼
status:
draft: true
listed: true
columns:
- width: 2/3
sections:
images:
type: files
layout: cards
template: image
info: "{{ file.dimensions }}"
image:
ratio: 5/4
cover: true
min: 1
size: small
- width: 1/3
fields:
cover:
type: files
multiple: false
headline:
type: text
description:
type: textarea
tags: true

View File

@@ -0,0 +1,21 @@
title: Simple Page
preset: page
icon: 📝
status:
draft: true
unlisted:
label: Hidden Page
text: The page is not listed in the main menu
listed:
label: Menu Page
text: The page is listed in the main menu
pages:
template: default
fields:
text:
type: textarea
size: huge

View File

@@ -0,0 +1,4 @@
title: Error
options:
read: false

View File

@@ -0,0 +1,19 @@
title: Home
icon: 🏠
options:
status: false
sections:
info:
headline: Info
type: info
text: All content for the homepage is being pulled from the photography page.
photography:
headline: Photography
extends: sections/albums
status: listed

43
site/blueprints/pages/note.yml Executable file
View File

@@ -0,0 +1,43 @@
title: Note
num: date
icon: 📖
status:
draft:
label: Draft
text: The note is still in draft mode. It can only be seen by editors with panel access.
unlisted:
label: In Review
text: The note is online and can be visited with the direct URL. The team must still give the final go to publish it.
listed:
label: Published
text: The note is online and listed in the blog
columns:
- width: 2/3
fields:
text:
type: textarea
size: large
- width: 1/3
sections:
meta:
type: fields
fields:
date:
type: date
time: true
default: now
author:
type: users
tags: true
gallery:
type: pages
query: site.find("photography").children
multiple: false
info: "{{ page.images.count }} image(s)"
empty: "No gallery selected"
image:
cover: true
help: Place the {{ gallery }} tag anywhere in your text to add the selected gallery

View File

@@ -0,0 +1,21 @@
title: Photos
columns:
- width: 1/2
sections:
drafts:
extends: sections/notes
headline: Drafts
status: draft
unlisted:
extends: sections/notes
headline: In Review
status: unlisted
- width: 1/2
sections:
listed:
extends: sections/notes
headline: Published
status: listed

View File

@@ -0,0 +1,12 @@
title: Photos
sections:
drafts:
extends: sections/albums
headline: Drafts
status: draft
listed:
extends: sections/albums
headline: Published Albums
status: listed

View File

@@ -0,0 +1,21 @@
title: Sandbox
preset: page
num: zero
pages:
template: sandbox
fields:
headline:
type: text
test:
type: structure
translate: false
fields:
itemimage:
label: Image
type: files
max: 1
parent: site.find('photography').children.first