noxz-sites

A collection of a builder and various scripts creating the noxz.tech sites
git clone https://noxz.tech/git/noxz-sites.git
Log | Files | README | LICENSE

commit: fddafd5b2b0c8959722c105ab9010e2674326d11
parent: 8a4ecef5877ecaf0c41dacdf7971a8ee3723ee6f
author: Chris Noxz <chris@noxz.tech>
date:   Mon, 25 Jul 2022 13:57:03 +0200
move out metadata from index.www and generate headers in build
Mbuild48++++++++++++++------
Anoxz.tech/.metadata1+
Anoxz.tech/about/.metadata1+
Anoxz.tech/about/copying_policy/.metadata1+
Mnoxz.tech/about/copying_policy/index.www4--
Mnoxz.tech/about/index.www4--
noxz.tech/about/questions_&_answers/.metadata | 1 + noxz.tech/about/questions_&_answers/index.www | 4 -- Anoxz.tech/about/tools/.metadata1+ Mnoxz.tech/about/tools/index.www4-- Anoxz.tech/articles/.metadata1+ Anoxz.tech/articles/askpass_implementation_for_doas/.metadata5++ Mnoxz.tech/articles/askpass_implementation_for_doas/index.www13------ Anoxz.tech/articles/deduplication_of_my_nas/.metadata5++ Mnoxz.tech/articles/deduplication_of_my_nas/index.www13------ Mnoxz.tech/articles/index.www4-- Anoxz.tech/articles/moving_from_my_hacked_readynas_to_a_raspberry_pi/.metadata5++ Mnoxz.tech/articles/moving_from_my_hacked_readynas_to_a_raspberry_pi/index.www13------ Anoxz.tech/articles/sic_free_software_in_education/.metadata5++ Mnoxz.tech/articles/sic_free_software_in_education/index.www13------ Anoxz.tech/articles/simple_way_to_filter_email/.metadata5++ Mnoxz.tech/articles/simple_way_to_filter_email/index.www13------ Anoxz.tech/articles/srfinder/.metadata5++ Mnoxz.tech/articles/srfinder/index.www13------ Anoxz.tech/articles/the_lenovo_thinkpad_t400/.metadata5++ Mnoxz.tech/articles/the_lenovo_thinkpad_t400/index.www13------ Anoxz.tech/articles/vi_indicator_for_loksh/.metadata5++ Mnoxz.tech/articles/vi_indicator_for_loksh/index.www13------ Anoxz.tech/dictionary/.metadata1+ Mnoxz.tech/dictionary/index.www4-- Anoxz.tech/guides/.metadata1+ Anoxz.tech/guides/geogebra/.metadata1+ Mnoxz.tech/guides/geogebra/index.www4-- Anoxz.tech/guides/groff/.metadata1+ Mnoxz.tech/guides/groff/index.www4-- Anoxz.tech/guides/groff/simple_compiler_for_vim/.metadata1+ Mnoxz.tech/guides/groff/simple_compiler_for_vim/index.www4-- Anoxz.tech/guides/groff/writing_a_resume_in_groff/.metadata1+ Mnoxz.tech/guides/groff/writing_a_resume_in_groff/index.www4-- Mnoxz.tech/guides/index.www4-- Anoxz.tech/guides/mathematics/.metadata1+ Mnoxz.tech/guides/mathematics/index.www4-- Mnoxz.tech/index.www4-- Anoxz.tech/music/.metadata1+ Mnoxz.tech/music/index.www4-- Anoxz.tech/software/.metadata1+ Anoxz.tech/software/acst/.metadata1+ Mnoxz.tech/software/acst/index.www3-- Rnoxz.tech/software/cidr2ip/index.wwwnoxz.tech/software/cidr2ip/index.www_bak0 Mnoxz.tech/software/index.www4-- Rnoxz.tech/software/ip2cidr/index.wwwnoxz.tech/software/ip2cidr/index.www_bak0 Anoxz.tech/software/mpvd/.metadata1+ Mnoxz.tech/software/mpvd/index.www4-- Anoxz.tech/software/rspan/.metadata1+ Mnoxz.tech/software/rspan/index.www4-- Anoxz.tech/software/satan-gh60/.metadata1+ Mnoxz.tech/software/satan-gh60/index.www4-- Anoxz.tech/software/swps/.metadata1+ Mnoxz.tech/software/swps/index.www4-- Anoxz.tech/software/tapas/.metadata1+ Mnoxz.tech/software/tapas/index.www4-- Rnoxz.tech/software/wikid/index.wwwnoxz.tech/software/wikid/index.www_bak0 Anoxz.tech/software/xrectdraw/.metadata1+ Mnoxz.tech/software/xrectdraw/index.www4-- Anoxz.tech/software/ztatus/.metadata1+ Mnoxz.tech/software/ztatus/index.www4-- 66 files changed, 97 insertions(+), 209 deletions(-)
diff --git a/build b/build
@@ -2,7 +2,7 @@
 
 # ---------------------------- global variables ----------------------------- #
 SITE_DOMAIN="noxz.tech"
-SITE_TITLE="noxz.tech | noxz.tech - Chris Noxz (aka. z0noxz)"
+SITE_TITLE="noxz.tech | "
 SITE_MAIN_TITLE="noxz.tech"
 SITE_AUTHOR="Chris Noxz"
 SITE_ICON_PNG="//[site]/pub/logo.png"
@@ -234,19 +234,19 @@ render_main_menu_extra() {
 
 render_articles() {
 	echo .DIVS articles
-	find noxz.tech/articles -name index.www | while read -r article
+	find noxz.tech/articles -name .metadata | while read -r article
 	do
 		grep "^.ds YEAR" "$article" | sed 's/^.ds YEAR[^0-9]*//g'
 	done | sort -ru | while read -r year
 	do
 		printf '.HnS 1\n%s\n.HnE\n.ULS\n' "$year";
-		grep -l "^.ds YEAR.*$year" noxz.tech/articles/*/index.www \
+		grep -l "^.ds YEAR.*$year" noxz.tech/articles/*/.metadata           \
 		| xargs -I{} awk -v name="{}" '
 			BEGIN {
 			title = ""
 				month = ""
 				day = ""
-				gsub(/\/index.www/,"",name)
+				gsub(/\/.metadata/,"",name)
 				gsub(/^([^\/]|\/)*\//,"",name)
 				printf ".LI\\n "
 			}
@@ -267,11 +267,36 @@ render_articles() {
 				printf "%s %s \\(em\\n .URL \"%s\" \"%s\"\n", day, month, name, title
 			}
 		' {} | sort -k 3Mr -k 2nr | sed 's/\\n /\n/g'
-		printf '.ULE\n' "$year";
+		printf '.ULE\n';
 	done
 	echo .DIVE
 }
 
+prerender() {
+	base_path="${SITE_WWW%/*}"
+	title=""
+	date=""
+
+	[ -f "${base_path}"/.metadata ] && while read -r line; do
+		case "$line" in
+		\.ds\ TITLE*)   title="$(echo ${line#*TITLE})";;
+		\.ds\ DATE*)    date="$(echo ${line#*DATE})";;
+		esac
+		printf '%s\n' "${line}"
+	done < "${base_path}"/.metadata
+
+	[ -n "$title" ] && printf '.HnS 0\n\\*[TITLE]\n.HnE\n\n'
+	[ -n "$date" ] && printf '.P article-date\n\\*[DATE]\n\n'
+
+	cat - | while read -r line; do
+		if [ "${line}" = "{:articles:}" ]; then
+			render_articles
+		else
+			printf '%s\n' "${line}"
+		fi
+	done
+}
+
 render_main_content() {
 	awk '
 		# Grohtml (post-html.cpp) has a hard coded max length:
@@ -322,14 +347,9 @@ render_main_content() {
 			print
 		}
 	' "${SITE_WWW}"                                                         \
+	| prerender                                                             \
 	| cat "${CFG_GROFF_WWW_MACRO}" -                                        \
-	| while read -r line; do
-		if [ "${line}" = "{:articles:}" ]; then
-			render_articles
-		else
-			printf '%s\n' "${line}"
-		fi
-	done | groff                                                            \
+	| groff                                                                 \
 		-Thtml -e -mwww -k                                                  \
 		-I"${SITE_WWW%/*}/grohtml-"                                         \
 	| awk '
@@ -430,7 +450,7 @@ render_main() {
 	main_current=$(dirname "${main_current}/*")
 
 	[ -f "${main_current}/index.www" ] && SITE_WWW="${main_current}/index.www" || return
-	[ -f "${main_current}/.title" ] && SITE_TITLE="$(cat "${main_current}/.title")"
+	[ -f "${main_current}/.metadata" ] && SITE_TITLE="${SITE_TITLE}$(grep '\.ds\ TITLE' "${main_current}/.metadata" | sed 's/\.ds\ TITLE\s*//g')"
 	SITE_HTML="${SITE_WWW%.*}.html"
 
 	print_loading "Rendering ${main_current}"
@@ -926,7 +946,7 @@ main() {
 
 	# main render
 	[ -z "$2" ]                                                             \
-	&& find "$1" -type d                                                    \
+	&& find "$1" -depth -type d                                             \
 		-exec test -e '{}/index.www' \;                                     \
 		-exec "$0" "$1" {} \;
 	[ -n "$2" ]                                                             \
diff --git a/noxz.tech/.metadata b/noxz.tech/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Chris Noxz (aka. z0noxz)
diff --git a/noxz.tech/about/.metadata b/noxz.tech/about/.metadata
@@ -0,0 +1 @@
+.ds TITLE   About me
diff --git a/noxz.tech/about/copying_policy/.metadata b/noxz.tech/about/copying_policy/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Copying policy
diff --git a/noxz.tech/about/copying_policy/index.www b/noxz.tech/about/copying_policy/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-Copying policy
-.HnE
-
 This copying policy is only meant for content on this site, and this site only,
 and not for any external content or source code referenced from it. All source
 code carry their own licences for usage.
diff --git a/noxz.tech/about/index.www b/noxz.tech/about/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-About me
-.HnE
-
 .HnS 1
 Political view?
 .HnE
@@ -0,0 +1 @@
+.ds TITLE   Questions & answers
@@ -1,7 +1,3 @@
-.HnS 0
-Questions & answers
-.HnE
-
 .HnS 1
 libreboot, and blank background?
 .HnE
diff --git a/noxz.tech/about/tools/.metadata b/noxz.tech/about/tools/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Programs and tools I use
diff --git a/noxz.tech/about/tools/index.www b/noxz.tech/about/tools/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-Programs and tools I use
-.HnE
-
 Following is a pseudo complete list of all programs and tools I use on a
 regular basis. The list is for anyone who is either curious or wanting to try
 any of the programs and tools I use. The list may change with time.
diff --git a/noxz.tech/articles/.metadata b/noxz.tech/articles/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Articles
diff --git a/noxz.tech/articles/askpass_implementation_for_doas/.metadata b/noxz.tech/articles/askpass_implementation_for_doas/.metadata
@@ -0,0 +1,5 @@
+.ds YEAR    2021
+.ds MONTH   January
+.ds DAY     20
+.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
+.ds TITLE   Askpass implementation for doas
diff --git a/noxz.tech/articles/askpass_implementation_for_doas/index.www b/noxz.tech/articles/askpass_implementation_for_doas/index.www
@@ -1,16 +1,3 @@
-.ds YEAR    2021
-.ds MONTH   January
-.ds DAY     20
-.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
-.ds TITLE   Askpass implementation for doas
-.
-.HnS 0
-\*[TITLE]
-.HnE
-
-.P article-date
-\*[DATE]
-
 As I was trying to move away from using
 .ICD sudo
 to instead be using
diff --git a/noxz.tech/articles/deduplication_of_my_nas/.metadata b/noxz.tech/articles/deduplication_of_my_nas/.metadata
@@ -0,0 +1,5 @@
+.ds YEAR    2022
+.ds MONTH   July
+.ds DAY     22
+.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
+.ds TITLE   Deduplication of my NAS
diff --git a/noxz.tech/articles/deduplication_of_my_nas/index.www b/noxz.tech/articles/deduplication_of_my_nas/index.www
@@ -1,16 +1,3 @@
-.ds YEAR    2022
-.ds MONTH   July
-.ds DAY     22
-.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
-.ds TITLE   Deduplication of my NAS
-.
-.HnS 0
-\*[TITLE]
-.HnE
-
-.P article-date
-\*[DATE]
-
 After developing
 .URL //noxz.tech/software/acst acst ,
 I realized that the generated and stored checksum could be used for duplicate
diff --git a/noxz.tech/articles/index.www b/noxz.tech/articles/index.www
@@ -1,5 +1 @@
-.HnS 0
-Articles
-.HnE
-
 {:articles:}
diff --git a/noxz.tech/articles/moving_from_my_hacked_readynas_to_a_raspberry_pi/.metadata b/noxz.tech/articles/moving_from_my_hacked_readynas_to_a_raspberry_pi/.metadata
@@ -0,0 +1,5 @@
+.ds YEAR    2022
+.ds MONTH   June
+.ds DAY     27
+.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
+.ds TITLE   Moving from my hacked ReadyNAS to a Raspberry Pi
diff --git a/noxz.tech/articles/moving_from_my_hacked_readynas_to_a_raspberry_pi/index.www b/noxz.tech/articles/moving_from_my_hacked_readynas_to_a_raspberry_pi/index.www
@@ -1,16 +1,3 @@
-.ds YEAR    2022
-.ds MONTH   June
-.ds DAY     27
-.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
-.ds TITLE   Moving from my hacked ReadyNAS to a Raspberry Pi
-.
-.HnS 0
-\*[TITLE]
-.HnE
-
-.P article-date
-\*[DATE]
-
 I used to have a hacked/rooted RNRX4000 (ReadyNAS 2100) in which I had replaced
 the original operating system with VoidLinux, having the boot partition on the
 integrated flash memory (100MB). Due to it being noisy and power-consuming, I
diff --git a/noxz.tech/articles/sic_free_software_in_education/.metadata b/noxz.tech/articles/sic_free_software_in_education/.metadata
@@ -0,0 +1,5 @@
+.ds YEAR    2022
+.ds MONTH   July
+.ds DAY     24
+.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
+.ds TITLE   SiC: Free Software in education
diff --git a/noxz.tech/articles/sic_free_software_in_education/index.www b/noxz.tech/articles/sic_free_software_in_education/index.www
@@ -1,16 +1,3 @@
-.ds YEAR    2022
-.ds MONTH   July
-.ds DAY     24
-.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
-.ds TITLE   SiC: Free Software in education
-.
-.HnS 0
-\*[TITLE]
-.HnE
-
-.P article-date
-\*[DATE]
-
 As a Free Software advocate and a soon to be teacher, I agree with
 Richard\~Stallman and the Free Software Foundation about the idea of software
 in schools and education being exclusively Free Software.
diff --git a/noxz.tech/articles/simple_way_to_filter_email/.metadata b/noxz.tech/articles/simple_way_to_filter_email/.metadata
@@ -0,0 +1,5 @@
+.ds YEAR    2022
+.ds MONTH   June
+.ds DAY     11
+.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
+.ds TITLE   Simple way to filter email
diff --git a/noxz.tech/articles/simple_way_to_filter_email/index.www b/noxz.tech/articles/simple_way_to_filter_email/index.www
@@ -1,16 +1,3 @@
-.ds YEAR    2022
-.ds MONTH   June
-.ds DAY     11
-.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
-.ds TITLE   Simple way to filter email
-.
-.HnS 0
-\*[TITLE]
-.HnE
-
-.P article-date
-\*[DATE]
-
 Having a lot of different types of email had bugged me for some time, so I 
 sought to find a solution to this problem. The logical way of solving this would
 be to somehow filter email automatically into directories based on the type of 
diff --git a/noxz.tech/articles/srfinder/.metadata b/noxz.tech/articles/srfinder/.metadata
@@ -0,0 +1,5 @@
+.ds YEAR    2020
+.ds MONTH   September
+.ds DAY     04
+.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
+.ds TITLE   Srfinder
diff --git a/noxz.tech/articles/srfinder/index.www b/noxz.tech/articles/srfinder/index.www
@@ -1,16 +1,3 @@
-.ds YEAR    2020
-.ds MONTH   September
-.ds DAY     04
-.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
-.ds TITLE   Srfinder
-.
-.HnS 0
-\*[TITLE]
-.HnE
-
-.P article-date
-\*[DATE]
-
 During some laboratory work I was given the task to measure distance over time 
 using a tool called PASCO Capstone. Unfortunately this tool is neither free 
 software nor available for Linux. The only logical response to this was to 
diff --git a/noxz.tech/articles/the_lenovo_thinkpad_t400/.metadata b/noxz.tech/articles/the_lenovo_thinkpad_t400/.metadata
@@ -0,0 +1,5 @@
+.ds YEAR    2018
+.ds MONTH   January
+.ds DAY     14
+.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
+.ds TITLE   The Lenovo Thinkpad T400
diff --git a/noxz.tech/articles/the_lenovo_thinkpad_t400/index.www b/noxz.tech/articles/the_lenovo_thinkpad_t400/index.www
@@ -1,16 +1,3 @@
-.ds YEAR    2018
-.ds MONTH   January
-.ds DAY     14
-.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
-.ds TITLE   The Lenovo Thinkpad T400
-.
-.HnS 0
-\*[TITLE]
-.HnE
-
-.P article-date
-\*[DATE]
-
 After being tired of being tied to my stationary workstation I finally got
 myself into buying a laptop. I didn't want a new fancy laptop I would have to
 replace in 2 years, due to it being filled with gunk, overheating or in
diff --git a/noxz.tech/articles/vi_indicator_for_loksh/.metadata b/noxz.tech/articles/vi_indicator_for_loksh/.metadata
@@ -0,0 +1,5 @@
+.ds YEAR    2019
+.ds MONTH   October
+.ds DAY     09
+.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
+.ds TITLE   Vi indicator for loksh
diff --git a/noxz.tech/articles/vi_indicator_for_loksh/index.www b/noxz.tech/articles/vi_indicator_for_loksh/index.www
@@ -1,16 +1,3 @@
-.ds YEAR    2019
-.ds MONTH   October
-.ds DAY     09
-.ds DATE    \*[MONTH] \*[DAY], \*[YEAR]
-.ds TITLE   Vi indicator for loksh
-.
-.HnS 0
-\*[TITLE]
-.HnE
-
-.P article-date
-\*[DATE]
-
 When I switched from bash to (lo)ksh I did so because of bash being too bloated
 and prone to become slow under certain circumstances. However, there was a
 feature that I missed from bash \(en the ability to indicate vi modes (normal,
diff --git a/noxz.tech/dictionary/.metadata b/noxz.tech/dictionary/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Dictionary
diff --git a/noxz.tech/dictionary/index.www b/noxz.tech/dictionary/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-Dictionary
-.HnE
-
 A collection of words and phrases, and their meaning when I used them. The
 purpose of this list is partly to minimize misunderstandings of me and partly
 to clarify misconceptions in general.
diff --git a/noxz.tech/guides/.metadata b/noxz.tech/guides/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Guides
diff --git a/noxz.tech/guides/geogebra/.metadata b/noxz.tech/guides/geogebra/.metadata
@@ -0,0 +1 @@
+.ds TITLE   GeoGebra
diff --git a/noxz.tech/guides/geogebra/index.www b/noxz.tech/guides/geogebra/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-GeoGebra
-.HnE
-
 I personally use a portable version of GeoGebra as I'm not that fond of
 installing a full Java environment on my machine, and the portable version of
 GeoGebra comes with a portable version of JRE as well. So keep that in mind
diff --git a/noxz.tech/guides/groff/.metadata b/noxz.tech/guides/groff/.metadata
@@ -0,0 +1 @@
+.ds TITLE   groff (GNU troff)
diff --git a/noxz.tech/guides/groff/index.www b/noxz.tech/guides/groff/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-groff (GNU troff)
-.HnE
-
 As these guides are created for
 .I groff ,
 I cannot guarantee that they are applicable to
diff --git a/noxz.tech/guides/groff/simple_compiler_for_vim/.metadata b/noxz.tech/guides/groff/simple_compiler_for_vim/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Simple compiler for vim
diff --git a/noxz.tech/guides/groff/simple_compiler_for_vim/index.www b/noxz.tech/guides/groff/simple_compiler_for_vim/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-Simple compiler for vim
-.HnE
-
 When writing documents in vim it's nice to have a quick way of compiling them
 into desired formats. In my case I compile my groff files into pdfs, while at
 the same time having a preview in zathura. Zathura automatically detects
diff --git a/noxz.tech/guides/groff/writing_a_resume_in_groff/.metadata b/noxz.tech/guides/groff/writing_a_resume_in_groff/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Writing a resume in groff
diff --git a/noxz.tech/guides/groff/writing_a_resume_in_groff/index.www b/noxz.tech/guides/groff/writing_a_resume_in_groff/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-Writing a resume in groff
-.HnE
-
 Writing a curriculum in groff can seem difficult, but rest assured it can
 easily be accomplished and in this guide I will show how a simple resume can be
 created. In this guide I will use the macro set 
diff --git a/noxz.tech/guides/index.www b/noxz.tech/guides/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-Guides
-.HnE
-
 The following is a collection of guides, hacks, HOWTOs, tips and tricks \(en I
 have acquired over the years \(en for various programs and concepts. I will
 fill this list over a period of time, so it's far from complete \(en and
diff --git a/noxz.tech/guides/mathematics/.metadata b/noxz.tech/guides/mathematics/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Mathematics
diff --git a/noxz.tech/guides/mathematics/index.www b/noxz.tech/guides/mathematics/index.www
@@ -1,9 +1,5 @@
 .\".fam C
 .\"
-.HnS 0
-Mathematics
-.HnE
-
 Under this topic I will not just show tricks, as the notion of tricks in
 mathematics is probably the most damning to the spread of mathematical
 knowledge. I will instead explain how these, so called, tricks work using
diff --git a/noxz.tech/index.www b/noxz.tech/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-Chris Noxz (aka. z0noxz)
-.HnE
-
 Welcome to my personal page, which have taken some years to create. Not due to
 its massive amount of content and extensive design, but rather a lack of
 priority. To keep my internet footprint low, you won't find any fancy
diff --git a/noxz.tech/music/.metadata b/noxz.tech/music/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Music by Chris Noxz
diff --git a/noxz.tech/music/index.www b/noxz.tech/music/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-Music by Chris Noxz
-.HnE
-
 All published musical work under this page are considered to be published under 
 the CC license BY-SA if not stated otherwise.
 
diff --git a/noxz.tech/software/.metadata b/noxz.tech/software/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Software
diff --git a/noxz.tech/software/acst/.metadata b/noxz.tech/software/acst/.metadata
@@ -0,0 +1 @@
+.ds TITLE   acst
diff --git a/noxz.tech/software/acst/index.www b/noxz.tech/software/acst/index.www
@@ -1,6 +1,3 @@
-.HnS 0
-acst
-.HnE
 acst as a tool is designed to detect silent data corruption by first writing
 the mtime and the SHA256 checksum of a file into its extended attributes and
 then, upon later execution, comparing and verifying changes against both the
diff --git a/noxz.tech/software/cidr2ip/index.www b/noxz.tech/software/cidr2ip/index.www_bak
rename noxz.tech/software/cidr2ip/index.www → noxz.tech/software/cidr2ip/index.www_bak
diff --git a/noxz.tech/software/index.www b/noxz.tech/software/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-Software
-.HnE
-
 Read about programs I've written below. All source code is available
 .URL "//noxz.tech/git" "here" ,
 and also linked to from each software page respectively.
diff --git a/noxz.tech/software/ip2cidr/index.www b/noxz.tech/software/ip2cidr/index.www_bak
rename noxz.tech/software/ip2cidr/index.www → noxz.tech/software/ip2cidr/index.www_bak
diff --git a/noxz.tech/software/mpvd/.metadata b/noxz.tech/software/mpvd/.metadata
@@ -0,0 +1 @@
+.ds TITLE   mpvd
diff --git a/noxz.tech/software/mpvd/index.www b/noxz.tech/software/mpvd/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-mpvd
-.HnE
-
 usage:
 .B mpvd
 .HTML <br/>
diff --git a/noxz.tech/software/rspan/.metadata b/noxz.tech/software/rspan/.metadata
@@ -0,0 +1 @@
+.ds TITLE   rspan
diff --git a/noxz.tech/software/rspan/index.www b/noxz.tech/software/rspan/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-rspan
-.HnE
-
 usage:
 .B rspan
 .U interval
diff --git a/noxz.tech/software/satan-gh60/.metadata b/noxz.tech/software/satan-gh60/.metadata
@@ -0,0 +1 @@
+.ds TITLE   Satan GH60 (RevCHN)
diff --git a/noxz.tech/software/satan-gh60/index.www b/noxz.tech/software/satan-gh60/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-Satan GH60 (RevCHN)
-.HnE
-
 This tool is used for creating my configuration for a Satan GH60 RevCHN
 mechanical keyboard. There are three parts to this tool, the configuration
 (including keymap.c, config.h & rules.mk), the compilation and the flashing to
diff --git a/noxz.tech/software/swps/.metadata b/noxz.tech/software/swps/.metadata
@@ -0,0 +1 @@
+.ds TITLE   swps
diff --git a/noxz.tech/software/swps/index.www b/noxz.tech/software/swps/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-swps
-.HnE
-
 usage:
 .B swps
 .U port
diff --git a/noxz.tech/software/tapas/.metadata b/noxz.tech/software/tapas/.metadata
@@ -0,0 +1 @@
+.ds TITLE   tapas
diff --git a/noxz.tech/software/tapas/index.www b/noxz.tech/software/tapas/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-tapas
-.HnE
-
 The name stands for
 .B t o
 .B APA ,
diff --git a/noxz.tech/software/wikid/index.www b/noxz.tech/software/wikid/index.www_bak
rename noxz.tech/software/wikid/index.www → noxz.tech/software/wikid/index.www_bak
diff --git a/noxz.tech/software/xrectdraw/.metadata b/noxz.tech/software/xrectdraw/.metadata
@@ -0,0 +1 @@
+.ds TITLE   xrectdraw
diff --git a/noxz.tech/software/xrectdraw/index.www b/noxz.tech/software/xrectdraw/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-xrectdraw
-.HnE
-
 usage:
 .B xrectdraw
 .U x
diff --git a/noxz.tech/software/ztatus/.metadata b/noxz.tech/software/ztatus/.metadata
@@ -0,0 +1 @@
+.ds TITLE   ztatus
diff --git a/noxz.tech/software/ztatus/index.www b/noxz.tech/software/ztatus/index.www
@@ -1,7 +1,3 @@
-.HnS 0
-ztatus
-.HnE
-
 usage:
 .B ztatus
 .B \[u2011]d ] [