Skip to content

Instantly share code, notes, and snippets.

@taylorwood
Created January 5, 2018 17:46
Show Gist options
  • Save taylorwood/c47f0ae86dc29fc0c4cc50eac349267d to your computer and use it in GitHub Desktop.
Save taylorwood/c47f0ae86dc29fc0c4cc50eac349267d to your computer and use it in GitHub Desktop.
Stack Overflow SVG icon for GitHub Pages Jekyll Footer
{% if site.stackoverflow_username %}
<li>
<a href="https://stackoverflow.com/story/{{ site.stackoverflow_username }}">
<span class="icon icon--stackoverflow">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 120 120" style="enable-background:new 0 0 120 120;" xml:space="preserve">
<polygon fill="#828282" points="84.4,93.8 84.4,70.6 92.1,70.6 92.1,101.5 22.6,101.5 22.6,70.6 30.3,70.6 30.3,93.8 "/>
<path fill="#828282" d="M38.8,68.4l37.8,7.9l1.6-7.6l-37.8-7.9L38.8,68.4z M43.8,50.4l35,16.3l3.2-7l-35-16.4L43.8,50.4z M53.5,33.2 l29.7,24.7l4.9-5.9L58.4,27.3L53.5,33.2z M72.7,14.9l-6.2,4.6l23,31l6.2-4.6L72.7,14.9z M38,86h38.6v-7.7H38V86z"/>
</svg>
</span>
<span class="username">{{ site.stackoverflow_username }}</span>
</a>
</li>
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment