cmc/cleberg.net

My personal web garden & blog.

clone: git clone https://gitbay.org/cmc/cleberg.net.git

f3344e6d9030c12e9f0f499a1ef1530b56114266

unsigned

author: Christian Cleberg <hello@cleberg.net> · 2024-12-06T00:07:32Z

add README build commands
 build.sh                                      |  5 +++++
 content/blog/2022-06-22-daily-poetry.org      |  2 +-
 content/blog/2022-12-23-alpine-desktop.org    |  2 +-
 content/blog/2023-02-02-exploring-hare.org    |  4 ++--
 content/blog/2024-08-11-org-mode-features.org | 16 ++++++++--------
 content/services/index.org                    |  2 +-
 6 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/build.sh b/build.sh
index 60fb0f9..6bbed3c 100755
--- a/build.sh
+++ b/build.sh
@@ -32,6 +32,11 @@ if [[ "$answer" =~ ^[Yy]$ ]]; then
         
         # Minify CSS
         minify -o theme/static/styles.min.css theme/static/styles.css
+
+        # Update README on Sourcehut
+        pandoc -f org -t html readme.org  -o readme.html
+		hut git update --readme readme.html --repo
+		https://git.sr.ht/\~cyborg/cleberg.net
         
         # Deploy changes
         rsync -r --delete-before .build/* $ubuntu_server:/var/www/cleberg.net/
diff --git a/content/blog/2022-06-22-daily-poetry.org b/content/blog/2022-06-22-daily-poetry.org
index 7e40934..4a472b5 100644
--- a/content/blog/2022-06-22-daily-poetry.org
+++ b/content/blog/2022-06-22-daily-poetry.org
@@ -7,7 +7,7 @@
 
 I don't want to bury the lede here, so if you'd like to see the full source code
 I use to email myself plaintext poems daily, visit the repository:
-[[https://github.com/ccleberg/daily-poem][daily-poem.git]].
+[[https://git.sr.ht/~cyborg/daily-poem][daily-poem.git]].
 
 * My Daily Dose of Poetry
 
diff --git a/content/blog/2022-12-23-alpine-desktop.org b/content/blog/2022-12-23-alpine-desktop.org
index 7d32df7..7f98d2d 100644
--- a/content/blog/2022-12-23-alpine-desktop.org
+++ b/content/blog/2022-12-23-alpine-desktop.org
@@ -168,7 +168,7 @@ doas apk add brightnessctl   \ # Brightness controller
 #+end_src
 
 From here, I use my Syncthing storage to pull all the configuration files I
-stored from prior desktops, such as my [[https://github.com/ccleberg/dotfiles][dotfiles]].
+stored from prior desktops, such as my [[https://git.sr.ht/~cyborg/dotfiles][dotfiles]].
 
 * Resolving Issues
 
diff --git a/content/blog/2023-02-02-exploring-hare.org b/content/blog/2023-02-02-exploring-hare.org
index e7ce0d0..4ae339a 100644
--- a/content/blog/2023-02-02-exploring-hare.org
+++ b/content/blog/2023-02-02-exploring-hare.org
@@ -50,12 +50,12 @@ page.
 
 ** Creating a Test Project
 
-In order to play with the language, I created [[https://github.com/ccleberg/learn-hare][hare-test]] and will be putting any
+In order to play with the language, I created [[https://git.sr.ht/~cyborg/learn-hare][hare-test]] and will be putting any
 of my Hare-related adventures in here.
 
 #+begin_quote
 *Update:* I also created a simple Hare program for creating a file from user
-input: [[https://github.com/ccleberg/learn-hare/blob/main/files/files.ha][files.ha]]
+input: [[https://git.sr.ht/~cyborg/learn-hare/tree/main/item/files/files.ha][files.ha]]
 #+end_quote
 
 Luckily, Hare doesn't require any complex set-up tools or build
diff --git a/content/blog/2024-08-11-org-mode-features.org b/content/blog/2024-08-11-org-mode-features.org
index e089b51..c8b1e01 100644
--- a/content/blog/2024-08-11-org-mode-features.org
+++ b/content/blog/2024-08-11-org-mode-features.org
@@ -7,7 +7,7 @@
 * Cycling (Folding)
 
 #+begin_quote
-[[https://github.com/ccleberg/cleberg.net/blob/main/content/blog/2024-08-11-org-mode-features.org?plain=1#L7][View this section]] in org-mode.
+[[https://git.sr.ht/~cyborg/cleberg.net/tree/main/item/content/blog/2024-08-11-org-mode-features.org#L7][View this section]] in org-mode.
 #+end_quote
 
 My absolute top-used feature is [[https://orgmode.org/manual/Global-and-local-cycling.html][global and local cycling]] and it's not even
@@ -55,7 +55,7 @@ at the top of the buffer:
 * TODO Lists
 
 #+begin_quote
-[[https://github.com/ccleberg/cleberg.net/blob/main/content/blog/2024-08-11-org-mode-features.org?plain=1#L55][View this section]] in org-mode.
+[[https://git.sr.ht/~cyborg/cleberg.net/tree/main/item/content/blog/2024-08-11-org-mode-features.org#L55][View this section]] in org-mode.
 #+end_quote
 
 Next up on in this post are [[https://orgmode.org/manual/TODO-Items.html][TODO Lists]]. Being able to combine note taking and
@@ -106,7 +106,7 @@ that variable to alert me of tasks with iOS native notifications.
 * Time Stamping
 
 #+begin_quote
-[[https://github.com/ccleberg/cleberg.net/blob/main/content/blog/2024-08-11-org-mode-features.org?plain=1#L106][View this section]] in org-mode.
+[[https://git.sr.ht/~cyborg/cleberg.net/tree/main/item/content/blog/2024-08-11-org-mode-features.org#L106][View this section]] in org-mode.
 #+end_quote
 
 Another great feature are the [[https://orgmode.org/manual/Dates-and-Times.html][dates and times]] functionalities within org-mode.
@@ -137,7 +137,7 @@ different options available when creating timestamps.
 * Tags
 
 #+begin_quote
-[[https://github.com/ccleberg/cleberg.net/blob/main/content/blog/2024-08-11-org-mode-features.org?plain=1#L137][View this section]] in org-mode.
+[[https://git.sr.ht/~cyborg/cleberg.net/tree/main/item/content/blog/2024-08-11-org-mode-features.org#L137][View this section]] in org-mode.
 #+end_quote
 
 Next up are [[https://orgmode.org/manual/Tags.html][Tags]], which provide a way to document contexts within and across
@@ -162,7 +162,7 @@ m= and search for a tag of your choosing.
 * Tables
 
 #+begin_quote
-[[https://github.com/ccleberg/cleberg.net/blob/main/content/blog/2024-08-11-org-mode-features.org?plain=1#L162][View this section]] in org-mode.
+[[https://git.sr.ht/~cyborg/cleberg.net/tree/main/item/content/blog/2024-08-11-org-mode-features.org#L162][View this section]] in org-mode.
 #+end_quote
 
 One of the most inconvenient parts of writing in Markdown was dealing with
@@ -232,7 +232,7 @@ on the second line.
 * Source Code Blocks
 
 #+begin_quote
-[[https://github.com/ccleberg/cleberg.net/blob/main/content/blog/2024-08-11-org-mode-features.org?plain=1#L232][View this section]] in org-mode.
+[[https://git.sr.ht/~cyborg/cleberg.net/tree/main/item/content/blog/2024-08-11-org-mode-features.org#L232][View this section]] in org-mode.
 #+end_quote
 
 ** Introduction to Source Code Blocks
@@ -302,7 +302,7 @@ results below the code block.
 * Exporting and Publishing
 
 #+begin_quote
-[[https://github.com/ccleberg/cleberg.net/blob/main/content/blog/2024-08-11-org-mode-features.org?plain=1#L302][View this section]] in org-mode.
+[[https://git.sr.ht/~cyborg/cleberg.net/tree/main/item/content/blog/2024-08-11-org-mode-features.org#L302][View this section]] in org-mode.
 #+end_quote
 
 I would be remiss if I did not mention the native [[https://orgmode.org/manual/Exporting.html][exporting and publishing]]
@@ -336,7 +336,7 @@ external [[https://orgmode.org/tools.html][tools]], including [[https://orgmode.
 * Agenda
 
 #+begin_quote
-[[https://github.com/ccleberg/cleberg.net/blob/main/content/blog/2024-08-11-org-mode-features.org?plain=1#L336][View this section]] in org-mode.
+[[https://git.sr.ht/~cyborg/cleberg.net/tree/main/item/content/blog/2024-08-11-org-mode-features.org#L336][View this section]] in org-mode.
 #+end_quote
 
 Last, but not least, are [[https://orgmode.org/manual/Agenda-Views.html][Agenda Views]]. With agenda views, you can easily view
diff --git a/content/services/index.org b/content/services/index.org
index 3c61a8a..57acc21 100644
--- a/content/services/index.org
+++ b/content/services/index.org
@@ -12,4 +12,4 @@
 - [[https://rimgo.cleberg.net/][Rimgo]] - An alternative frontend for Imgur
 - [[https://search.cleberg.net/][SearXNG]] - A privacy-respecting, open metasearch engine
 
-See the [[https://github.com/ccleberg/cleberg.net/commits/main/content/services/index.org][git log]] if you want to see changes that have been made.
+See the [[https://git.sr.ht/~cyborg/cleberg.net/log/main/item/content/services/index.org][git log]] if you want to see changes that have been made.