Skip to content

Commit

Permalink
Merge pull request MeiK2333#65 from reizist/add-stackoverflow
Browse files Browse the repository at this point in the history
Added stackoverflow link
  • Loading branch information
MeiK2333 authored Mar 12, 2021
2 parents 9701f99 + 16d4c28 commit bc338bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion layouts/partials/user-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ <h2 class="mb-2 h4">Organizations</h2>
</a>
{{ end }}

{{ if .Site.Params.stackoverflow }}
<a class="avatar-group-item" href="https://stackoverflow.com/u/{{ .Site.Params.stackoverflow }}">
<img alt="@stackoverflow" width="32" height="32" src="{{ "images/stackoverflow.png" | absURL }}" class="avatar">
</a>
{{ end }}

{{ if .Site.Params.links }}
{{ range .Site.Params.links }}
{{ if .icon }}
Expand Down Expand Up @@ -169,4 +175,4 @@ <h2 class="mb-2 h4">Organizations</h2>
document.querySelector('#headerStuck').classList.remove('is-stuck');
}
};
</script>
</script>
Binary file added static/images/stackoverflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bc338bc

Please sign in to comment.