diff --git a/templates/layout.html b/templates/layout.html
index 33c9f53c4..cf058fb71 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -4,7 +4,7 @@
{% import "footer.html" as footer -%}
{% if page -%}
- {% set section = get_section(path=(page.ancestors | last)) -%}
+ {% set section = get_section(path=(page.ancestors | last), metadata_only=true) -%}
{% set title = page.title ~ " | " ~ section.title -%}
{% else -%}
{% set title = section.extra.index_title -%}