mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2025-01-13 16:50:29 +08:00
Removes Twitter tracker, but keeps functioning Tweet button
This commit is contained in:
parent
da878fd195
commit
a5fdd7ff40
@ -27,8 +27,16 @@
|
||||
</span>
|
||||
</span>
|
||||
</li>
|
||||
<li class="tweet-btn hidden-phone">
|
||||
<a href="https://twitter.com/share" class="twitter-share-button" data-url="{{ site.forkawesome.url }}" data-text="Fork Awesome, a fork of the iconic font and CSS framework" data-counturl="{{ site.forkawesome.legacy_url }}" data-count="horizontal">Tweet</a>
|
||||
<li>
|
||||
<span class="share">
|
||||
<a
|
||||
class="btn btn-xs twitter"
|
||||
href="https://twitter.com/intent/tweet?url={{ site.forkawesome.url | cgi_escape }}&text={{ site.forkawesome.name | cgi_escape }}%20{{ site.forkawesome.tagline | cgi_escape }}&hashtags=forkawesome,iconfont"
|
||||
target="_blank"
|
||||
>
|
||||
<i class="fa fa-twitter" aria-hidden="true"></i> Tweet
|
||||
</a>
|
||||
</span>
|
||||
</li>
|
||||
<li class="github-btn">
|
||||
<iframe src="https://ghbtns.com/github-btn.html?user=ForkAwesome&repo=Fork-Awesome&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
|
||||
|
@ -32,7 +32,6 @@
|
||||
{{ content }}
|
||||
</div>
|
||||
{% include footer.html %}
|
||||
<script src="https://platform.twitter.com/widgets.js"></script>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/{{ site.jquery.version }}/jquery.min.js"></script>
|
||||
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/{{ site.jquery_validate.version }}/jquery.validate.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.bootstrap.version }}/js/bootstrap.min.js"></script>
|
||||
|
@ -37,4 +37,12 @@ label.error {
|
||||
label:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.twitter {
|
||||
color: #fff;
|
||||
background-color: #1b95e0;
|
||||
}
|
||||
.twitter:hover {
|
||||
color: #fff;
|
||||
background-color: #0c7abf;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user