From 41b8f9f519e5f5f69e9a123b38b06bade2271a82 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Thu, 7 Sep 2023 01:58:03 +0800 Subject: [PATCH] feat(layout): center the footer --- _includes/footer.html | 57 ++++++++++----------- _includes/related-posts.html | 2 +- _layouts/default.html | 2 - _layouts/home.html | 2 +- _layouts/page.html | 32 ++++++------ _sass/addon/commons.scss | 97 +++++++----------------------------- _sass/addon/syntax.scss | 2 +- _sass/addon/variables.scss | 17 ++++--- _sass/layout/home.scss | 7 --- 9 files changed, 77 insertions(+), 141 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index 3b36c4a..25ea771 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,34 +1,35 @@ - diff --git a/_includes/related-posts.html b/_includes/related-posts.html index e1876be..18069c3 100644 --- a/_includes/related-posts.html +++ b/_includes/related-posts.html @@ -70,7 +70,7 @@ {% if relate_posts.size > 0 %} - {% include_cached footer.html lang=lang %} -