~xdavidwu/xdavidwu.link

bf43e20ada290194d29fd145fbae20d087951dca — xdavidwu 2 years ago 08ac020
links: simplify sa usage
3 files changed, 16 insertions(+), 16 deletions(-)

M _config.yml
M _includes/author-profile.html
M _includes/footer.html
M _config.yml => _config.yml +14 -14
@@ 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: "#"



M _includes/author-profile.html => _includes/author-profile.html +1 -1
@@ 41,7 41,7 @@
      {% if author.links %}
        {% for link in author.links %}
          {% if link.label and link.url %}
            <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fa fa-fw fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
            <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="fa fa-fw fa-{{ link.icon | default: 'link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
          {% endif %}
        {% endfor %}
      {% endif %}

M _includes/footer.html => _includes/footer.html +1 -1
@@ 3,7 3,7 @@
    {% if site.footer.links %}
      {% for link in site.footer.links %}
        {% if link.label and link.url %}
          <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fa fa-fw fa-link' }}" aria-hidden="true"></i>{{ link.label }}</a></li>
          <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="fa fa-fw fa-{{ link.icon | default: 'link' }}" aria-hidden="true"></i>{{ link.label }}</a></li>
        {% endif %}
      {% endfor %}
    {% endif %}