mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-14 16:27:04 +01:00
Alan Orth
4c5ce590f2
Nothing really new as far as how we're using Font Awesome, but it is good to keep up with the times and the tooling. Users that have used custom fonts in their content or layouts will need to update their icon prefixes from "fa" to "fas" or "fab" depending on which font their icon comes from. See: https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4
11 lines
707 B
HTML
11 lines
707 B
HTML
<section>
|
|
<h4>{{ i18n "share" }}</h4>
|
|
<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="fab fa-facebook-f 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="fab fa-linkedin-in fa-2x" aria-hidden="true"></span></a>
|
|
<a class="nav-item" href="https://twitter.com/intent/tweet?url={{ .Permalink }}&text={{ .Title }}" title="Tweet this"><span class="fab fa-twitter fa-2x"></span></a>
|
|
</nav>
|
|
</section>
|
|
|
|
{{- /* vim: set ts=2 sw=2 et: */}}
|