[SITE] add template, blueprint, css for the blog
This commit is contained in:
parent
64cb550e9f
commit
2f2fa568ef
14 changed files with 466 additions and 9 deletions
16
site/blueprints/blog.yaml
Normal file
16
site/blueprints/blog.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
title: Blog
|
||||
pages:
|
||||
template:
|
||||
- blogarticle
|
||||
num: date
|
||||
sort: flip
|
||||
|
||||
files: true
|
||||
|
||||
fields:
|
||||
title:
|
||||
label: Title
|
||||
type: text
|
||||
text:
|
||||
label: Text
|
||||
type: textarea
|
23
site/blueprints/blogarticle.yaml
Normal file
23
site/blueprints/blogarticle.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
meta-robots:
|
||||
label: Metatag robots
|
||||
type: text
|
Loading…
Add table
Add a link
Reference in a new issue