13 lines
1.0 KiB
HTML
13 lines
1.0 KiB
HTML
{% if include.page.type == 'home' %}
|
|
{% assign description = site.data.content.social_list.default_description %}
|
|
{% else %}
|
|
{% assign description = site.data.content.social_list.description | replace: "TITLE", include.page.title %}
|
|
{% endif %}
|
|
<ul class="social-list {{ include.class }}">
|
|
<li class="facebook link hint--bottom" data-hint="{{ site.data.content.social_list.facebook_share }}"><a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ include.page.url }}" target="share"><span class="text"></span></a></li>
|
|
<li class="twitter link hint--bottom" data-hint="{{ site.data.content.social_list.twitter_share }}"><a href="https://twitter.com/intent/tweet?text={{ description }} {{ site.url }}{{ include.page.url }}" target="share"><span class="text"></span></a></li>
|
|
{% comment %}
|
|
<li class="googleplus link hint--bottom" data-hint="Share on Google Plus"><a href="https://plus.google.com/share?url={{ site.url }}{{ include.page.url }}" target="share"><span class="text">+1</span></a></li>-->
|
|
{% endcomment %}
|
|
</ul>
|