first version
This commit is contained in:
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
|
Reference in New Issue
Block a user