old website
This commit is contained in:
commit
218487dc22
557 changed files with 7054 additions and 0 deletions
3
_src/_includes/about.njk
Normal file
3
_src/_includes/about.njk
Normal file
|
@ -0,0 +1,3 @@
|
|||
<article class="note">
|
||||
{{ content | safe }}
|
||||
</article>
|
69
_src/_includes/base.njk
Normal file
69
_src/_includes/base.njk
Normal file
|
@ -0,0 +1,69 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>
|
||||
{{site.name}}{% if title %} - {{title}}{% endif %}
|
||||
</title>
|
||||
<link rel="icon" href="/assets/img/theme/citrus/bunny.png">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
{% if page.url == '/home/' %}
|
||||
<link rel="stylesheet" href="/assets/css/98.css">
|
||||
{% endif %}
|
||||
<link rel="stylesheet" href="/assets/css/reset.css">
|
||||
<link rel="stylesheet" href="/assets/css/default.css">
|
||||
<link rel="stylesheet" href="/assets/css/citrus.css">
|
||||
</head>
|
||||
<body id="{{page.url | firstUrlSegment }}">
|
||||
<header>
|
||||
<h1>
|
||||
<svg width="32" height="32" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="{{icon}}"></path>
|
||||
</svg>
|
||||
{{title}}
|
||||
</h1>
|
||||
</header>
|
||||
<nav>
|
||||
{% set currentUrl %}{{ page.url }}{% endset %}
|
||||
<a href="../">
|
||||
<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M 4 11 L 12 5 L 15 5 L 9 10 L 28 10 L 28 12 L 9 12 L 15 17 L 12 17 Z"></path>
|
||||
</svg>
|
||||
Back
|
||||
</a>
|
||||
<ul>
|
||||
<div>
|
||||
<svg width="130" height="28" xmlns="http://www.w3.org/2000/svg">
|
||||
<title>Navigation</title>
|
||||
<text y="20" x="0">Navigation</text>
|
||||
</svg>
|
||||
</div>
|
||||
{% for page in collections.pages %}
|
||||
<li>
|
||||
<a
|
||||
{% if currentUrl === page.url %} aria-current="page"{% endif %} href="{{page.url}}">
|
||||
<svg width="20" height="20" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="{{page.data.icon}}"></path>
|
||||
</svg>
|
||||
{{page.data.title}}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<ul>
|
||||
<div>
|
||||
<svg width="112" height="28" xmlns="http://www.w3.org/2000/svg">
|
||||
<title>Outgoing</title>
|
||||
<text y="20" x="0">Outgoing</text>
|
||||
</svg>
|
||||
</div>
|
||||
{% for item in outgoing.items %}
|
||||
<li><a href="{{item.url}}"><img src="{{item.icon}}" alt="">{{item.name}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
<main>
|
||||
{{content | safe}}
|
||||
</main>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
12
_src/_includes/blog.njk
Normal file
12
_src/_includes/blog.njk
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
layout: base
|
||||
icon: "M 6 3 L 19 3 L 26 10 L 26 30 L 6 30 Z M 17 12 L 24 12 L 17 5 Z"
|
||||
---
|
||||
<article class="blog">
|
||||
<h2>{{title}} <time datetime="{{date | ISO }}">{{date | humanReadable}}</time></h2>
|
||||
{{ content | safe }}
|
||||
<div aria-label="Postscript">
|
||||
<p>{{blurb}}</p>
|
||||
<img src="/assets/img/theme/citrus/bunny.png" alt="">
|
||||
</div>
|
||||
</article>
|
15
_src/_includes/update.njk
Normal file
15
_src/_includes/update.njk
Normal file
|
@ -0,0 +1,15 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>
|
||||
{{site.name}}{% if title %} - {{title}}{% endif %}
|
||||
</title>
|
||||
<link rel="icon" href="/assets/img/favicon/sundae.png">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="/assets/css/reset.css">
|
||||
<link rel="stylesheet" href="/assets/css/98.css">
|
||||
</head>
|
||||
<body class="98">
|
||||
{{content | safe}}
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue