Trying a new jekyll theme

This commit is contained in:
2025-01-12 12:26:23 +11:00
parent 98ccfb4215
commit f39d725001
6 changed files with 76 additions and 48 deletions

10
_config.yml Normal file
View File

@@ -0,0 +1,10 @@
title: The Toy Programming Language
description: Documentation For The Toy Programming Language
keywords: programming,coding
author: Kayne Ruse (Ratstail91)
plugins:
- jekyll-remote-theme
remote_theme: pixeldroid/programming-pages

51
_layouts/base.html Normal file
View File

@@ -0,0 +1,51 @@
---
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="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="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">
</head>
<body>
{{ content }}
</body>
</html>

View File

Before

Width:  |  Height:  |  Size: 454 KiB

After

Width:  |  Height:  |  Size: 454 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -1,48 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<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>The Toy Programming Language</title>
<!-- page information -->
<meta name="description" content="The Toy Programming Language" />
<meta name="author" content="Kayne Ruse" />
<meta name="keywords" content=""programming, coding" />
<!-- facebook -->
<meta property="og:url" content="toylang.com" />
<meta property="og:type" content="website" />
<meta property="og:image" content="repo-preview.png" />
<meta property="og:title" content="The Toy Programming Language" />
<meta property="og:description" content="The Toy Programming Language" />
<!-- twitter -->
<meta name="twitter:card" content="The Toy Programming Language" />
<meta name="twitter:url" content="toylang.com" />
<meta name="twitter:type" content="website" />
<meta name="twitter:image" content="repo-preview.png" />
<meta name="twitter:title" content="The Toy Programming Language" />
<meta name="twitter:description" content="The Toy Programming Language" />
</head>
<body>
<div style="justify-self: center; max-width: 840px;">
<image src="toylogo.png" width="250" height="250" />
</div>
<br>
<div style="justify-self: center; max-width: 840px;">
<img src="https://github.com/Ratstail91/Toy/actions/workflows/continuous-integration-v1.yml/badge.svg">
<br>
<img src="https://github.com/Ratstail91/Toy/actions/workflows/continuous-integration-v2.yml/badge.svg">
</div>
<div style="justify-self: center; max-width: 840px;">
<p>There's nobody here but us chickens!</p>
<p>The v2 docs aren't visible yet, but they've been marked as "in progress", so expect the first few pages within a week.</p>
<p>In the meantime, <a href="https://github.com/Ratstail91/Toy">click here</a> for the source code.</p>
</div>
</body>
</html>

15
index.md Normal file
View File

@@ -0,0 +1,15 @@
<div style="justify-self: center;">
<image src="assets/toylogo.png" width="250" height="250" />
</div>
<div style="justify-self: center;">
<img src="https://github.com/Ratstail91/Toy/actions/workflows/continuous-integration-v1.yml/badge.svg">
<br>
<img src="https://github.com/Ratstail91/Toy/actions/workflows/continuous-integration-v2.yml/badge.svg">
</div>
There's nobody here but us chickens!
The v2 docs aren't visible yet, but they've been marked as "in progress", so expect the first few pages within a week.
In the meantime, [click here](https://github.com/Ratstail91/Toy) for the source code.