✨ Rewrite for Kirby
This commit is contained in:
parent
07201d05de
commit
f854d60108
116 changed files with 4156 additions and 8875 deletions
37
site/blueprints/pages/article.yml
Normal file
37
site/blueprints/pages/article.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
title: Blog Article
|
||||
|
||||
num: '{{ page.date.toDate("YmdHi") }}'
|
||||
|
||||
create:
|
||||
fields:
|
||||
- date
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
text:
|
||||
type: textarea
|
||||
size: huge
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
meta:
|
||||
type: fields
|
||||
fields:
|
||||
date:
|
||||
type: date
|
||||
label: Published on
|
||||
time: true
|
||||
required: true
|
||||
categories:
|
||||
type: tags
|
||||
labe: Categories
|
||||
tags:
|
||||
type: tags
|
||||
labe: Tags
|
||||
files:
|
||||
type: files
|
21
site/blueprints/pages/blog.yml
Normal file
21
site/blueprints/pages/blog.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
title: Blog Page
|
||||
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
text:
|
||||
type: textarea
|
||||
size: small
|
||||
drafts:
|
||||
extends: sections/articles
|
||||
label: Drafts
|
||||
status: draft
|
||||
unlisted:
|
||||
extends: sections/articles
|
||||
label: In Review
|
||||
status: unlisted
|
||||
listed:
|
||||
extends: sections/articles
|
||||
label: Published
|
||||
status: listed
|
21
site/blueprints/pages/default.yml
Normal file
21
site/blueprints/pages/default.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
title: Default Page
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
text:
|
||||
type: textarea
|
||||
size: huge
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
template: default
|
||||
files:
|
||||
type: files
|
||||
|
46
site/blueprints/pages/home.yml
Normal file
46
site/blueprints/pages/home.yml
Normal file
|
@ -0,0 +1,46 @@
|
|||
title: Home Page
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
subtitle:
|
||||
type: text
|
||||
text:
|
||||
type: textarea
|
||||
size: medium
|
||||
internal_menu:
|
||||
type: structure
|
||||
label: Internal Links
|
||||
fields:
|
||||
title:
|
||||
type: text
|
||||
label: Title
|
||||
link:
|
||||
type: link
|
||||
label: Link
|
||||
options:
|
||||
- page
|
||||
external_menu:
|
||||
type: structure
|
||||
label: External Links
|
||||
fields:
|
||||
title:
|
||||
type: text
|
||||
label: Title
|
||||
link:
|
||||
type: link
|
||||
label: Link
|
||||
options:
|
||||
- url
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
template: default
|
||||
files:
|
||||
type: files
|
29
site/blueprints/pages/quote.yml
Normal file
29
site/blueprints/pages/quote.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
title: Blog Article
|
||||
|
||||
num: '{{ page.date.toDate("YmdHi") }}'
|
||||
|
||||
create:
|
||||
fields:
|
||||
- date
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
text:
|
||||
type: textarea
|
||||
size: medium
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
meta:
|
||||
type: fields
|
||||
fields:
|
||||
date:
|
||||
type: date
|
||||
label: Published on
|
||||
time: true
|
||||
required: true
|
21
site/blueprints/pages/quotes.yml
Normal file
21
site/blueprints/pages/quotes.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
title: Quotes Page
|
||||
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
text:
|
||||
type: textarea
|
||||
size: small
|
||||
quotes:
|
||||
type: pages
|
||||
search: true
|
||||
image: false
|
||||
template: quote
|
||||
sortBy: date desc
|
||||
empty: No quotes yet
|
||||
layout: table
|
||||
columns:
|
||||
date:
|
||||
label: Published on
|
||||
width: 1/6
|
17
site/blueprints/sections/articles.yml
Normal file
17
site/blueprints/sections/articles.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
type: pages
|
||||
search: true
|
||||
image: false
|
||||
template: article
|
||||
sortBy: date desc
|
||||
empty: No articles yet
|
||||
layout: table
|
||||
columns:
|
||||
date:
|
||||
label: Published on
|
||||
width: 1/6
|
||||
categories:
|
||||
label: Categories
|
||||
width: 1/6
|
||||
tags:
|
||||
label: Tags
|
||||
width: 1/6
|
56
site/blueprints/site.yml
Normal file
56
site/blueprints/site.yml
Normal file
|
@ -0,0 +1,56 @@
|
|||
title: Site
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
menu:
|
||||
type: structure
|
||||
fields:
|
||||
title:
|
||||
type: text
|
||||
label: Title
|
||||
link:
|
||||
type: link
|
||||
label: Link
|
||||
options:
|
||||
- page
|
||||
- url
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
articles_draft:
|
||||
extends: sections/articles
|
||||
label: Draft Articles
|
||||
status: draft
|
||||
parent: site.find("blog")
|
||||
layout: list
|
||||
limit: 5
|
||||
articles_review:
|
||||
extends: sections/articles
|
||||
label: In Review Articles
|
||||
status: unlisted
|
||||
parent: site.find("blog")
|
||||
layout: list
|
||||
limit: 5
|
||||
articles_published:
|
||||
extends: sections/articles
|
||||
label: Published Articles
|
||||
status: listed
|
||||
parent: site.find("blog")
|
||||
layout: list
|
||||
limit: 5
|
||||
metadata:
|
||||
type: fields
|
||||
fields:
|
||||
author:
|
||||
type: text
|
||||
description:
|
||||
type: text
|
||||
keywords:
|
||||
type: tags
|
Loading…
Add table
Add a link
Reference in a new issue