File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed
Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1+ # # Template › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/advanced-usage.md#setting-author-url
2+ # -------------------------------------
3+ # {author_id}:
4+ # name: {full name}
5+ # twitter: {twitter_of_author}
6+ # url: {homepage_of_author}
7+ # -------------------------------------
8+
9+ cotes :
10+ name : Cotes Chung
11+ twitter : cotes2020
12+ url : https://github.com/cotes2020/
13+
14+ sille_bille :
15+ name : Dinesh Prasanth Moluguwan Krishnamoorthy
16+ twitter : dinesh_MKD
17+ url : https://github.com/SilleBille/
Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ <h1 data-toc-skip>{{ page.title }}</h1>
3737
3838 <!-- author -->
3939 < div >
40- {% capture author_name %}{{ page.author.name | default: site.social.name }}{% endcapture %}
40+ {% capture author_name %}{{ site.data.authors[ page.author] .name | default: site.social.name }}{% endcapture %}
4141 {% assign author_link = nil %}
4242
43- {% if page.author.link %}
44- {% assign author_link = page.author.link %}
43+ {% if page.author %}
44+ {% assign author_link = site.data.authors[ page.author].url %}
4545 {% elsif author_name == site.social.name %}
4646 {% assign author_link = site.social.links[0] %}
4747 {% endif %}
You can’t perform that action at this time.
0 commit comments