summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuetow.org.sh15
-rw-r--r--content/gemtext/resources.gmi21
2 files changed, 26 insertions, 10 deletions
diff --git a/buetow.org.sh b/buetow.org.sh
index 738dcb4c..905ecd57 100755
--- a/buetow.org.sh
+++ b/buetow.org.sh
@@ -24,6 +24,19 @@ ERROR
## Gemfeed module
+# Adds the links from gemfeed/index.gmi to the main index site.
+gemfeed::updatemainindex () {
+ local -r index_gmi="$CONTENT_DIR/gemtext/index.gmi"
+
+ # Remove old gemfeeds from main index
+ sed '/^=> .\/gemfeed\/[0-9]/d;' "$index_gmi" > "$index_gmi.tmp"
+ # Add current gemfeeds to main index
+ sed -n '/^=> / { s| ./| ./gemfeed/|; p; }' "$gemfeed_dir/index.gmi" >> "$index_gmi.tmp"
+
+ mv "$index_gmi.tmp" "$index_gmi"
+ git add "$index_gmi"
+}
+
# This generates a index.gmi in the ./gemfeed subdir.
gemfeed::generate () {
local -r gemfeed_dir="$CONTENT_DIR/gemtext/gemfeed"
@@ -47,6 +60,8 @@ GEMFEED
mv "$gemfeed_dir/index.gmi.tmp" "$gemfeed_dir/index.gmi"
git add "$gemfeed_dir/index.gmi"
+
+ gemfeed::updatemainindex
}
## Atom module
diff --git a/content/gemtext/resources.gmi b/content/gemtext/resources.gmi
index a6aadd84..99c56bfe 100644
--- a/content/gemtext/resources.gmi
+++ b/content/gemtext/resources.gmi
@@ -59,22 +59,23 @@ I didn't read them from the beginning to the end, but I am using them to look up
## Self-development and soft-skills books
* Atomic Habits; James Clear; Random House Business
-* The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books
-* The Off Switch; Mark Cropley; Virgin Books
+* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook
* Eat That Frog!; Brian Tracy; Hodder Paperbacks
-* So Good They Can't Ignore You; Cal Newport; Business Plus
+* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly
+* Digital Minimalism; Cal Newport; Portofolio Penguin
+* Stop starting, start finishing; Arne Roock; Lean-Kanban University
+* Ultralearning; Scott Young; Thorsons
* The Joy of Missing Out; Christina Crook; New Society Publishers
+* Soft Skills; John Sommez; Manning Publications
+* So Good They Can't Ignore You; Cal Newport; Business Plus
* The Bullet Journal Method; Ryder Carroll; Fourth Estate
-* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook
* Psycho-Cybernetics; Maxwell Maltz; Perigee Books
-* Stop starting, start finishing; Arne Roock; Lean-Kanban University
-* The Power of Now; Eckhard Tolle; Yellow Kite
-* Soft Skills; John Sommez; Manning Publications
* Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion
-* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly
-* Digital Minimalism; Cal Newport; Portofolio Penguin
-* Ultralearning; Scott Young; Thorsons
+* The Off Switch; Mark Cropley; Virgin Books
+* The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books
* Deep Work; Cal Newport; Piatkus
+* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK
+* The Power of Now; Eckhard Tolle; Yellow Kite
## Technical video lectures and courses