From baed7c3c8389fd1229cec2e9bb38ba7250da6582 Mon Sep 17 00:00:00 2001
From: Silas Bartha <silas@exvacuum.dev>
Date: Tue, 13 Aug 2024 16:57:45 -0400
Subject: [PATCH] Initial switch to zola site

---
 .gitignore                  |  1 +
 config.toml                 | 20 +++++++++++
 content/_index.md           | 15 +++++++++
 content/blog/_index.md      |  6 ++++
 content/blog/new-website.md | 67 +++++++++++++++++++++++++++++++++++++
 sass/_everforest.scss       | 22 ++++++++++++
 sass/style.scss             | 10 ++++++
 templates/base.html         | 15 +++++++++
 templates/blog-page.html    | 10 ++++++
 templates/blog.html         | 14 ++++++++
 templates/index.html        |  5 +++
 templates/projects.html     |  0
 12 files changed, 185 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 config.toml
 create mode 100644 content/_index.md
 create mode 100644 content/blog/_index.md
 create mode 100644 content/blog/new-website.md
 create mode 100644 sass/_everforest.scss
 create mode 100644 sass/style.scss
 create mode 100644 templates/base.html
 create mode 100644 templates/blog-page.html
 create mode 100644 templates/blog.html
 create mode 100644 templates/index.html
 create mode 100644 templates/projects.html

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a48cf0d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+public
diff --git a/config.toml b/config.toml
new file mode 100644
index 0000000..9c86351
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,20 @@
+# The URL the site will be built for
+base_url = "https://exvacuum.dev"
+
+# 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 = 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 = true
+
+# Whether external links are to be opened in a new tab
+# If this is true, a `rel="noopener"` will always automatically be added for security reasons
+external_links_target_blank = true
+
+[extra]
+# Put all your custom variables here
diff --git a/content/_index.md b/content/_index.md
new file mode 100644
index 0000000..0491e17
--- /dev/null
+++ b/content/_index.md
@@ -0,0 +1,15 @@
++++
+template = "index.html"
++++
+
+# silas
+
+- ~~projects~~ (coming soon, see [github](https://github.com/exvacuum) for now)
+- [blog](@/blog/_index.md)
+
+find me in other places
+
+- mail: [silas@exvacuum.dev](mailto:silas@exvacuum.dev)
+- github: [exvacuum](https://github.com/exvacuum)
+- youtube: [@silasbartha](https://youtube.com/@silasbartha)
+- x: [@EXVACVVM](https://x.com/EXVACVVM)
diff --git a/content/blog/_index.md b/content/blog/_index.md
new file mode 100644
index 0000000..818c73c
--- /dev/null
+++ b/content/blog/_index.md
@@ -0,0 +1,6 @@
++++
+title = "blog"
+sort_by = "date"
+template = "blog.html"
+page_template = "blog-page.html"
++++
diff --git a/content/blog/new-website.md b/content/blog/new-website.md
new file mode 100644
index 0000000..4c92481
--- /dev/null
+++ b/content/blog/new-website.md
@@ -0,0 +1,67 @@
++++
+title = "time for a new website"
+date = 2024-08-13
++++
+dear witness,
+
+this is the first post on my new website, which i'm creating using the [zola](https://www.getzola.org) static site generator
+
+the old site used [jekyll](jekyllrb.com), which i like a lot, and i've used it for over 5 years
+
+<br/>
+
+i always found the ruby development environment to be a massive pain in the ass to set up, which is why zola was pretty appealing
+
+i also never use ruby for damn near anything, so i never keep it installed
+
+i've also just been meaning to change things up a little in general
+
+the whole early web 2.0 aesthetic is a lot of fun, but i've been feeling a bit more drawn towards minimalism lately
+
+besides, i was barely even sentient when that aesthetic was big
+
+<br/>
+
+i might port over the old posts
+
+might not
+
+some of that stuff was pretty cool
+
+you can always check out the internet archive to see that stuff if you want: [http://web.archive.org/web/20240226014714/https://exvacuum.dev/notes](http://web.archive.org/web/20240226014714/https://exvacuum.dev/notes)
+
+<br/>
+
+idk why i decided to write like this but it's kind of funny
+
+a bit rambly
+
+it's actually really annoying trying to intentionally write poorly
+
+<br/>
+
+i do want to start writing more of these things because god i feel like i learn so much and don't have anywhere to share it
+
+like i have my [youtube channel](https://youtube.com/@silasbartha), which is great when i can muster up the willpower to throw something together, but i don't feel like my skills are developed enough to output videos at a rate or quality which would satisfy me
+
+i would be spending more time on videos about my projects than the projects themselves
+
+<br/>
+
+i'm actually putting off my big personal project right now to do this lol
+
+but it's important (i think)
+
+my site's on my resume and i'm looking for jobs right now
+
+if you're a potential employer reading this, first of all: i'm surprised you read this far!
+
+but also please hire me or something
+
+not for frontend web development obviously
+
+<br/>
+
+thanks for reading this,
+
+\- silas
diff --git a/sass/_everforest.scss b/sass/_everforest.scss
new file mode 100644
index 0000000..fffc389
--- /dev/null
+++ b/sass/_everforest.scss
@@ -0,0 +1,22 @@
+$fg: #D3C6AA;
+$bg0: #2D353B;
+$bg1: #343F44;
+$bg2: #3D484D;
+$bg3: #475258;
+$bg4: #4F585E;
+$bg5: #56635F;
+
+$bg_dim: #232A2E;
+$bg_red: #543A48;
+$bg_visual: #514045;
+$bg_yellow: #4D4C43;
+$bg_green: #425047;
+$bg_blue: #3A515D;
+
+$red: #E76E80;
+$orange: #E69875;
+$yellow: #DBBC7F;
+$green: #A7C080;
+$blue: #7FBBB3;
+$aqua: #83C092;
+$purple: #D699B6;
diff --git a/sass/style.scss b/sass/style.scss
new file mode 100644
index 0000000..65b7bae
--- /dev/null
+++ b/sass/style.scss
@@ -0,0 +1,10 @@
+@use "everforest";
+
+body {
+  color: everforest.$fg;
+  background-color: everforest.$bg0;
+}
+
+a {
+  color: everforest.$blue;
+}
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..c74aceb
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang="en">
+	<head>
+		<meta charset="utf-8"/>
+		<title>silas</title>
+		<link rel="stylesheet" href="/style.css"/>
+	</head>
+	<body>
+		<section class="section">
+			<div class="container">
+				{% block  content %} {% endblock %}
+			</div>
+		</section>
+	</body>
+</html>
diff --git a/templates/blog-page.html b/templates/blog-page.html
new file mode 100644
index 0000000..61f99d8
--- /dev/null
+++ b/templates/blog-page.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+
+{% block content %}
+<a href="{{ get_url(path='@/blog/_index.md') }}"> <- back to posts</a>
+<h1 class="title">
+	{{ page.title }}
+</h1>
+<p class="subtitle"><strong>{{ page.date }}</strong></p>
+{{ page.content | safe }}
+{% endblock content %}
diff --git a/templates/blog.html b/templates/blog.html
new file mode 100644
index 0000000..56365fc
--- /dev/null
+++ b/templates/blog.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block content %}
+<a href="{{ get_url(path='@/_index.md') }}"> <- back to landing</a>
+<h1 class="title">
+	{{ section.title }}
+</h1>
+
+<ul>
+	{% for page in section.pages %}
+	<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a> ({{page.date}})</li>
+	{% endfor %}
+</ul>
+{% endblock content %}
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..575141f
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,5 @@
+{% extends "base.html" %}
+
+{% block content %}
+{{ section.content | safe }}
+{% endblock content %}
diff --git a/templates/projects.html b/templates/projects.html
new file mode 100644
index 0000000..e69de29