blogheader ok, date formatting

This commit is contained in:
2022-12-28 12:18:42 +02:00
parent 0c2475de16
commit d375bad897
13 changed files with 73 additions and 8 deletions

View File

@ -98,8 +98,15 @@
:values:
:default:
:id: 18
- :name: published
- :name: published_date
:description: Date when the blog is published
:type: date
:values:
:default:
:id: 19
- :name: date_precision
:description: Either the axact day, or something like in the middle
of October, or the end of December
:values: precise rough
:default: precise
:id: 20

View File

@ -6,6 +6,7 @@
- meta
- type: blog
description: An news or similar article.
section_template: section_half_image
section_template: blog_header
options:
- published
- published_date
- date_precision

View File

@ -91,3 +91,15 @@
- handler
- background
- color
- template: blog_header
header: Start of blog, with image left or right
text: Image on one side, header and text on the other.
Order depends on order option. Date is subheader.
Extra text possible under both text and picture, as markdown.
fields:
- header
- text
options:
- order
- background
- color