From bf43e20ada290194d29fd145fbae20d087951dca Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sun, 6 Feb 2022 17:31:20 +0800 Subject: [PATCH] links: simplify sa usage --- _config.yml | 28 ++++++++++++++-------------- _includes/author-profile.html | 2 +- _includes/footer.html | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/_config.yml b/_config.yml index afdcdd6..faecc36 100644 --- a/_config.yml +++ b/_config.yml @@ -108,50 +108,50 @@ author: email: links: - label: "Email" - icon: "fa fa-fw fa-envelope-square" + icon: "envelope-square" url: "mailto:xdavidwuph@gmail.com" - label: "PGP" - icon: "fa fa-fw fa-lock" + icon: "lock" url: "/pgp-public-key.txt" - label: "GitLab" - icon: "fa fa-fw fa-gitlab" + icon: "gitlab" url: "https://gitlab.xdavidwu.link/xdavidwu/" - label: "GitHub" - icon: "fa fa-fw fa-github" + icon: "github" url: "https://github.com/xdavidwu/" - label: "Matrix" - icon: "fa fa-fw fa-matrix-org" + icon: "matrix-org" url: "https://matrix.to/#/@xdavidwu:xdavidwu.link" - label: "Pleroma" - icon: "fa fa-fw fa-pleroma" + icon: "pleroma" url: "https://pleroma.xdavidwu.link/xdavidwu" # Site Footer footer: links: - label: "Twitter" - icon: "fa fa-fw fa-twitter-square" + icon: "twitter-square" # url: - label: "Facebook" - icon: "fa fa-fw fa-facebook-square" + icon: "facebook-square" # url: - label: "GitHub" - icon: "fa fa-fw fa-github" + icon: "github" # url: - label: "Source code" - icon: "fa fa-fw fa-gitlab" + icon: "gitlab" url: "https://gitlab.xdavidwu.link/xdavidwu/xdavidwu.xdavidwu.link" - label: "Bitbucket" - icon: "fa fa-fw fa-bitbucket" + icon: "bitbucket" # url: - label: "Instagram" - icon: "fa fa-fw fa-instagram" + icon: "instagram" # url: - label: "Feed" - icon: "fa fa-fw fa-rss-square" + icon: "rss-square" url: "/feed.xml" - label: "Back to top" - icon: "fa fa-fw fa-angle-double-up" + icon: "angle-double-up" url: "#" diff --git a/_includes/author-profile.html b/_includes/author-profile.html index a8356e4..0eb30ad 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -41,7 +41,7 @@ {% if author.links %} {% for link in author.links %} {% if link.label and link.url %} -
  • {{ link.label }}
  • +
  • {{ link.label }}
  • {% endif %} {% endfor %} {% endif %} diff --git a/_includes/footer.html b/_includes/footer.html index 532a17e..ecfee88 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -3,7 +3,7 @@ {% if site.footer.links %} {% for link in site.footer.links %} {% if link.label and link.url %} -
  • {{ link.label }}
  • +
  • {{ link.label }}
  • {% endif %} {% endfor %} {% endif %} -- 2.43.0