From b1943ede2f66c07a24c33033b2e3d9aa6695982c Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 30 Dec 2020 13:41:03 -0800 Subject: [PATCH] Add internship footer to posts (sorry) --- themes/vanilla/assets/scss/style.scss | 9 +++++++++ themes/vanilla/layouts/_default/baseof.html | 2 +- themes/vanilla/layouts/blog/single.html | 10 ++++++++++ themes/vanilla/layouts/partials/footer.html | 0 4 files changed, 20 insertions(+), 1 deletion(-) delete mode 100644 themes/vanilla/layouts/partials/footer.html diff --git a/themes/vanilla/assets/scss/style.scss b/themes/vanilla/assets/scss/style.scss index 0956cb5..50aa88f 100755 --- a/themes/vanilla/assets/scss/style.scss +++ b/themes/vanilla/assets/scss/style.scss @@ -170,6 +170,15 @@ hr.header-divider { border-radius: 0.15rem; } +hr.footer-divider { + margin: auto; + margin-top: 1.5rem; + margin-bottom: 1.5rem; + max-width: $container-width; + border: none; + border-bottom: $standard-border; +} + ul.post-list { list-style: none; padding: 0; diff --git a/themes/vanilla/layouts/_default/baseof.html b/themes/vanilla/layouts/_default/baseof.html index e889cf2..7d844c0 100644 --- a/themes/vanilla/layouts/_default/baseof.html +++ b/themes/vanilla/layouts/_default/baseof.html @@ -7,6 +7,6 @@
{{- block "main" . }}{{- end }}
- {{- partial "footer.html" . -}} + {{- block "after" . }}{{- end }} diff --git a/themes/vanilla/layouts/blog/single.html b/themes/vanilla/layouts/blog/single.html index 185715f..6e70518 100644 --- a/themes/vanilla/layouts/blog/single.html +++ b/themes/vanilla/layouts/blog/single.html @@ -30,3 +30,13 @@ {{ .Content }} {{ end }} +{{ define "after" }} + + +{{ end }} diff --git a/themes/vanilla/layouts/partials/footer.html b/themes/vanilla/layouts/partials/footer.html deleted file mode 100644 index e69de29..0000000