Skip to content

Instantly share code, notes, and snippets.

@peterboorsma
Created May 15, 2018 08:15
Show Gist options
  • Save peterboorsma/c7c903cd207cb9b913c7c5f5d6f90661 to your computer and use it in GitHub Desktop.
Save peterboorsma/c7c903cd207cb9b913c7c5f5d6f90661 to your computer and use it in GitHub Desktop.
muurgedichten:
name: Muurgedichten
singular_name: Muurgedicht
fields:
slug:
type: slug
uses: title
group: content
locale:
type: locale
title:
type: text
class: large
label: Naam gedicht
translatable: true
author:
type: text
variant: inline
label: Auteur voornaam
authorsurname:
type: text
variant: inline
label: Auteur achternaam
authororigin:
type: text
variant: inline
label: Taal gedicht
translatable: true
poemcolor:
type: select
label: Achtergrondkleur gedicht
values:
'': '-'
block-color-1: 'Groen'
block-color-2: 'Roze'
block-color-3: 'Geel'
block-color-4: 'Blauw'
block-color-6: 'Oranje'
postfix: '<p>Bepaald de kleur van het blok op overzichtspaginas</p>'
description:
#deze is van textarea naar text gezet
type: html
height: 100px
label: Teaser
postfix: "<p>Wordt getoond over de afbeelding heen en in de popup op de Google kaart</p>"
translatable: true
poem:
type: html
height: 150px
label: Gedicht in het Nederlands
translatable: true
poem1minute:
type: html
height: 100px
label: Gedicht in 1 minuut
translatable: true
about3:
type: html
height: 100px
label: Over de auteur
translatable: true
about:
type: html
height: 100px
label: Waar gaat dit gedicht over?
translatable: true
about1:
type: html
height: 100px
label: Ontstaan van dit gedicht
translatable: true
stadsverhalen:
type: html
height: 100px
label: Stadsverhalen
translatable: true
about5:
type: html
height: 100px
label: Ik heb een verhaal bij dit gedicht
translatable: true
imageinleiden:
type: image
label: Icoon voor blok gedicht in leiden
prefix: '<hr><h1>Gedicht in Leiden</h1>'
translatable: true
about2:
type: html
height: 100px
label: Gedicht in Leiden
translatable: true
imagebetekenisgroep:
type: image
label: Icoon voor blok betekenis
prefix: '<hr><h1>Betekenis voor een groep</h1>'
translatable: true
about4:
type: html
height: 100px
label: Betekenis van het gedicht voor een groep
postfix: '<hr>'
translatable: true
quotes:
type: html
height: 100px
label: Citaten
translatable: true
didyouknow:
type: html
height: 100px
label: Wist je dat?
translatable: true
poemoriginal:
type: html
height: 150px
label: Gedicht in de originele taal
poemen:
type: html
height: 150px
label: Gedicht in het Engels
poemde:
type: html
height: 150px
label: Gedicht in het Duits
poemfr:
type: html
height: 150px
label: Gedicht in het Frans
poemit:
type: html
height: 150px
label: Gedicht in het Italiaans
poemes:
type: html
height: 150px
label: Gedicht in het Spaans
moreinfo:
type: html
height: 100px
label: Meer weten?
translatable: true
blocks:
type: repeater
fields:
repeattitle:
type: text
translatable: true
repeatimage:
type: image
label: (1000x1000px transparante PNG)
extensions: [ png ]
attrib: [ alt ]
repeatercolor:
type: select
label: Achtergrondkleur
values:
'': '-'
block-color-1: 'Groen'
block-color-2: 'Roze'
block-color-3: 'Geel'
block-color-4: 'Blauw'
#block-color-5: 'Zwart'
block-color-6: 'Oranje'
repeatcontent:
type: html
translatable: true
group: Tekstblokken (gaan er uit)
geolocation:
type: geolocation
group: GEO
#required: true
#pattern: ".{2,255}" # see: http://html5pattern.com/
image:
type: image
group: media
label: Foto muurgedicht
prefix: '<h1>Afbeeldingen</h1>'
image2:
type: image
label: PNG portret auteur (1000x1000px transparante PNG)
attrib: [ alt ]
extensions: [ png ]
upload: icons
postfix: <p>Portret <b>met</b> tekst</p>
image3:
type: image
label: PNG portret auteur (1000x1000px transparante PNG)
attrib: [ alt ]
extensions: [ png ]
upload: icons
postfix: <p>Portret <b>zonder</b> tekst</p>
video:
type: video
label: Youtube of Vimeo video
prefix: '<hr><h1>Video</h1>'
videotext:
type: html
height: 100px
label: tekst in videoblok
translatable: true
audio:
type: textarea
height: 100px
label: Plak Soundcloud embedcode
prefix: '<hr><h1>Beluister dit gedicht</h1>'
postfix: '<p>Dit zit op de gedichtenpagina onder de knop "Beluister dit gedicht."</p>'
audiotext:
type: html
height: 100px
label: tekst in audioblok
translatable: true
nldata:
type: hidden
nlslug:
type: locale_data
index: true
endata:
type: hidden
enslug:
type: locale_data
index: true
taxonomy: [ onderwerpen ]
record_template: gedicht.twig
listing_template: muurgedichten.twig
listing_records: 150
recordsperpage: 150
default_status: published
sort: -datepublish
icon_many: "fa:file-text-o"
icon_one: "fa:file-text-o"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment