From 0edf3a572ce5af4c492c08b8d3471151fba19edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Sat, 6 Sep 2025 14:53:06 +0200 Subject: [PATCH] Make build of the blog much faster by only fetching section metadata --- templates/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -%}