Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Fastbyte01/KeepIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Pignataro <rogepix@gmail.com>2019-03-14 18:07:08 +0300
committerGiuseppe Pignataro <rogepix@gmail.com>2019-03-14 18:07:08 +0300
commitcca4ddbcd68008d70770fc09f3ad8a27894520ec (patch)
tree105e772151e41ba2251f3331f6ae724a8403f1c2
parent3ccdf58823cfc2388322d43ecb69c94ab4dd93d3 (diff)
Added hacker news share options
Now is possible to share the post on Hacker News
-rw-r--r--layouts/partials/share-links.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/share-links.html b/layouts/partials/share-links.html
index 157d3f0..5ec0518 100644
--- a/layouts/partials/share-links.html
+++ b/layouts/partials/share-links.html
@@ -21,10 +21,12 @@
<a href="//www.pinterest.com/pin/create/button/?url={{ .Permalink }}&amp;description={{ .Title }}" target="_blank" title="Share on Pinterest">
<i class="iconfont icon-pinterest"></i>
</a>
+ <!-- Hacker News -->
+ <a href="//news.ycombinator.com/submitlink?u={{ .Permalink }}&amp;description={{ .Title }}" target="_blank" title="Share on Hacker News">
+ <i class="iconfont icon-ycombinator"></i>
+ </a>
<!-- Mix -->
<a href="//mix.com/add?url={{ .Permalink }}&amp;description={{ .Title }}" target="_blank" title="Share on Mix">
<i class="iconfont icon-mix"></i>
</a>
{{ end }}
-
- <URL></URL> \ No newline at end of file