mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-12 23:47:03 +01:00
layouts: Update Twitter sharing link
Use the new (?) sharing intent and add the page title as Tweet text.
This commit is contained in:
parent
aed40fe2d3
commit
ed69bec464
@ -3,7 +3,7 @@
|
||||
<nav class="nav sharing-icons">
|
||||
<a class="nav-item" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" title="Share on Facebook"><span class="fa fa-facebook fa-2x" aria-hidden="true"></span></a>
|
||||
<a class="nav-item" href="https://www.linkedin.com/shareArticle?mini=true&url={{ .Permalink }}" title="Share on LinkedIn"><span class="fa fa-linkedin fa-2x" aria-hidden="true"></span></a>
|
||||
<a class="nav-item" href="https://twitter.com/home?status={{ .Permalink }}" title="Tweet this"><span class="fa fa-twitter fa-2x"></span></a>
|
||||
<a class="nav-item" href="https://twitter.com/intent/tweet?url={{ .Permalink }}&text={{ .Title }}" title="Tweet this"><span class="fa fa-twitter fa-2x"></span></a>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user