use new theme
This commit is contained in:
parent
05bc58562c
commit
ec1341fcd1
261 changed files with 23060 additions and 17 deletions
55
themes/beautifulhugo/layouts/partials/share-links.html
Normal file
55
themes/beautifulhugo/layouts/partials/share-links.html
Normal file
|
@ -0,0 +1,55 @@
|
|||
{{ if or .Params.socialShare (and .Site.Params.socialShare (ne .Params.socialShare false)) }}
|
||||
<!-- Social Share Button HTML -->
|
||||
<div class="share-box" aria-hidden="true">
|
||||
<ul class="share">
|
||||
<!-- Twitter -->
|
||||
<li>
|
||||
<a href="//twitter.com/share?url={{ .Permalink }}&text={{ .Title }}&via={{ .Site.Author.twitter }}" target="_blank" title="Share on Twitter">
|
||||
<i class="fab fa-twitter"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Google Plus -->
|
||||
<li>
|
||||
<a href="//plus.google.com/share?url={{ .Permalink }}" target="_blank" title="Share on Google Plus">
|
||||
<i class="fab fa-google-plus"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Facebook -->
|
||||
<li>
|
||||
<a href="//www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" target="_blank" title="Share on Facebook">
|
||||
<i class="fab fa-facebook"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Reddit -->
|
||||
<li>
|
||||
<a href="//reddit.com/submit?url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="Share on Reddit">
|
||||
<i class="fab fa-reddit"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- LinkedIn -->
|
||||
<li>
|
||||
<a href="//www.linkedin.com/shareArticle?url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="Share on LinkedIn">
|
||||
<i class="fab fa-linkedin"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- StumbleUpon -->
|
||||
<li>
|
||||
<a href="//www.stumbleupon.com/submit?url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="Share on StumbleUpon">
|
||||
<i class="fab fa-stumbleupon"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Pinterest -->
|
||||
<li>
|
||||
<a href="//www.pinterest.com/pin/create/button/?url={{ .Permalink }}&description={{ .Title }}" target="_blank" title="Share on Pinterest">
|
||||
<i class="fab fa-pinterest"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue