mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-12-14 18:41:36 +03:00
21 lines
1.4 KiB
Python
21 lines
1.4 KiB
Python
TWITTER_BUTTON = """
|
|
<a href="https://twitter.com/igor_chubin" class="twitter-follow-button" data-show-count="false" data-button="grey">Follow @igor_chubin</a>
|
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
|
"""
|
|
|
|
GITHUB_BUTTON = """
|
|
<!-- Place this tag where you want the button to render. -->
|
|
<a aria-label="Star chubin/wttr.in on GitHub" data-count-aria-label="# stargazers on GitHub" data-count-api="/repos/chubin/cheat.sh#stargazers_count" data-count-href="/chubin/cheat.sh/stargazers" data-icon="octicon-star" href="https://github.com/chubin/cheat.sh" class="github-button">cheat.sh</a>
|
|
"""
|
|
|
|
GITHUB_BUTTON_2 = """
|
|
<!-- Place this tag where you want the button to render. -->
|
|
<a aria-label="Star chubin/cheat.sheets on GitHub" data-count-aria-label="# stargazers on GitHub" data-count-api="/repos/chubin/cheat.sheets#stargazers_count" data-count-href="/chubin/cheat.sheets/stargazers" data-icon="octicon-star" href="https://github.com/chubin/cheat.sheets" class="github-button">cheat.sheets</a>
|
|
"""
|
|
|
|
GITHUB_BUTTON_FOOTER = """
|
|
<!-- Place this tag right after the last button or just before your close body tag. -->
|
|
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
|
|
"""
|
|
|