We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df9b583 commit 57261a4Copy full SHA for 57261a4
_layouts/default.html
@@ -24,9 +24,13 @@
24
<!-- Create variable containing year of the website -->
25
{% assign year = page.url | slice: 1, 4 | times: 1 %}
26
27
- <h1> {% year %}</h1>
28
<!-- Include banner + navigation menu for 2025 and newer websites -->
29
- {% if year >= 2025 %}
+ {% if year == 2025 %}
+ {% assign fileName = "headers/" | append: year | append: ".html" %}
30
+ {% include {{fileName}} %}
31
+ {% endif %}
32
+
33
+ {% if year == 2026 %}
34
{% assign fileName = "headers/" | append: year | append: ".html" %}
35
{% include {{fileName}} %}
36
{% endif %}
0 commit comments