File tree 3 files changed +28
-25
lines changed
3 files changed +28
-25
lines changed Original file line number Diff line number Diff line change @@ -179,18 +179,20 @@ <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
179
179
</ li >
180
180
{% endif %}
181
181
182
- {% if author.youtube contains "://" %}
183
- < li >
184
- < a href ="{{ author.youtube }} " itemprop ="sameAs ">
185
- < i class ="fa fa-fw fa-youtube-square " aria-hidden ="true "> </ i > YouTube
186
- </ a >
187
- </ li >
188
- {% else %}
189
- < li >
190
- < a href ="https://www.youtube.com/user/{{ author.youtube }} " itemprop ="sameAs ">
191
- < i class ="fa fa-fw fa-youtube-square " aria-hidden ="true "> </ i > YouTube
192
- </ a >
193
- </ li >
182
+ {% if author.youtube %}
183
+ {% if author.youtube contains "://" %}
184
+ < li >
185
+ < a href ="{{ author.youtube }} " itemprop ="sameAs ">
186
+ < i class ="fa fa-fw fa-youtube-square " aria-hidden ="true "> </ i > YouTube
187
+ </ a >
188
+ </ li >
189
+ {% else author.youtube %}
190
+ < li >
191
+ < a href ="https://www.youtube.com/user/{{ author.youtube }} " itemprop ="sameAs ">
192
+ < i class ="fa fa-fw fa-youtube-square " aria-hidden ="true "> </ i > YouTube
193
+ </ a >
194
+ </ li >
195
+ {% endif %}
194
196
{% endif %}
195
197
196
198
{% if author.soundcloud %}
Original file line number Diff line number Diff line change @@ -179,18 +179,20 @@ <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
179
179
</ li >
180
180
{% endif %}
181
181
182
- {% if author.youtube contains "://" %}
183
- < li >
184
- < a href ="{{ author.youtube }} " itemprop ="sameAs ">
185
- < i class ="fa fa-fw fa-youtube-square " aria-hidden ="true "> </ i > YouTube
186
- </ a >
187
- </ li >
188
- {% else %}
189
- < li >
190
- < a href ="https://www.youtube.com/user/{{ author.youtube }} " itemprop ="sameAs ">
191
- < i class ="fa fa-fw fa-youtube-square " aria-hidden ="true "> </ i > YouTube
192
- </ a >
193
- </ li >
182
+ {% if author.youtube %}
183
+ {% if author.youtube contains "://" %}
184
+ < li >
185
+ < a href ="{{ author.youtube }} " itemprop ="sameAs ">
186
+ < i class ="fa fa-fw fa-youtube-square " aria-hidden ="true "> </ i > YouTube
187
+ </ a >
188
+ </ li >
189
+ {% else author.youtube %}
190
+ < li >
191
+ < a href ="https://www.youtube.com/user/{{ author.youtube }} " itemprop ="sameAs ">
192
+ < i class ="fa fa-fw fa-youtube-square " aria-hidden ="true "> </ i > YouTube
193
+ </ a >
194
+ </ li >
195
+ {% endif %}
194
196
{% endif %}
195
197
196
198
{% if author.soundcloud %}
Original file line number Diff line number Diff line change @@ -109,7 +109,6 @@ author:
109
109
youtube : # "https://youtube.com/c/MichaelRoseDesign"
110
110
111
111
112
-
113
112
# Reading Files
114
113
include :
115
114
- .htaccess
You can’t perform that action at this time.
0 commit comments