From b2b027ec830074cabdad6f144a7b955c737171cd Mon Sep 17 00:00:00 2001 From: Joost Agterhoek Date: Sun, 8 Sep 2024 21:31:46 +0200 Subject: [PATCH] blog post, minor other changes --- config.toml | 6 +----- content/_index.md | 5 ++++- content/about.md | 2 ++ content/blog/2024-09-08-sync-working.md | 17 +++++++++++++++++ content/projects/_index.md | 11 +++++++++++ 5 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 content/blog/2024-09-08-sync-working.md create mode 100644 content/projects/_index.md diff --git a/config.toml b/config.toml index 80e60a1..058edeb 100644 --- a/config.toml +++ b/config.toml @@ -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/" } ] diff --git a/content/_index.md b/content/_index.md index debdb10..03edb3d 100644 --- a/content/_index.md +++ b/content/_index.md @@ -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 diff --git a/content/about.md b/content/about.md index ff81827..c67ca88 100644 --- a/content/about.md +++ b/content/about.md @@ -3,3 +3,5 @@ title = "About" +++ Just a test website (for now). Check out my [main website](https://joostagterhoek.nl) in the meantime. + +TESTING. diff --git a/content/blog/2024-09-08-sync-working.md b/content/blog/2024-09-08-sync-working.md new file mode 100644 index 0000000..766bda7 --- /dev/null +++ b/content/blog/2024-09-08-sync-working.md @@ -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/) diff --git a/content/projects/_index.md b/content/projects/_index.md new file mode 100644 index 0000000..d222541 --- /dev/null +++ b/content/projects/_index.md @@ -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.