Skip to content

Commit 803166b

Browse files
Fixing YouTube URL generation in author-profile.html
YouTube does not use /user/username at the moment. If a person has a YouTube handle, the URL is: www.youtube.com/@HANDLE The fix is very minimal but I needed it for my website so I've also added it here.
1 parent 6d5d9a7 commit 803166b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/author-profile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h3 class="author__name">{{ author.name }}</h3>
148148
<li><a href="https://www.xing.com/profile/{{ author.xing }}"><i class="fab fa-fw fa-xing icon-pad-right" aria-hidden="true"></i>XING</a></li>
149149
{% endif %}
150150
{% if author.youtube %}
151-
<li><a href="https://www.youtube.com/user/{{ author.youtube }}"><i class="fab fa-fw fa-youtube icon-pad-right" aria-hidden="true"></i>YouTube</a></li>
151+
<li><a href="https://www.youtube.com/@{{ author.youtube }}"><i class="fab fa-fw fa-youtube icon-pad-right" aria-hidden="true"></i>YouTube</a></li>
152152
{% endif %}
153153
{% if author.zhihu %}
154154
<li><a href="{{ author.zhihu }}"><i class="fab fa-fw fa-zhihu icon-pad-right" aria-hidden="true"></i>Zhihu</a></li>

0 commit comments

Comments
 (0)