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