diff options
author | Mark Pitman <mark.pitman@gmail.com> | 2017-11-25 12:49:01 +0300 |
---|---|---|
committer | Mark Pitman <mark.pitman@gmail.com> | 2017-11-25 12:49:01 +0300 |
commit | 9be36576d290885477f926753114d2f588cad62c (patch) | |
tree | 5b27904451a38b1feed7a6302398843a0c46af2c | |
parent | baeb0efb311dd8e8909dfdaf80c8ee918132e4c1 (diff) |
Ability to add Hacker News profile
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | layouts/partials/link.html | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -47,6 +47,7 @@ copyright = "© Copyright notice" googleplus = "Your Google+ user id" facebook = "Your Facebook username" reddit = "Your Reddit username" + hackernews = "Your Hacker News username" stackoverflow = "Your Stackoverflow user id (number)" keybase = "Your keybase.io username" instagram = "Your Instagram username" diff --git a/layouts/partials/link.html b/layouts/partials/link.html index f8ec065..c8b685c 100644 --- a/layouts/partials/link.html +++ b/layouts/partials/link.html @@ -39,6 +39,11 @@ <i class="fa fa-reddit-alien"></i> </a> {{ end }} + {{ with .Site.Params.hackernews }} + <a href="https://news.ycombinator.com/user?id={{ . }}" target="_blank"> + <i class="fa fa-hacker-news"></i> + </a> + {{ end }} {{ with .Site.Params.stackoverflow }} <a href="https://stackoverflow.com/users/{{ . }}" target="_blank"> <i class="fa fa-stack-overflow"></i> |