initial commit
This commit is contained in:
parent
1c139f86e2
commit
26a2a6603b
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
./public
|
16
config.toml
Normal file
16
config.toml
Normal file
|
@ -0,0 +1,16 @@
|
|||
# The URL the site will be built for
|
||||
base_url = "https://missingpiece.dev"
|
||||
|
||||
# Whether to automatically compile all Sass files in the sass directory
|
||||
compile_sass = false
|
||||
|
||||
# Whether to build a search index to be used later on by a JavaScript library
|
||||
build_search_index = false
|
||||
|
||||
[markdown]
|
||||
# Whether to do syntax highlighting
|
||||
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
||||
highlight_code = false
|
||||
|
||||
[extra]
|
||||
# Put all your custom variables here
|
8
content/404/404.md
Normal file
8
content/404/404.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
+++
|
||||
+++
|
||||
|
||||
# Uh oh!
|
||||
|
||||
Looks like the page you're looking for is *missing*. Get the joke? Haha, I'm so funny.
|
||||
|
||||
Anyway, [here](/)'s a link back to the homepage.
|
36
content/_index.md
Normal file
36
content/_index.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
+++
|
||||
title = "Missing's website"
|
||||
sort_by = "title"
|
||||
page_template = "subpage.html"
|
||||
+++
|
||||
|
||||
# Welcome to missing's website!
|
||||
|
||||
Hey! I'm <img src="missing.png" class="pfp"> **TheMissingPiece**, but most people just call me missing. I am a nerd and
|
||||
tech enthusiast who loves to rewrite things that already exist just because I can.
|
||||
I know JavaScript, TypeScript, Java, C#, and Rust, but nowadays most of my code is
|
||||
written in Rust. You can find my projects on my friend's [Gitea](https://git.karx.xyz/missing).
|
||||
|
||||
---
|
||||
|
||||
Some projects I am currently working on:
|
||||
- [Xcrab](https://git.karx.xyz/InfoshockTech/xcrab), a window manager written in Rust
|
||||
- [`dyn_vec`](https://git.karx.xyz/missing/dyn_vec), a `Vec<T: ?Sized>` for Rust
|
||||
- [`d3`](https://git.karx.xyz/missing/d3), a 3d rendering engine
|
||||
- [My os](https://git.karx.xyz/missing/os), which is still very much a work in progress
|
||||
|
||||
---
|
||||
|
||||
My friends' links:
|
||||
- [karx](https://karx.xyz)
|
||||
- [famfo](https://famfo.xyz)
|
||||
- [lemon](https://lemonsh.moe)
|
||||
|
||||
---
|
||||
|
||||
Ways to reach me:
|
||||
- TheMissingPiece#6742 on discord
|
||||
- karx's [discord](https://discord.gg/ejamTPCVSB) or [irc](ircs://karx.xyz)
|
||||
- [piecenotfound@gmail.com](mailto:piecenotfound@gmail.com)
|
||||
|
||||
---
|
14
content/dn42.md
Normal file
14
content/dn42.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
+++
|
||||
title = "dn42"
|
||||
+++
|
||||
|
||||
# DN42
|
||||
|
||||
Dn42, short for decentralized network 42, is something that is better explained
|
||||
by [the wiki](https://dn42.dev). As it turns out, I have a dn42 node! How I got
|
||||
to this point with my limited networking knowledge is beyond me. My AS is
|
||||
`4242422047`, and my IP ranges are `172.22.159.160/27` and `fdfd:bad:c0de::/48`.
|
||||
I am open for peerings, so if you want to, just contact me through one of the ways
|
||||
listed on the [home page](/).
|
||||
|
||||
---
|
BIN
static/FiraCode-VF.ttf
Normal file
BIN
static/FiraCode-VF.ttf
Normal file
Binary file not shown.
BIN
static/SFPro-Bold.otf
Normal file
BIN
static/SFPro-Bold.otf
Normal file
Binary file not shown.
BIN
static/SFPro-Italic-Bold.otf
Normal file
BIN
static/SFPro-Italic-Bold.otf
Normal file
Binary file not shown.
BIN
static/SFPro-Italic.otf
Normal file
BIN
static/SFPro-Italic.otf
Normal file
Binary file not shown.
BIN
static/SFPro-Regular.otf
Normal file
BIN
static/SFPro-Regular.otf
Normal file
Binary file not shown.
112
static/css/index.css
Normal file
112
static/css/index.css
Normal file
|
@ -0,0 +1,112 @@
|
|||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Fira Code";
|
||||
src: local("Fira Code"), url("/FiraCode-VF.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "SF Pro";
|
||||
src: url("/SFPro-Regular.otf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "SF Pro";
|
||||
src: url("/SFPro-Bold.otf");
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "SF Pro";
|
||||
src: url("/SFPro-Italic.otf");
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "SF Pro";
|
||||
src: url("/SFPro-Italic-Bold.otf");
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
em {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
background-color: #555;
|
||||
padding: min(7vh, 30px) 15vw;
|
||||
font-family: "SF Pro";
|
||||
color: white;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: max(30px, 2vh);
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: "Fira Code", monospace;
|
||||
color: inherit;
|
||||
background-color: #444;
|
||||
padding: 0.1em 0.2em;
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
li {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin: 1em 0;
|
||||
padding-left: 2.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
a:visited,
|
||||
a:visited * {
|
||||
color: chocolate;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
.pfp {
|
||||
height: 1em;
|
||||
bottom: -0.15em;
|
||||
position: relative;
|
||||
}
|
BIN
static/favicon.ico
Normal file
BIN
static/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
static/missing.png
Normal file
BIN
static/missing.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
8
templates/404.html
Normal file
8
templates/404.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% set page = get_page(path="404/404.md") %}
|
||||
{{ page.content | safe }}
|
||||
|
||||
{% endblock content %}
|
25
templates/base.html
Normal file
25
templates/base.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>
|
||||
{% if section -%}
|
||||
{{ section.title }}
|
||||
{% else -%}
|
||||
{% if page -%}
|
||||
{{ page.title }}
|
||||
{% else -%}
|
||||
404 Page missing
|
||||
{% endif -%}
|
||||
{% endif -%}
|
||||
</title>
|
||||
<link rel="icon" type="image/x-icon" href='{{ get_url(path="/favicon.ico") }}'>
|
||||
<link rel="stylesheet" href='{{ get_url(path="/css/index.css") }}'>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% block content %} {% endblock %}
|
||||
</body>
|
||||
|
||||
</html>
|
14
templates/index.html
Normal file
14
templates/index.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{{ section.content | safe }}
|
||||
|
||||
<div class="navbar">
|
||||
<a href="https://git.karx.xyz/missing/site">..</a>
|
||||
{% for page in section.pages %}
|
||||
- <a href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% endblock content %}
|
15
templates/subpage.html
Normal file
15
templates/subpage.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{{ page.content | safe }}
|
||||
|
||||
<div class="navbar">
|
||||
<a href="/">~</a> - <a href="..">..</a>
|
||||
{% set parent = get_section(path=page.ancestors | last) %}
|
||||
{% for page in parent.pages %}
|
||||
- <a href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% endblock content %}
|
Loading…
Reference in a new issue