mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 07:46:30 -05:00
Added share links to bottom of posts
This commit is contained in:
parent
fb42d6b950
commit
a79dd85e2a
2 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
{{ partial "sharepost.html" . }}
|
||||||
<a href='mailto:{{ .Site.Params.email }}?subject=Re: "{{ .Title }}"' class="reply-button">Reply via Email</a>
|
<a href='mailto:{{ .Site.Params.email }}?subject=Re: "{{ .Title }}"' class="reply-button">Reply via Email</a>
|
||||||
|
|
||||||
{{ partial "webmentions.html" . }}
|
{{ partial "webmentions.html" . }}
|
||||||
|
|
1
layouts/partials/sharepost.html
Normal file
1
layouts/partials/sharepost.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<div style="margin-bottom: 1rem;">Was this useful? Feel free to share: <a href="https://news.ycombinator.com/submitlink?u={{ .Permalink }}&t={{ .Title }}">Hacker News</a> <a href="https://www.reddit.com/%73%75%62%6d%69%74?url={{ .Permalink }}&title={{ .Title }}">Reddit</a></div>
|
Loading…
Reference in a new issue