OSDN Git Service

Regular updates
[twpd/master.git] / _includes / social-list.html
1 {% if include.page.type == 'home' %}
2 {% assign description = site.data.content.social_list.default_description %}
3 {% else %}
4 {% assign description = site.data.content.social_list.description | replace: "TITLE", include.page.title %}
5 {% endif %}
6 <ul class="social-list {{ include.class }}">
7   <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 | uri_escape }}{{ include.page.url | uri_escape }}" target="share"><span class="text"></span></a></li>
8   <li class="twitter link hint--bottom" data-hint="{{ site.data.content.social_list.twitter_share }}"><a href="https://twitter.com/intent/tweet?text={{ description | uri_escape }}%20{{ site.url | uri_escape }}{{ include.page.url | uri_escape }}" target="share"><span class="text"></span></a></li>
9   {% comment %}
10   <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>-->
11   {% endcomment %}
12 </ul>