First commit.

This commit is contained in:
Bun 2025-06-30 19:43:00 -04:00
commit 2ec0acf870
13 changed files with 186 additions and 0 deletions

16
config.toml Normal file
View file

@ -0,0 +1,16 @@
# The URL the site will be built for
base_url = "https://www.nixfox.ca"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = true
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
[extra]
# Put all your custom variables here

6
content/blog/_index.md Normal file
View file

@ -0,0 +1,6 @@
+++
title = "List of blog posts"
sort_by = "date"
template = "blog.html"
page_template = "blog-page.html"
+++

6
content/blog/first.md Normal file
View file

@ -0,0 +1,6 @@
+++
title = "My first post"
date = 2019-11-27
+++
This is my first blog post.

10
public/elasticlunr.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
window.searchIndex = {"fields":["title","body"],"pipeline":["trimmer","stopWordFilter","stemmer"],"ref":"id","version":"0.9.5","index":{"body":{"root":{"docs":{},"df":0,"b":{"docs":{},"df":0,"l":{"docs":{},"df":0,"o":{"docs":{},"df":0,"g":{"docs":{"http://127.0.0.1:1111/blog/":{"tf":1.0},"http://127.0.0.1:1111/blog/first/":{"tf":1.0}},"df":2}}}},"f":{"docs":{},"df":0,"i":{"docs":{},"df":0,"r":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{"http://127.0.0.1:1111/blog/first/":{"tf":1.4142135623730951}},"df":1}}}}},"l":{"docs":{},"df":0,"i":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{"http://127.0.0.1:1111/blog/":{"tf":1.0}},"df":1}}}},"p":{"docs":{},"df":0,"o":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{"http://127.0.0.1:1111/blog/":{"tf":1.0},"http://127.0.0.1:1111/blog/first/":{"tf":1.4142135623730951}},"df":2}}}}}},"title":{"root":{"docs":{},"df":0,"b":{"docs":{},"df":0,"l":{"docs":{},"df":0,"o":{"docs":{},"df":0,"g":{"docs":{"http://127.0.0.1:1111/blog/":{"tf":1.0}},"df":1}}}},"f":{"docs":{},"df":0,"i":{"docs":{},"df":0,"r":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{"http://127.0.0.1:1111/blog/first/":{"tf":1.0}},"df":1}}}}},"l":{"docs":{},"df":0,"i":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{"http://127.0.0.1:1111/blog/":{"tf":1.0}},"df":1}}}},"p":{"docs":{},"df":0,"o":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{"http://127.0.0.1:1111/blog/":{"tf":1.0},"http://127.0.0.1:1111/blog/first/":{"tf":1.0}},"df":2}}}}}}},"documentStore":{"save":true,"docs":{"http://127.0.0.1:1111/":{"body":"","id":"http://127.0.0.1:1111/","title":""},"http://127.0.0.1:1111/blog/":{"body":"","id":"http://127.0.0.1:1111/blog/","title":"List of blog posts"},"http://127.0.0.1:1111/blog/first/":{"body":"This is my first blog post.\n","id":"http://127.0.0.1:1111/blog/first/","title":"My first post"}},"docInfo":{"http://127.0.0.1:1111/":{"body":0,"title":0},"http://127.0.0.1:1111/blog/":{"body":0,"title":3},"http://127.0.0.1:1111/blog/first/":{"body":3,"title":2}},"length":3},"lang":"English"}

17
templates/base.html Normal file
View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>NixFox</title>
</head>
<body>
<section class="section">
<div class="container">
{% block content %} {% endblock content %}
</div>
</section>
</body>
</html>

9
templates/blog-page.html Normal file
View file

@ -0,0 +1,9 @@
{% extends "base.html" %}
{% block content %}
<h1 class="title">
{{ page.title }}
</h1>
<p class="subtitle"><strong>{{ page.date }}</strong></p>
{{ page.content | safe }}
{% endblock content %}

14
templates/blog.html Normal file
View file

@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block content %}
<h1 class="title">
{{ section.title }}
</h1>
<ul>
<!-- If you are using pagination, section.pages will be empty.
You need to use the paginator object -->
{% for page in section.pages %}
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
{% endblock content %}

7
templates/index.html Normal file
View file

@ -0,0 +1,7 @@
{% extends "base.html" %}
{% block content %}
<h1 class="title">
This is my blog made with Zola.
</h1>
{% endblock content %}

58
templates/sidebar.css Normal file
View file

@ -0,0 +1,58 @@
body {
margin: 0;
padding: 0;
font-family: 'IBM Plex Mono', monospace;
font-size: 25px;
}
a {
cursor:crosshair;
border: 1px solid transparent;
margin: 0px;
}
.sidebar {
width: 250px;
position: fixed;
height: 100%;
overflow: auto;
color: #000000;
background-color: #000000;
background-image: url('https://static.vecteezy.com/system/resources/previews/034/886/330/non_2x/black-background-modern-dark-abstract-seamless-texture-vector.jpg');
background-attachment: fixed;
}
.sb_header {
font-size:25px;
text-decoration: none;
}
.sb_text {
margin: 0.5em;
padding: 0.5em;
}
.sb_link {
color:#ffffff;
font-size:16px;
text-decoration: none;
}
.sb_link:hover {
color:#7ccbd5;
font-size:17px;
text-decoration:none;
}
.sb_img {
display: block;
margin-left: auto;
margin-right: auto;
width: 150px;
}
.personal {color:#fc3f5b;}
.nixfox {color:#2abafc;}
.pers:hover {color:#fca9c0;}
.fox:hover {color:#a9c0fc;}

42
templates/sidebar.html Normal file
View file

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=IBM+Plex+Mono">
<link rel="stylesheet" href="./sidebar.css">
<meta charset="UTF-8">
<title>nixfox den</title>
</head>
<body>
<div class="sidebar">
<a href="https://www.nixfox.ca"><img alt="teto creature" src="https://art.pixilart.com/sr2a62fc9ed2173.png" class="sb_img" title="can you take me back where i came from"></a>
<div class="sb_header sb_text nixfox">nixfox public</div>
<a href="https://mail.nixfox.ca/" class="sb_link sb_text fox">📧 email</a><br>
<a href="https://files.nixfox.ca" class="sb_link sb_text fox">☁️ nextcloud</a><br>
<a href="https://pass.nixfox.ca" class="sb_link sb_text fox">🔒 vaultwarden</a><br>
<a href="https://git.nixfox.ca" class="sb_link sb_text fox">🗄️ forgejo</a><br>
<a href="https://live.nixfox.ca" class="sb_link sb_text fox">📹 owncast</a><br>
<a href="https://radio.nixfox.ca" class="sb_link sb_text fox">📻 icecast</a><br>
<a href="https://chat.nixfox.ca" class="sb_link sb_text fox">💬 matrix</a><br>
<a href="https://tor.nixfox.ca" class="sb_link sb_text fox">🗃️ transmission</a><br>
<br>
<div class="sb_header sb_text personal">personal</div>
<a href="https://lu.tiny-universes.net/about.html" class="sb_link sb_text pers">📰 blog</a><br>
<a href="https://lu.tiny-universes.net/recordstore.html" class="sb_link sb_text pers">🖼️ images</a><br>
<a href="https://lu.tiny-universes.net/photos.html" class="sb_link sb_text pers">🖥️ hardware</a><br>
<a href="https://lu.tiny-universes.net/magick.html" class="sb_link sb_text pers">💾 software</a><br>
</div>
</body>
</html>

BIN
templates/source/alien.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
templates/source/meirl.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB