diff --git a/pages/00.home/home.md b/pages/00.home/home.md index 621f978..0eb2729 100644 --- a/pages/00.home/home.md +++ b/pages/00.home/home.md @@ -1,5 +1,6 @@ --- -title: Home +title: Into the East +subtitle: 'A few moments from past journeys' visible: false routable: true --- diff --git a/themes/intotheeast/blueprints/home.yaml b/themes/intotheeast/blueprints/home.yaml new file mode 100644 index 0000000..786c443 --- /dev/null +++ b/themes/intotheeast/blueprints/home.yaml @@ -0,0 +1,37 @@ +title: Home Page + +form: + validation: loose + fields: + tabs: + type: tabs + active: 1 + fields: + content: + type: tab + title: Content + fields: + title: + type: text + label: Title + + header.subtitle: + type: text + label: Subtitle + placeholder: 'A few moments from past journeys' + help: 'Short line shown below the title in between-trips mode' + + publishing: + type: tab + title: Publishing + fields: + header.visible: + type: toggle + label: Visible in nav + highlight: 1 + default: 0 + options: + 1: 'Yes' + 0: 'No' + validate: + type: bool diff --git a/themes/intotheeast/templates/home.html.twig b/themes/intotheeast/templates/home.html.twig index d8f2c09..342cdd1 100644 --- a/themes/intotheeast/templates/home.html.twig +++ b/themes/intotheeast/templates/home.html.twig @@ -251,8 +251,10 @@ homeMap.on('load', function () {
A few moments from past journeys
+{{ page.header.subtitle }}
+ {% endif %}