mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-24 00:41:51 +01:00
8433e2253c
Also new website! We've got the version2 branch if people want to search in those files.
52 lines
1.8 KiB
HTML
52 lines
1.8 KiB
HTML
<!-- Check if any share-links are active -->
|
|
{% assign any-share-links = false %}
|
|
{% for links in site.share-links-active %}
|
|
{% if links[1] == true %}
|
|
{% assign any-share-links = true %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% if any-share-links %}
|
|
<section id = "social-share-section">
|
|
<span class="sr-only">Share: </span>
|
|
|
|
{% if site.share-links-active.twitter %}
|
|
<!--- Share on Twitter -->
|
|
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}+{{ site.url }}{{ page.url }}"
|
|
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
|
<span class="fa fa-fw fa-twitter" aria-hidden="true"></span>
|
|
<span class="sr-only">Twitter</span>
|
|
</a>
|
|
{% endif %}
|
|
|
|
{% if site.share-links-active.facebook %}
|
|
<!--- Share on Facebook -->
|
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ page.url }}"
|
|
class="btn btn-social-icon btn-facebook" title="Share on Facebook">
|
|
<span class="fa fa-fw fa-facebook" aria-hidden="true"></span>
|
|
<span class="sr-only">Facebook</span>
|
|
</a>
|
|
{% endif %}
|
|
|
|
{% if site.share-links-active.google %}
|
|
<!--- Share on Google Plus -->
|
|
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}"
|
|
class="btn btn-social-icon btn-google" title="Share on Google+">
|
|
<span class="fa fa-fw fa-google-plus" aria-hidden="true"></span>
|
|
<span class="sr-only">Google+</span>
|
|
</a>
|
|
{% endif %}
|
|
|
|
{% if site.share-links-active.linkedin %}
|
|
<!--- Share on LinkedIn -->
|
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ page.url }}"
|
|
class="btn btn-social-icon btn-linkedin" title="Share on LinkedIn">
|
|
<span class="fa fa-fw fa-linkedin" aria-hidden="true"></span>
|
|
<span class="sr-only">LinkedIn</span>
|
|
</a>
|
|
{% endif %}
|
|
|
|
</section>
|
|
|
|
{% endif %}
|