Merge pull request #10 from ethanmad/better-stackoverflow-link

Change stackoverflow param to require user id rather than url
This commit is contained in:
Keichi Takahashi 2015-05-12 21:56:15 +09:00
commit 5b0645d194
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ copyright = "© Copyright notice"
linkedin = "Your LinkedIn username"
googleplus = "Your Google+ user id"
facebook = "Your Facebook username"
stackoverflow = "Your Stackoverflow profile"
stackoverflow = "Your Stackoverflow user id (number)"
# Google Analytics API key.
ga_api_key = "Your Google Analytics tracking id"
# Mixpanel API key.

View File

@ -25,7 +25,7 @@
</a>
{{ end }}
{{ with .Site.Params.stackoverflow }}
<a href="{{ . }}" target="_blank">
<a href="https://stackoverflow.com/users/{{ . }}" target="_blank">
<i class="fa fa-stack-overflow"></i>
</a>
{{ end }}