Skip to content

Commit 3469194

Browse files
authored
Merge pull request #1690 from Kobzol/faster-build
Make build of the blog much faster by only fetching section metadata
2 parents 0b6fed1 + 0edf3a5 commit 3469194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% import "footer.html" as footer -%}
55

66
{% if page -%}
7-
{% set section = get_section(path=(page.ancestors | last)) -%}
7+
{% set section = get_section(path=(page.ancestors | last), metadata_only=true) -%}
88
{% set title = page.title ~ " | " ~ section.title -%}
99
{% else -%}
1010
{% set title = section.extra.index_title -%}

0 commit comments

Comments
 (0)