first version
This commit is contained in:
37
site/blueprints/files/image.yml
Normal file
37
site/blueprints/files/image.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
title: Image
|
||||
|
||||
columns:
|
||||
- width: 1/2
|
||||
sections:
|
||||
content:
|
||||
type: fields
|
||||
fields:
|
||||
caption:
|
||||
label: Caption
|
||||
type: textarea
|
||||
size: medium
|
||||
- width: 1/2
|
||||
sections:
|
||||
meta:
|
||||
type: fields
|
||||
fields:
|
||||
alt:
|
||||
label: Alternative Text
|
||||
type: text
|
||||
photographer:
|
||||
label: Photogapher
|
||||
type: text
|
||||
width: 2/3
|
||||
license:
|
||||
label: License
|
||||
type: select
|
||||
width: 1/3
|
||||
options:
|
||||
- Unsplash
|
||||
- CC BY 4.0
|
||||
- CC BY-SA 4.0
|
||||
- CC BY-NC 4.0
|
||||
- CC BY-ND 4.0
|
||||
link:
|
||||
label: Link
|
||||
type: url
|
43
site/blueprints/pages/about.yml
Normal file
43
site/blueprints/pages/about.yml
Normal 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
|
32
site/blueprints/pages/album.yml
Normal file
32
site/blueprints/pages/album.yml
Normal 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
|
21
site/blueprints/pages/default.yml
Normal file
21
site/blueprints/pages/default.yml
Normal 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
|
4
site/blueprints/pages/error.yml
Normal file
4
site/blueprints/pages/error.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
title: Error
|
||||
|
||||
options:
|
||||
read: false
|
19
site/blueprints/pages/home.yml
Normal file
19
site/blueprints/pages/home.yml
Normal 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
43
site/blueprints/pages/note.yml
Executable 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
|
21
site/blueprints/pages/notes.yml
Normal file
21
site/blueprints/pages/notes.yml
Normal 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
|
12
site/blueprints/pages/photography.yml
Normal file
12
site/blueprints/pages/photography.yml
Normal 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
|
21
site/blueprints/pages/sandbox.yml
Normal file
21
site/blueprints/pages/sandbox.yml
Normal 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
|
12
site/blueprints/sections/albums.yml
Normal file
12
site/blueprints/sections/albums.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
type: pages
|
||||
headline: Photography
|
||||
parent: site.find("photography")
|
||||
size: tiny
|
||||
info: "{{ page.images.count }} image(s)"
|
||||
layout: cards
|
||||
template: album
|
||||
empty: No albums yet
|
||||
image:
|
||||
query: page.cover
|
||||
cover: true
|
||||
ratio: 5/4
|
7
site/blueprints/sections/notes.yml
Normal file
7
site/blueprints/sections/notes.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
type: pages
|
||||
headline: Notes
|
||||
parent: site.find("notes")
|
||||
info: "{{ page.date.toDate('d.m.Y') }}"
|
||||
template: note
|
||||
empty: No notes yet
|
||||
sortBy: date desc
|
16
site/blueprints/site.yml
Normal file
16
site/blueprints/site.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
title: Site
|
||||
|
||||
columns:
|
||||
- width: 1/2
|
||||
sections:
|
||||
albums: sections/albums
|
||||
- width: 1/2
|
||||
sections:
|
||||
notes: sections/notes
|
||||
pages:
|
||||
type: pages
|
||||
create: default
|
||||
template:
|
||||
- about
|
||||
- home
|
||||
- default
|
35
site/blueprints/users/default.yml
Normal file
35
site/blueprints/users/default.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
title: User
|
||||
|
||||
columns:
|
||||
- width: 1/2
|
||||
fields:
|
||||
street:
|
||||
label: Street
|
||||
type: text
|
||||
zip:
|
||||
label: ZIP
|
||||
type: text
|
||||
width: 1/4
|
||||
city:
|
||||
label: City
|
||||
type: text
|
||||
width: 3/4
|
||||
country:
|
||||
label: Country
|
||||
type: text
|
||||
|
||||
- width: 1/2
|
||||
fields:
|
||||
website:
|
||||
label: Website
|
||||
type: url
|
||||
twitter:
|
||||
label: Twitter
|
||||
type: text
|
||||
icon: twitter
|
||||
placeholder: @username
|
||||
instagram:
|
||||
label: Instagram
|
||||
type: text
|
||||
icon: instagram
|
||||
placeholder: username
|
Reference in New Issue
Block a user