From b54b3b39b278b5b704cea2e09741b077849886e2 Mon Sep 17 00:00:00 2001 From: Joost Agterhoek Date: Tue, 27 Aug 2024 21:17:05 +0200 Subject: [PATCH] removed some test blog pages --- _index.md | 14 -------------- about.md | 5 ----- content/blog/my-first-post.md | 25 ------------------------- content/blog/my-second-post.md | 7 ------- 4 files changed, 51 deletions(-) delete mode 100644 _index.md delete mode 100644 about.md delete mode 100644 content/blog/my-first-post.md delete mode 100644 content/blog/my-second-post.md diff --git a/_index.md b/_index.md deleted file mode 100644 index 6c11aa7..0000000 --- a/_index.md +++ /dev/null @@ -1,14 +0,0 @@ -+++ -template = "index.html" -title = "Test home page" -+++ - -Hi! - -This is my test website build with the static site generator [Zola](www.getzola.org). I want to try out a more direct workflow in writing/blogging and keeping up with projects than my [main website build with Grav](https://joostagterhoek.nl) can offer. Liking it so far! :star: - -## Blog Posts - -- 🥇 [My first blog post here](./blog/my-first-post) - -## Projects diff --git a/about.md b/about.md deleted file mode 100644 index 31100ea..0000000 --- a/about.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = "About" -+++ - -Hi there! I'm Joost Agterhoek and this is one of my websites. Currently not my main one, that would be [this lovely place](https://joostagterhoek.nl). This is still a work in progress. diff --git a/content/blog/my-first-post.md b/content/blog/my-first-post.md deleted file mode 100644 index d033b03..0000000 --- a/content/blog/my-first-post.md +++ /dev/null @@ -1,25 +0,0 @@ -+++ -title = "My first statically generated post" -date = 2024-08-24 -description = "A blog post about Obsidian, Zola and friction in writing" -+++ - -I have spent *many* hours searching and trying out different ways to manage my own website. I want it to be a resume, a place where I can blog if I want to (which is not really frequent), and most importantly, a place to showcase my development. Especially that last part has been hard: none of the setups I have tried worked so far. - -## Friction - -So what's wrong? What's holding me back? I've recently seen some YouTube-videos by [Devops Toolbox](https://youtu.be/oLpGahrsSGQ?si=YRMo5k47hx1GDHE-) and his comments on how friction in your workflow can degrade of your intended input. This got me thinking. Very recently I switched both my personal and work notes entirely to [Obsidian](https://obsidian.md/). There, I *finally* did not experience any friction, taking notes. So, I thought, why not make this wonderful writing and note taking experience that [combines Obsidian with Neovim](https://joostagterhoek.nl/blog/learning-obsidian) also work for my online presence? - -## Searching - -Unfortunately, the solution was not so easy: combining [Grav](https://www.getgrav.org) with Obsidian didn't work, because they both interpret and rely on YAML frontmatter. Given that I had already spent quite some time setting up my ideal Obsidian/Nvim-experience, I thought, well, maybe that last bit is just too good to be true. And then, I thought of statically generated websites. - -## Trying - - -I still don't have the workflow down exactly, but the ideal for me would be the following: I can write from Obsidian (phone or laptop) or Neovim a blog post, something about a project, and have it sync to and update my website seamlessly. After some failed attempts with Git and remote bare repositories (which I misunderstood), I think I *almost* have a working process. -1 => I write from my Obsidian vault (phone, laptop, Neovim) -2 => Obsidian and Neovim (with nvim.images) show me a preview of the content -3 => I sync the content to my server which puts it in the correct place and file ownership context - -I would say that I'm stuck at step 3, but not in an immovable way: I just need to configure everything right, learn how to best leverage [rsync](https://linux.die.net/man/1/rsync) and [inotify-tools](https://manpages.debian.org/bullseye/inotify-tools/inotifywait.1.en.html) to get a somewhat smart syncing going on, and then I'm in business. Oh yeah, also, I hope to get my emoji game on with [this plugin](https://github.com/Allaman/emoji.nvim?tab=readme-ov-file), because, uh, I'm a professional...? See you soon! diff --git a/content/blog/my-second-post.md b/content/blog/my-second-post.md deleted file mode 100644 index 95202da..0000000 --- a/content/blog/my-second-post.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -title = "Trying out my new Obsidian<->Zola sync" -date = 2024-08-26 -description = "A blog post about my attempt to sync an Obsidian vault from WSL to my Zola-instance on my Yunohost-server." -+++ - -Here we are! The first post on this particular website that I hope to sync neatly from my workstation's WSL installation to my Yunohost-server. I have been thinking about and trying out various ways to do it: Git repositories, syncing services like Syncthing. But in the end, especially as I take this work laptop with me almost every other day, I don't want anything too sophisticated or requiring real maintenance. So for the sake of reliability and ease-of-use, I want to combine Obsidian (store the static files in a vault folder) with Git (version control those static files to my [Gitea-instance](https://www.code.joostagterhoek.nl) and rsync (sync the static files from my Obsidian vault folder to the server). A script on my server is waiting for new files in a user folder to copy (new or modified) or delete files from the user folder to the root path of Zola. I will try this workflow for this blog post and a few future posts or edits and see how it goes.