blog post, minor other changes

This commit is contained in:
Joost Agterhoek 2024-09-08 21:31:46 +02:00
parent 320a1b2b65
commit b2b027ec83
5 changed files with 35 additions and 6 deletions

View File

@ -10,11 +10,6 @@ taxonomies = [
{name = "tags", feed = true},
]
[languages.fr]
weight = 2
languageName = "Français"
languageCode = "fr"
[markdown]
render_emoji = true
external_links_target_blank = true
@ -44,6 +39,7 @@ twitter_card = true
header_nav = [
{ url = "/", name_en = "/home/", name_fr = "/accueil/" },
{ url = "/about", name_en = "/about/", name_fr = "/concernant/" },
{ url ="/projects", name_en = "/projects/" },
{ url = "/journal", name_en = "/journal/", name_fr = "/journal/" },
{ url = "/blog", name_en = "/blog/", name_fr = "/blog/" }
]

View File

@ -8,7 +8,7 @@ This is a test website built with Zola. Here I want to try to build a more easy
Here are some highlighted blog posts, check out all my posts [here](./blog/):
- 🐛 [I want to learn malware analysis (again)](./blog/2024-08-28-practical-malware-analysis.md)
- 🐛 [I want to learn malware analysis (again)](./blog/practical-malware-analysis)
- 🔥 [testing](./blog/testing)
## Tags
@ -16,6 +16,9 @@ Here are some highlighted blog posts, check out all my posts [here](./blog/):
Browse my posts by tags:
- [test](./tags/test)
- [malware analysis](./tags/malware-analysis)
- [programming](./tags/programming)
- [reverse engineering](./tags/reverse-engineering)
## Find me online

View File

@ -3,3 +3,5 @@ title = "About"
+++
Just a test website (for now). Check out my [main website](https://joostagterhoek.nl) in the meantime.
TESTING.

View File

@ -0,0 +1,17 @@
+++
title = "syncing works"
[taxonomies]
tags = ["self-hosting", "zola", "automation", "systemd"]
+++
I am quite 🤩 ecstatic 🤩: I got a seamless sync working between my local Git-controlled site content and my server! The way I did it:
1. use rsync to sync local files to the server in a normal user-owned folder
2. setup another rsync-script owned by the `zola` user on the server
3. create a `systemd` unit path and service that syncs these files with the proper ownership to the folders where the `zola` service watches for changes
4. 💸 profit!
Online resources that helped me with this:
- [Using systemd Path Units to Monitor Files and Directories](https://www.putorius.net/systemd-path-units.html)
- [How to run systemd service as specific user and group in Linux](https://www.golinuxcloud.com/run-systemd-service-specific-user-group-linux/)

View File

@ -0,0 +1,11 @@
+++
paginate_by = 15
title = "All working projects"
sort_by = "date"
+++
> List of all *[tags](/tags)*
_Testing_
* todo: work out an HTML template (like blog with `blog-page.html`. Something that for example shows a project title, a main image and a brief description, along with the latest date.