mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Add GitHub buttons
This commit is contained in:
parent
d52ea95982
commit
80e5c2cac4
@ -3,4 +3,8 @@
|
||||
<a href="/">..</a> /
|
||||
{% endif %}
|
||||
{{ include.title }}
|
||||
<div class="github-buttons">
|
||||
<a class="github-button" href="https://github.com/GTFOBins/GTFOBins.github.io" data-icon="octicon-star" data-show-count="true" aria-label="Star GTFOBins/GTFOBins.github.io on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/GTFOBins/GTFOBins.github.io/fork" data-icon="octicon-repo-forked" aria-label="Fork GTFOBins/GTFOBins.github.io on GitHub">Fork</a>
|
||||
</div>
|
||||
</h1>
|
||||
|
@ -15,6 +15,7 @@
|
||||
</title>
|
||||
<link rel="stylesheet" href="/style.css" type="text/css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes">
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
{{ content }}
|
||||
|
@ -115,3 +115,12 @@ a:hover {
|
||||
font-size: 1.4rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.github-buttons {
|
||||
float: right;
|
||||
|
||||
// avoid displaying the link text during loading
|
||||
a.github-button {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user