Skip to content

Commit b687578

Browse files
committed
Add back social media links
1 parent 56f43dc commit b687578

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

_includes/display-author.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010

1111
<div class="author-info">
1212
<b class="author-name">
13-
{% if author.links %}
14-
<a href="{{ author.links[0].url }}" aria-label="Access the primary external link of this author">{{
13+
{% if author.social_media_links %}
14+
<a href="{{ author.social_media_links[0].url }}"
15+
aria-label="Access the primary external link of this author">{{
1516
author.name }}</a>
1617
{% else %}
1718
{{ author.name }}
@@ -63,9 +64,9 @@
6364
</div>
6465
{% endunless %}
6566

66-
{% if author.links %}
67+
{% if author.social_media_links %}
6768
<div class="author-links">
68-
{% for link in author.links %}
69+
{% for link in author.social_media_links %}
6970
{% include infer-icon.html link=link %}
7071
{% if icon %}
7172
<a href="{{ link.url }}" class="{{ icon }} author-button"

0 commit comments

Comments
 (0)