From 8f9e26b0dbd7c255b6287bc111ba15a5a15f3969 Mon Sep 17 00:00:00 2001 From: thisLight Date: Sun, 27 Dec 2020 23:19:30 +0800 Subject: [PATCH] update theme --- themes/cmd/_config.yml | 2 ++ themes/cmd/layout/includes/layout.swig | 3 +++ 2 files changed, 5 insertions(+) diff --git a/themes/cmd/_config.yml b/themes/cmd/_config.yml index 50fde4e..efa5aed 100644 --- a/themes/cmd/_config.yml +++ b/themes/cmd/_config.yml @@ -28,6 +28,8 @@ theme_self_claim: true about_this_blog: 这里是Rubicon's Rubicon。我在无界之点的偏安之地。 +my_mastodon: "https://mastodon.social/@thislight" + footer_links: GitHub: "https://github.com/thislight" GitLab: "https://gitlab.com/thislight" diff --git a/themes/cmd/layout/includes/layout.swig b/themes/cmd/layout/includes/layout.swig index 6cb4d3a..d66ad6e 100644 --- a/themes/cmd/layout/includes/layout.swig +++ b/themes/cmd/layout/includes/layout.swig @@ -80,6 +80,9 @@ {% for name in Object.keys(theme.footer_links) %}
  • {{name}}
  • {% endfor %} + {% if theme.my_mastodon %} +
  • My Mastodon
  • + {% endif %} {% endif %}