diff --git a/content/u/projects/hacking-hotel/contents.lr b/content/u/projects/hacking-hotel/contents.lr new file mode 100644 index 0000000..32e017e --- /dev/null +++ b/content/u/projects/hacking-hotel/contents.lr @@ -0,0 +1,6 @@ +_model: page-2020 +--- +title: Hacking Hotel Diesbach +--- +subtitle: A space for creative minds in the heart of Switzerland +--- diff --git a/models/page-2020.ini b/models/page-2020.ini index 88d59f7..0dd3a96 100644 --- a/models/page-2020.ini +++ b/models/page-2020.ini @@ -6,6 +6,10 @@ label = {{ this.title }} label = Title type = string +[fields.subtitle] +label = Subtitle +type = string + [fields.content] label = Content type = markdown diff --git a/templates/summary-page.html b/templates/summary-page.html index f1df195..ba1a069 100644 --- a/templates/summary-page.html +++ b/templates/summary-page.html @@ -5,16 +5,16 @@ {% block content %}
{{ product.subtitle }}
- Check it out +{{ childpage.subtitle }}
+ Check it out