Skip to content

Commit

Permalink
Drop xmlns from svg tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ashawley committed Jan 14, 2018
1 parent 12b1365 commit 74f7fa5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions _includes/social.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<ul class="social-media-list">
{% if site.dribbble_username %}<li><a href="https://dribbble.com/{{ site.dribbble_username | cgi_escape | escape }}"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#dribbble"></use></svg> <span class="username">{{ site.dribbble_username | escape }}</span></a></li>{% endif %}
{% if site.facebook_username %}<li><a href="https://www.facebook.com/{{ site.facebook_username | cgi_escape | escape }}"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#facebook"></use></svg> <span class="username">{{ site.facebook_username | escape }}</span></a></li>{% endif %}
{% if site.flickr_username %}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username | cgi_escape | escape }}"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#flickr"></use></svg> <span class="username">{{ site.flickr_username | escape }}</span></a></li>{% endif %}
{% if site.github_username %}<li><a href="https://github.com/{{ site.github_username | cgi_escape | escape }}"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#github"></use></svg> <span class="username">{{ site.github_username | escape }}</span></a></li>{% endif %}
{% if site.instagram_username %}<li><a href="https://instagram.com/{{ site.instagram_username | cgi_escape | escape }}"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#instagram"></use></svg> <span class="username">{{ site.instagram_username | escape }}</span></a></li>{% endif %}
{% if site.linkedin_username %}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username | cgi_escape | escape }}"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#linkedin"></use></svg> <span class="username">{{ site.linkedin_username | escape }}</span></a></li>{% endif %}
{% if site.pinterest_username %}<li><a href="https://www.pinterest.com/{{ site.pinterest_username | cgi_escape | escape }}"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#pinterest"></use></svg> <span class="username">{{ site.pinterest_username | escape }}</span></a></li>{% endif %}
{% if site.twitter_username %}<li><a href="https://www.twitter.com/{{ site.twitter_username | cgi_escape | escape }}"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#twitter"></use></svg> <span class="username">{{ site.twitter_username | escape }}</span></a></li>{% endif %}
{% if site.youtube_username %}<li><a href="https://youtube.com/{{ site.youtube_username | cgi_escape | escape }}"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#youtube"></use></svg> <span class="username">{{ site.youtube_username | escape }}</span></a></li>{% endif %}
{% if site.googleplus_username %}<li><a href="https://plus.google.com/{{ site.googleplus_username | escape }}"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#googleplus"></use></svg> <span class="username">{{ site.googleplus_username | escape }}</span></a></li>{% endif %}
{% if site.rss %}<li><a href="{{ site.baseurl }}/feed.xml"><svg class="svg-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="/assets/icons.svg#rss"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{% endif %}
{% if site.dribbble_username %}<li><a href="https://dribbble.com/{{ site.dribbble_username | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#dribbble"></use></svg> <span class="username">{{ site.dribbble_username | escape }}</span></a></li>{% endif %}
{% if site.facebook_username %}<li><a href="https://www.facebook.com/{{ site.facebook_username | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#facebook"></use></svg> <span class="username">{{ site.facebook_username | escape }}</span></a></li>{% endif %}
{% if site.flickr_username %}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#flickr"></use></svg> <span class="username">{{ site.flickr_username | escape }}</span></a></li>{% endif %}
{% if site.github_username %}<li><a href="https://github.com/{{ site.github_username | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#github"></use></svg> <span class="username">{{ site.github_username | escape }}</span></a></li>{% endif %}
{% if site.instagram_username %}<li><a href="https://instagram.com/{{ site.instagram_username | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#instagram"></use></svg> <span class="username">{{ site.instagram_username | escape }}</span></a></li>{% endif %}
{% if site.linkedin_username %}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#linkedin"></use></svg> <span class="username">{{ site.linkedin_username | escape }}</span></a></li>{% endif %}
{% if site.pinterest_username %}<li><a href="https://www.pinterest.com/{{ site.pinterest_username | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#pinterest"></use></svg> <span class="username">{{ site.pinterest_username | escape }}</span></a></li>{% endif %}
{% if site.twitter_username %}<li><a href="https://www.twitter.com/{{ site.twitter_username | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#twitter"></use></svg> <span class="username">{{ site.twitter_username | escape }}</span></a></li>{% endif %}
{% if site.youtube_username %}<li><a href="https://youtube.com/{{ site.youtube_username | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#youtube"></use></svg> <span class="username">{{ site.youtube_username | escape }}</span></a></li>{% endif %}
{% if site.googleplus_username %}<li><a href="https://plus.google.com/{{ site.googleplus_username | escape }}"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#googleplus"></use></svg> <span class="username">{{ site.googleplus_username | escape }}</span></a></li>{% endif %}
{% if site.rss %}<li><a href="{{ site.baseurl }}/feed.xml"><svg class="svg-icon"><use xlink:href="/assets/icons.svg#rss"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{% endif %}
</ul>

0 comments on commit 74f7fa5

Please sign in to comment.