Stripped back docs website

This commit is contained in:
2026-04-10 12:30:26 +10:00
parent 60c07d64ef
commit 08a417a66a
18 changed files with 35 additions and 364 deletions

View File

@@ -1,17 +0,0 @@
<table class="ui unstackable very basic collapsing table">
<tbody>
<tr>
<td class="smaller text">
<div style="margin-top: -1em; padding-left: 5px;">
<img src="assets/blacktocat.png" style="filter: invert(100%); height: 20px; margin: 0 5px -5px -5px;">
<a href="https://github.com/krgamestudios/Toy">Available On GitHub</a>
</div>
</td>
</tr>
<tr>
<td class="smaller text">
GH Pages Theme adapted from <a href="{{ layout.theme_url }}" title="a jekyll theme for publishing code documentation to GitHub pages">Programming Pages</a>.
</td>
</tr>
</tbody>
</table>

View File

@@ -1,15 +0,0 @@
<div style="float:right; padding: 1em;" onclick="chicken();" title="Cluck me!">
<script type="text/javascript">
let options = [
"What the cluck?",
"Go cluck yourself!",
"I don't give a cluck!",
"Cluck off!",
"That farmer clucked me over!"
];
function chicken() {
document.getElementById("chirp").textContent = options[ Math.floor(options.length * Math.random()) ];
}
</script>
<p><span id="chirp"></span> 🐔</p>
</div>

View File

@@ -1,7 +0,0 @@
<a class="borderless toggle item">{% include icon.liquid id='bars' %} Menu</a>
<a class="borderless item" href="{{ site.baseurl }}/">{% include icon.liquid id='home' %} Home</a>
<div class="borderless header item">
<span class="larger text custom-mobile-hide">{{ site.title }}</span>
</div>

13
_includes/metadata.html Normal file
View File

@@ -0,0 +1,13 @@
<!-- site information -->
<meta name="description" content="{{ site.description }}" />
<meta name="author" content="{{ site.author }}" />
<meta name="keywords" content="{{ site.keywords }}" />
<!-- facebook -->
<meta property="og:url" content="{{ site.url }}" />
<meta property="og:type" content="website" />
<meta property="og:image" content="{{ site.baseurl }}/assets/repo-preview.png" />
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:description" content="{{ page.description }}" />
<link rel="icon" href="{{ site.baseurl }}/favicon.png">

View File

@@ -1,9 +0,0 @@
@media only screen and (max-width: 768px) {
.custom-mobile-hide {
display: none !important;
}
}
.ui.segment {
overflow-x: unset;
}