Skip to content

Commit f0c2eb7

Browse files
committed
footer include
1 parent fcf93a0 commit f0c2eb7

3 files changed

Lines changed: 9 additions & 14 deletions

File tree

_includes/footer.njk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<footer>
2+
<p>
3+
&copy; 2024&ndash;2026 Corey Beres.
4+
Built with <a href="https://www.11ty.dev">{{ eleventy.generator }}</a>.
5+
Source available on <a href="https://github.com/cberes/cberes.com">GitHub</a>.
6+
</p>
7+
</footer>

_includes/main.njk

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,7 @@
1515

1616
<body>
1717
{{ content | safe }}
18-
<footer>
19-
<p>
20-
&copy; 2024-2025 Corey Beres.
21-
Built with <a href="https://www.11ty.dev">{{ eleventy.generator }}</a>.
22-
Source available on <a href="https://github.com/cberes/cberes.com">GitHub</a>.
23-
</p>
24-
</footer>
18+
{%- include "footer.njk" -%}
2519
</body>
2620

2721
</html>

_includes/secondary.njk

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,7 @@
2222
<main>
2323
{{ content | safe }}
2424
</main>
25-
<footer>
26-
<p>
27-
&copy; 2024-2025 Corey Beres.
28-
Built with <a href="https://www.11ty.dev">{{ eleventy.generator }}</a>.
29-
Source available on <a href="https://github.com/cberes/cberes.com">GitHub</a>.
30-
</p>
31-
</footer>
25+
{% include "footer.njk" -%}
3226
</body>
3327

3428
</html>

0 commit comments

Comments
 (0)