Added blog
This commit is contained in:
parent
66b315e0f7
commit
7d2c2cb5ee
17 changed files with 219 additions and 24 deletions
21
_zola/config.toml
Normal file
21
_zola/config.toml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# The URL the site will be built for
|
||||||
|
base_url = "/blog"
|
||||||
|
output_dir = "pub/blog"
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
generate_feeds = true
|
||||||
|
feed_filenames = ["atom.xml"]
|
||||||
|
|
||||||
|
[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
|
||||||
|
title = "Zaydblog"
|
6
_zola/content/test.md
Normal file
6
_zola/content/test.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
+++
|
||||||
|
title = "this is a test"
|
||||||
|
date = 2025-01-23
|
||||||
|
+++
|
||||||
|
|
||||||
|
Zaydblog exists now. SUCK MY DICK PURPLEBORED FUCK YOU
|
37
_zola/templates/index.html
Normal file
37
_zola/templates/index.html
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ lang }}">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover">
|
||||||
|
<title>{{ config.title }}</title>
|
||||||
|
<link rel="stylesheet" href="/assets/css/main.css">
|
||||||
|
|
||||||
|
{% if config.generate_feed %}
|
||||||
|
<link rel="alternate" type={% if config.feed_filenames == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="RSS" href="{{ get_url(path=config.feed_filenames[0]) | safe }}">
|
||||||
|
{% endif %}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<nav class="navbar">
|
||||||
|
<li><h1 class="title"><a href="/">wanderlost</a></h1></li>
|
||||||
|
<li><a href="/">Home</a></li>
|
||||||
|
<li><a href="/blog/">Index</a></li>
|
||||||
|
<li><a href="/blog/atom.xml">Atom</a></li>
|
||||||
|
</nav>
|
||||||
|
<main>
|
||||||
|
{% block content %}
|
||||||
|
<div class="posts">
|
||||||
|
{% for page in section.pages | reverse %}
|
||||||
|
<div class="post">
|
||||||
|
<h3 class="post-title">
|
||||||
|
<a href="{{ page.permalink }}">
|
||||||
|
{{ page.title | safe }}
|
||||||
|
</a> - {{ page.date | date(format="%Y-%m-%d") }}
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
{% endblock content %}
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
_zola/templates/page.html
Normal file
10
_zola/templates/page.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{% extends "index.html" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="post">
|
||||||
|
<h1 class="post-title">{{ page.title }}</h1>
|
||||||
|
<h2 class="post-date">{{ page.date | date(format="%Y-%m-%d") }}</h2>
|
||||||
|
{{ page.content | safe }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% endblock content %}
|
8
_zola/theme.toml
Normal file
8
_zola/theme.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
name = "Zaydtheme"
|
||||||
|
description = "man I just want a custom theme"
|
||||||
|
|
||||||
|
tags = [] # wtf is this for
|
||||||
|
license = "GPLv3"
|
||||||
|
homepage = "https://goatse.cx"
|
||||||
|
min_version = "0.4.0"
|
||||||
|
demo = ""
|
|
@ -13,6 +13,11 @@
|
||||||
src: url('/assets/fonts/Fira_Sans/FiraSans-Bold.woff2');
|
src: url('/assets/fonts/Fira_Sans/FiraSans-Bold.woff2');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: Fira Sans Light;
|
||||||
|
src: url('/assets/fonts/Fira_Sans/FiraSans-Light.woff2');
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin-top: 2%;
|
margin-top: 2%;
|
||||||
margin-left: 5%;
|
margin-left: 5%;
|
||||||
|
@ -86,6 +91,18 @@ main h2 {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-title {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-date {
|
||||||
|
font-family: Fira Sans Light;
|
||||||
|
font-size: 20px;
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
main p {
|
main p {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
BIN
assets/images/badges/software/kde.gif
Normal file
BIN
assets/images/badges/software/kde.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.4 KiB |
BIN
assets/images/badges/software/linuxnow.gif
Normal file
BIN
assets/images/badges/software/linuxnow.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
20
blog.html
20
blog.html
|
@ -1,20 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="/assets/css/main.css">
|
|
||||||
<title>Zaydsite NOW!</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<nav class="navbar">
|
|
||||||
<li><h1 class="title"><a href="/">wanderlost</a></h1></li>
|
|
||||||
<li><a href="/links.html">links</a></li>
|
|
||||||
<li><a href="/blog.html">blog</a></li>
|
|
||||||
</nav>
|
|
||||||
<main>
|
|
||||||
<hr>
|
|
||||||
<h2>Blog</h2>
|
|
||||||
<p>Nothing here for now...</p>
|
|
||||||
</main>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
3
blog/404.html
Normal file
3
blog/404.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>404 Not Found</title>
|
||||||
|
<h1>404 Not Found</h1>
|
29
blog/atom.xml
Normal file
29
blog/atom.xml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
||||||
|
<title></title>
|
||||||
|
<link rel="self" type="application/atom+xml" href="/blog/atom.xml"/>
|
||||||
|
<link rel="alternate" type="text/html" href="/blog"/>
|
||||||
|
<generator uri="https://www.getzola.org/">Zola</generator>
|
||||||
|
<updated>2025-01-23T00:00:00+00:00</updated>
|
||||||
|
<id>/blog/atom.xml</id>
|
||||||
|
<entry xml:lang="en">
|
||||||
|
<title>this is a test</title>
|
||||||
|
<published>2025-01-23T00:00:00+00:00</published>
|
||||||
|
<updated>2025-01-23T00:00:00+00:00</updated>
|
||||||
|
|
||||||
|
<author>
|
||||||
|
<name>
|
||||||
|
|
||||||
|
Unknown
|
||||||
|
|
||||||
|
</name>
|
||||||
|
</author>
|
||||||
|
|
||||||
|
<link rel="alternate" type="text/html" href="/blog/test/"/>
|
||||||
|
<id>/blog/test/</id>
|
||||||
|
|
||||||
|
<content type="html" xml:base="/blog/test/"><p>Zaydblog exists now. SUCK MY DICK PURPLEBORED FUCK YOU</p>
|
||||||
|
</content>
|
||||||
|
|
||||||
|
</entry>
|
||||||
|
</feed>
|
37
blog/index.html
Normal file
37
blog/index.html
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover">
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="/assets/css/main.css">
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="/blog/atom.xml">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<nav class="navbar">
|
||||||
|
<li><h1 class="title"><a href="/">wanderlost</a></h1></li>
|
||||||
|
<li><a href="/">Home</a></li>
|
||||||
|
<li><a href="/blog/">Index</a></li>
|
||||||
|
<li><a href="/blog/atom.xml">Atom</a></li>
|
||||||
|
</nav>
|
||||||
|
<main>
|
||||||
|
|
||||||
|
<div class="posts">
|
||||||
|
|
||||||
|
<div class="post">
|
||||||
|
<h3 class="post-title">
|
||||||
|
<a href="/blog/test/">
|
||||||
|
this is a test
|
||||||
|
</a> - 2025-01-23
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
4
blog/robots.txt
Normal file
4
blog/robots.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
User-agent: *
|
||||||
|
Disallow:
|
||||||
|
Allow: /
|
||||||
|
Sitemap: /blog/sitemap.xml
|
10
blog/sitemap.xml
Normal file
10
blog/sitemap.xml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
<url>
|
||||||
|
<loc>/blog/</loc>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>/blog/test/</loc>
|
||||||
|
<lastmod>2025-01-23</lastmod>
|
||||||
|
</url>
|
||||||
|
</urlset>
|
33
blog/test/index.html
Normal file
33
blog/test/index.html
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover">
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="/assets/css/main.css">
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="/blog/atom.xml">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<nav class="navbar">
|
||||||
|
<li><h1 class="title"><a href="/">wanderlost</a></h1></li>
|
||||||
|
<li><a href="/">Home</a></li>
|
||||||
|
<li><a href="/blog/">Index</a></li>
|
||||||
|
<li><a href="/blog/atom.xml">Atom</a></li>
|
||||||
|
</nav>
|
||||||
|
<main>
|
||||||
|
|
||||||
|
<div class="post">
|
||||||
|
<h1 class="post-title">this is a test</h1>
|
||||||
|
<h2 class="post-date">2025-01-23</h2>
|
||||||
|
<p>Zaydblog exists now. SUCK MY DICK PURPLEBORED FUCK YOU</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -3,13 +3,13 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="/assets/css/main.css">
|
<link rel="stylesheet" href="/assets/css/main.css">
|
||||||
<title>Zaydsite NOW!</title>
|
<title>wanderlost</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="navbar">
|
<nav class="navbar">
|
||||||
<li><h1 class="title"><a href="/">wanderlost</a></h1></li>
|
<li><h1 class="title"><a href="/">wanderlost</a></h1></li>
|
||||||
<li><a href="/links.html">links</a></li>
|
<li><a href="/links.html">links</a></li>
|
||||||
<li><a href="/blog.html">blog</a></li>
|
<li><a href="/blog/">blog</a></li>
|
||||||
</nav>
|
</nav>
|
||||||
<main>
|
<main>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="/assets/css/main.css">
|
<link rel="stylesheet" href="/assets/css/main.css">
|
||||||
<title>Zaydsite NOW!</title>
|
<title>wanderlost</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="navbar">
|
<nav class="navbar">
|
||||||
<li><h1 class="title"><a href="/">wanderlost</a></h1></li>
|
<li><h1 class="title"><a href="/">wanderlost</a></h1></li>
|
||||||
<li><a href="/links.html">links</a></li>
|
<li><a href="/links.html">links</a></li>
|
||||||
<li><a href="/blog.html">blog</a></li>
|
<li><a href="/blog/">blog</a></li>
|
||||||
</nav>
|
</nav>
|
||||||
<main>
|
<main>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue