Initial switch to zola site

This commit is contained in:
Silas Bartha 2024-08-13 16:57:45 -04:00
commit baed7c3c83
Signed by: soaos
GPG Key ID: 9BD3DCC0D56A09B2
12 changed files with 185 additions and 0 deletions

1
.gitignore vendored Normal file

@ -0,0 +1 @@
public

20
config.toml Normal file

@ -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

15
content/_index.md Normal file

@ -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)

6
content/blog/_index.md Normal file

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

@ -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

22
sass/_everforest.scss Normal file

@ -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;

10
sass/style.scss Normal file

@ -0,0 +1,10 @@
@use "everforest";
body {
color: everforest.$fg;
background-color: everforest.$bg0;
}
a {
color: everforest.$blue;
}

15
templates/base.html Normal file

@ -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>

10
templates/blog-page.html Normal file

@ -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 %}

14
templates/blog.html Normal file

@ -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 %}

5
templates/index.html Normal file

@ -0,0 +1,5 @@
{% extends "base.html" %}
{% block content %}
{{ section.content | safe }}
{% endblock content %}

0
templates/projects.html Normal file