Skip to content

Commit ab3a70f

Browse files
committed
Fix links for author profile
1 parent b687578 commit ab3a70f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

_includes/author-profile.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
<div class="author__content">
2222

2323
<h3 class="author-name">
24-
{% if author.links %}
25-
<a href="{{ author.links[0].url }}" aria-label="Access the primary external link of this author">{{
24+
{% if author.social_media_links %}
25+
<a href="{{ author.social_media_links[0].url }}"
26+
aria-label="Access the primary external link of this author">{{
2627
author.name }}</a>
2728
{% else %}
2829
{{ author.name }}
@@ -47,9 +48,9 @@ <h3 class="author-name">
4748

4849
<ul class="author__urls">
4950

50-
{% if author.links %}
51+
{% if author.social_media_links %}
5152

52-
{% for link in author.links %}
53+
{% for link in author.social_media_links %}
5354
{% include infer-icon.html link=link %}
5455
{% if icon %}
5556
<li>

0 commit comments

Comments
 (0)