From 34dc5f675fc97ea19895b928c9c86b6798015e68 Mon Sep 17 00:00:00 2001 From: Tristan Ancelet Date: Tue, 5 Sep 2023 21:39:53 -0500 Subject: [PATCH] Regenerated index --- Site/blog-issue.html | 7 +++---- Site/index.html | 15 +++++++++++---- blog/blog-issue.wiki | 7 +++---- blog/index.wiki | 5 +++-- utils/libs/generate.sh | 4 +++- 5 files changed, 23 insertions(+), 15 deletions(-) diff --git a/Site/blog-issue.html b/Site/blog-issue.html index 3cd8a47..a193961 100644 --- a/Site/blog-issue.html +++ b/Site/blog-issue.html @@ -39,9 +39,8 @@ Here is the commands it did to whitelist DNS (running firewalld as a device side

-    firewall-cmd --perm --zone=public --add-service=dns
-    
-    firewall-cmd --reload
+firewall-cmd --perm --zone=public --add-service=dns
+firewall-cmd --reload
 

@@ -49,7 +48,7 @@ After checking that DNS was resolving with dig, I was able to visit my site with

-    dig blog.tristanancelet.com
+dig blog.tristanancelet.com
 
diff --git a/Site/index.html b/Site/index.html index ab64404..3ab3218 100644 --- a/Site/index.html +++ b/Site/index.html @@ -20,10 +20,17 @@

-

-Blog Issue (2023/09/05) -Hello World (2023/09/02) -

+ + + diff --git a/blog/blog-issue.wiki b/blog/blog-issue.wiki index 87a250a..4ae1149 100644 --- a/blog/blog-issue.wiki +++ b/blog/blog-issue.wiki @@ -18,15 +18,14 @@ I had a backup DNS server as well, but after looking into the VM (that was still Here is the commands it did to whitelist DNS (running firewalld as a device side firewall) {{{bash - firewall-cmd --perm --zone=public --add-service=dns - - firewall-cmd --reload +firewall-cmd --perm --zone=public --add-service=dns +firewall-cmd --reload }}} After checking that DNS was resolving with dig, I was able to visit my site with no more issues. {{{bash - dig blog.tristanancelet.com +dig blog.tristanancelet.com }}} diff --git a/blog/index.wiki b/blog/index.wiki index 071054e..f72cc03 100644 --- a/blog/index.wiki +++ b/blog/index.wiki @@ -7,6 +7,7 @@ ## Blog Posts ------------- -[[blog-issue.wiki|Blog Issue (2023/09/05)]] -[[hello-world.wiki|Hello World (2023/09/02)]] +- [[blog-issue.wiki|Blog Issue (2023/09/05)]] + +- [[hello-world.wiki|Hello World (2023/09/02)]] diff --git a/utils/libs/generate.sh b/utils/libs/generate.sh index 4470a7b..80b8135 100644 --- a/utils/libs/generate.sh +++ b/utils/libs/generate.sh @@ -40,6 +40,8 @@ echo $TITLES *Date:* `date +'%Y/%m/%d'` *Author:* Tristan Ancelet + += $PAGE_TITLE = EOF return 0 @@ -69,7 +71,7 @@ for file in ${blog_files[@]}; do FILENAME="$(basename $file)" DATE="$(grep -i 'date:' $file | grep -Eo '[0-9]{4}/[0-9]{2}/[0-9]{2}')" - echo "[[$FILENAME|$TITLE ($DATE)]]" + echo -e "- [[$FILENAME|$TITLE ($DATE)]] \n" done `