mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Stripped back docs website
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
---
|
||||
layout: compress
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<!-- device settings -->
|
||||
<meta charset = "UTF-8" />
|
||||
<meta name="Content-Type" content="text/html" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<!-- page title -->
|
||||
<title>{{ page.title }}</title>
|
||||
|
||||
<!-- theme and styling -->
|
||||
<style>svg.icon{width:1em;height:1em}</style>
|
||||
<link rel="preload" as="style" href="{{ site.baseurl }}/assets/site.css" onload="this.onload=null;this.rel='stylesheet';">
|
||||
<noscript><link rel="stylesheet" href="{{ site.baseurl }}/assets/site.css"></noscript>
|
||||
<script>{% include scripts/loadcss/loadcss-2.0.1.min.js %}</script>
|
||||
|
||||
<!-- 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 }}" />
|
||||
|
||||
<!-- twitter -->
|
||||
<meta name="twitter:card" content="{{ site.title }}" />
|
||||
<meta name="twitter:url" content="{{ site.url}}" />
|
||||
<meta name="twitter:type" content="website" />
|
||||
<meta name="twitter:image" content="{{ site.baseurl }}/assets/repo-preview.png" />
|
||||
<meta name="twitter:title" content="{{ page.title }}" />
|
||||
<meta name="twitter:description" content="{{ page.description }}" />
|
||||
|
||||
<script src="{{ site.baseurl }}/assets/site.js"></script>
|
||||
<link rel="icon" href="{{ site.baseurl }}/favicon.png">
|
||||
|
||||
{% include elements/analytics.html %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ content }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
21
_layouts/default.html
Normal file
21
_layouts/default.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<!-- device settings -->
|
||||
<meta charset = "UTF-8" />
|
||||
<meta name="Content-Type" content="text/html" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<!-- page title -->
|
||||
<title>{{ page.title }}</title>
|
||||
|
||||
{% include metadata.html %}
|
||||
{% include analytics.html %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ content }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,59 +0,0 @@
|
||||
---
|
||||
layout: base
|
||||
theme_version: 0.5.22
|
||||
theme_url: https://github.com/pixeldroid/programming-pages
|
||||
---
|
||||
|
||||
<!-- top menu -->
|
||||
<div id="site-title" class="ui top fixed menu">
|
||||
{% include elements/title.html %}
|
||||
</div>
|
||||
|
||||
<!-- animated sidebar (can be revealed in mobile view) -->
|
||||
<div id="sidebar-retractable" class="ui vertical inverted sidebar menu">
|
||||
<!-- #sidebar-collection-indices is re-parented here for mobile view -->
|
||||
</div>
|
||||
|
||||
<!-- pushing container (will be pushed right when retractable sidebar opens) -->
|
||||
<div class="pusher">
|
||||
|
||||
<div class="ui left attached internal rail">
|
||||
<!-- static sidebar (visible in non-mobile view) -->
|
||||
<div id="sidebar-fixed" class="ui vertical inverted menu">
|
||||
<div id="sidebar-collection-indices">
|
||||
{% include elements/indices.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- main contents -->
|
||||
<div id="page-container">
|
||||
<div class="ui left aligned fluid container">
|
||||
<div id="page-content" class="ui basic segment" style="max-width: 840px; margin-bottom: 6em;">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
<!-- The style attribute here, and in the div above, ensure the footer works as expected -->
|
||||
<!-- footer -->
|
||||
<div id="site-attribution" class="ui basic segment" style="position: absolute; bottom: 0">
|
||||
{% include elements/attribution.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- help modal -->
|
||||
<div id="site-help" class="ui small modal">
|
||||
{% include elements/help.html %}
|
||||
</div>
|
||||
|
||||
<script>
|
||||
{% include scripts/indices.js %}
|
||||
{% include scripts/search.js %}
|
||||
{% include scripts/page.js %}
|
||||
{% include scripts/help.js %}
|
||||
|
||||
{% comment %} provide user extension / override point {% endcomment %}
|
||||
{% include scripts/custom.js %}
|
||||
</script>
|
||||
Reference in New Issue
Block a user