From 4facf5b390eeba612ca439f3354c5d2d881aac56 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 19 Jan 2024 05:48:26 +0800 Subject: [PATCH] perf: allow no social links to be configured (#1494) --- _includes/footer.html | 10 ++++++++-- _sass/addon/commons.scss | 4 ++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index a992355..a015f46 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -8,9 +8,15 @@ " >

- {{ '©' }} + {{- '©' }} - {{ site.social.name }}. + + {% if site.social.links %} + {{ site.social.name }}. + {% else %} + {{ site.social.name }}. + {% endif %} + {% if site.data.locales[include.lang].copyright.brief %}