Skip to content

Commit 92a5cc9

Browse files
committed
Author Names Fix on home and posts page
1 parent ebd3898 commit 92a5cc9

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

_data/authors.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,24 @@ DevBae:
5151
- label: "Website"
5252
icon: "fas fa-fw fa-link"
5353
url: "https://devbae.tech"
54+
55+
aroralakshya:
56+
name : "Lakshya Arora"
57+
bio : "Member, DevBae"
58+
avatar : "https://avatars2.githubusercontent.com/u/20344314"
59+
links:
60+
- label: "Email"
61+
icon: "fas fa-envelope-square"
62+
url: "mailto:[email protected]"
63+
- label: "GitHub"
64+
icon: "fab fa-fw fa-github"
65+
url: "https://github.com/aroralakshya"
66+
- label: "Linkedin"
67+
icon: "fab fa-linkedin"
68+
url: "https://www.linkedin.com/in/lakshya-arora-8122b2137/"
69+
- label: "Instagram"
70+
icon: "fab fa-instagram"
71+
url: "https://instagram.com/lakshya_arora__"
5472

5573
the-utkarshjain:
5674
name : "Utkarsh Jain"

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h3 class="post-subtitle">{{ post.excerpt | strip_html | truncatewords: 15 }}</h
6868
{% if site.data.authors[post.author] %}
6969
<a target="_blank" href="https://github.com/{{ post.author }}">{{ site.data.authors[post.author].name }}</a>
7070
{% elsif post.author and post.author_github_id and post.author_github_id != "" %}
71-
<a target="_blank" href="https://github.com/{{ post.author_github_id }}">{{ authors }}</a>{% unless forloop.last %},{% endunless %}
71+
<a target="_blank" href="https://github.com/{{ post.author_github_id }}">{{ authors }}</a>
7272
{% else %}
7373
{{ authors }}
7474
{% endif %}

posts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h3 class="post-subtitle">{{ post.excerpt | strip_html | truncatewords: 15 }}</h
3939
{% if site.data.authors[post.author] %}
4040
<a target="_blank" href="https://github.com/{{ post.author }}">{{ site.data.authors[post.author].name }}</a>
4141
{% elsif post.author and post.author_github_id and post.author_github_id != "" %}
42-
<a target="_blank" href="https://github.com/{{ post.author_github_id }}">{{ authors }}</a>{% unless forloop.last %},{% endunless %}
42+
<a target="_blank" href="https://github.com/{{ post.author_github_id }}">{{ authors }}</a>
4343
{% else %}
4444
{{ authors }}
4545
{% endif %}

0 commit comments

Comments
 (0)