Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from bstanger/bug/font-awesome-brand-icons
Bug-Fix: Update Font Awesome brand classes for v5
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<div class="inline-btn"> | ||
<a class="btn-social twitter" href="https://twitter.com/intent/tweet?text={{ page.title | escape | replace:' ','%20' }}&url={{ page.url | replace:'index.html','' | prepend: site.url }}&via={{ site.owner.twitter }}" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i> Share on Twitter</a> | ||
<a class="btn-social facebook" href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | replace:'index.html','' | prepend: site.url }}" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i> Share on Facebook</a> | ||
<a class="btn-social twitter" href="https://twitter.com/intent/tweet?text={{ page.title | escape | replace:' ','%20' }}&url={{ page.url | replace:'index.html','' | prepend: site.url }}&via={{ site.owner.twitter }}" target="_blank"><i class="fab fa-twitter" aria-hidden="true"></i> Share on Twitter</a> | ||
<a class="btn-social facebook" href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | replace:'index.html','' | prepend: site.url }}" target="_blank"><i class="fab fa-facebook" aria-hidden="true"></i> Share on Facebook</a> | ||
<!--<a class="btn-social google-plus" href="https://plus.google.com/share?url={{ page.url | replace:'index.html','' | prepend: site.url }}" target="_blank"><i class="fa fa-google-plus" aria-hidden="true"></i> Share on Google+</a>--> | ||
<a class="btn-social linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | replace:'index.html','' | prepend: site.url }}&title={{ page.title | escape | replace:' ','%20' }}&summary={{ page.description | truncate: 150,"..." | escape | replace:' ','%20' }}&source=DataSF" target="_blank"><i class="fa fa-linkedin" aria-hidden="true"></i> Share on LinkedIn</a> | ||
<a class="btn-social linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | replace:'index.html','' | prepend: site.url }}&title={{ page.title | escape | replace:' ','%20' }}&summary={{ page.description | truncate: 150,"..." | escape | replace:' ','%20' }}&source=DataSF" target="_blank"><i class="fab fa-linkedin" aria-hidden="true"></i> Share on LinkedIn</a> | ||
</div><!-- /.share-this --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{% capture tweettext %} | ||
{{ include.mention | prepend: 'Thanks for the #opendata ' | append: ' #govlove' }} | ||
{% endcapture %} | ||
<a class="btn-social twitter btn-block" style="text-align: center;" href="https://twitter.com/intent/tweet?text={{ tweettext | escape | replace:' ','%20' | replace: '#','%23' | replace: '@','%40' }}&url={{ page.url | replace:'index.html','' | prepend: site.url }}" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i> Tweet your appreciation</a> | ||
<a class="btn-social twitter btn-block" style="text-align: center;" href="https://twitter.com/intent/tweet?text={{ tweettext | escape | replace:' ','%20' | replace: '#','%23' | replace: '@','%40' }}&url={{ page.url | replace:'index.html','' | prepend: site.url }}" target="_blank"><i class="fab fa-twitter" aria-hidden="true"></i> Tweet your appreciation</a> |