{# Some common data #} {%if page.path or section.path %} {% set title = page.title | default(value=section.title) %} {% set path = page.path | default(value=section.path) %} {% set content = page.content | default(value=section.content) %} {% set extra = page.extra | default(value=section.extra) %} {% set is_blog_post = path != "/blog/" and path is starting_with("/blog/") %} {% set is_photo_page = path != "/photography/" and path is starting_with("/photography/") %} {% else %} {# If here, we are on the 404 page #} {% set title = "NOT FOUND" %} {% set path = "/404" %} {% set extra = [] %} {% set is_blog_post = false %} {% set is_photo_page = false %} {% endif %}
{% block head %}