mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
33 lines
1.0 KiB
HTML
33 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>
|
|
{{ site.title }}
|
|
{% if page.url != '/' %}
|
|
|
|
|
{% if page.layout == 'bin' %}
|
|
{{ page.title | downcase }}
|
|
{% else %}
|
|
{{ page.title }}
|
|
{% endif %}
|
|
{% endif %}
|
|
</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 }}
|
|
<script>
|
|
// add permalink on headings
|
|
document.querySelectorAll('h2, h3, h4, h5, h5').forEach((heading) => {
|
|
const link = document.createElement('a');
|
|
link.className = 'permalink';
|
|
link.href = `#${heading.id}`;
|
|
heading.appendChild(link);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|