Skip to content

Commit df9b583

Browse files
authored
Fix spacing in year variable output
1 parent 2abaa89 commit df9b583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<!-- Create variable containing year of the website -->
2525
{% assign year = page.url | slice: 1, 4 | times: 1 %}
2626

27-
<h1> {%year%}</h1>
27+
<h1> {% year %}</h1>
2828
<!-- Include banner + navigation menu for 2025 and newer websites -->
2929
{% if year >= 2025 %}
3030
{% assign fileName = "headers/" | append: year | append: ".html" %}

0 commit comments

Comments
 (0)