Pages: Set title from page properties url

This commit is contained in:
Pablo Vazquez 2018-09-17 15:02:24 +02:00
parent 00c4ec8741
commit 601b94e23a

View File

@ -1,6 +1,8 @@
| {% extends 'projects/landing.html' %} | {% extends 'projects/landing.html' %}
include ../../../mixins/components include ../../../mixins/components
| {% set title = node.properties.url %}
| {% block body %} | {% block body %}
.expand-image-links.imgs-fluid .expand-image-links.imgs-fluid
| {% if node.picture %} | {% if node.picture %}
@ -14,7 +16,7 @@ include ../../../mixins/components
.container.pb-5 .container.pb-5
.row .row
.col-8.mx-auto .col-8.mx-auto
h2.pt-5.pb-3.text-center {{node.name}} h2.pt-5.pb-3.text-center {{ node.name }}
| {% if node.description %} | {% if node.description %}
.node-details-description .node-details-description