feat: introduce news section with blueprint and template
Added a new `news.yml` blueprint and `news.php` template to create a dedicated news section. Integrated structured content with support for various block types, including FEN and PGN formats. Enhanced layout with author details, publication date, and customizable headlines.
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
title: Block Page
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
content:
|
||||
type: fields
|
||||
fields:
|
||||
blocks:
|
||||
type: blocks
|
||||
pretty: true
|
||||
fieldsets:
|
||||
- heading
|
||||
- text
|
||||
- image
|
||||
- line
|
||||
- gallery
|
||||
- type: fen
|
||||
label: FEN-Diagramm
|
||||
preview: fields
|
||||
wysiwyg: true
|
||||
fields:
|
||||
fen:
|
||||
type: text
|
||||
label: FEN-Position
|
||||
- type: pgn4web
|
||||
label: PGN-Datei
|
||||
preview: fields
|
||||
fields:
|
||||
pgn:
|
||||
label: PGN-Datei
|
||||
type: files
|
||||
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
publishing:
|
||||
type: fields
|
||||
fields:
|
||||
image:
|
||||
label: Titelbild
|
||||
type: files
|
||||
headline:
|
||||
label: Überschrift
|
||||
type: text
|
||||
subheadline:
|
||||
label: Untertitel
|
||||
type: text
|
||||
summary:
|
||||
label: Zusammenfassung
|
||||
type: textarea
|
||||
size: small
|
||||
author:
|
||||
label: Autor
|
||||
type: users
|
||||
default: true
|
||||
date:
|
||||
label: Datum
|
||||
type: date
|
||||
display: DD.MM.YYYY
|
||||
default: today
|
||||
|
||||
Reference in New Issue
Block a user