Skip to content

Commit 8ecf8af

Browse files
committed
fix: append footer on about page
1 parent 734670c commit 8ecf8af

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

layouts/_default/baseof.html

+3-8
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,7 @@
3333
<div class="container">
3434
{{ block "main" . }} {{ end }}
3535

36-
{{ if site.Params.zenMode }}
37-
<footer class="flex justify-between items-center gap-2 max-w-[65ch] mx-auto px-4 md:px-0 py-12">
38-
{{ else }}
39-
<footer class="flex justify-between items-center gap-2 px-4 py-12">
40-
{{ end }}
41-
{{ partial "footerLeft.html" . }}
42-
{{ partial "footerRight.html" . }}
43-
</footer>
36+
{{ partial "footer.html" . }}
4437
</div>
4538
</div>
4639
<div class="back">
@@ -50,6 +43,8 @@
5043
{{ else }}
5144
{{ partial "back.html" . }}
5245
{{ end }}
46+
47+
{{ partial "footer.html" . }}
5348
</div>
5449
</div>
5550
</div>

layouts/partials/footer.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{{ if site.Params.zenMode }}
2+
<footer class="flex justify-between items-center gap-2 max-w-[65ch] mx-auto px-4 md:px-0 py-12">
3+
{{ else }}
4+
<footer class="flex justify-between items-center gap-2 px-4 py-12">
5+
{{ end }}
6+
{{ partial "footerLeft.html" . }}
7+
{{ partial "footerRight.html" . }}
8+
</footer>

0 commit comments

Comments
 (0)