diff options
| author | Paul Buetow <git@mx.buetow.org> | 2021-05-18 08:50:24 +0100 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2021-05-21 05:11:05 +0100 |
| commit | d371050f2fb79b6d66a810e60ff9c0ed2381f2cc (patch) | |
| tree | 7fab42e3388fcf5c4f5c92d65f916098c43b5591 | |
| parent | 6aee04354e443e2121bf6c558be227388a10e7b2 (diff) | |
dynamic html title
23 files changed, 31 insertions, 23 deletions
diff --git a/content/gemtext/index.gmi b/content/gemtext/index.gmi index 2d2cc43f..24a17257 100644 --- a/content/gemtext/index.gmi +++ b/content/gemtext/index.gmi @@ -1,8 +1,10 @@ +# buetow.org + ``` ,---------------------------, | /---------------------\ | | | | | - | | buetow.org | | + | | Paul's | | | | personal | | | | capsule | | | | | | diff --git a/content/html/contact-information.html b/content/html/contact-information.html index 6e688b9d..f9eed219 100644 --- a/content/html/contact-information.html +++ b/content/html/contact-information.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Contact information</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2008-06-26-perl-poetry.html b/content/html/gemfeed/2008-06-26-perl-poetry.html index ebb43d87..28635ea6 100644 --- a/content/html/gemfeed/2008-06-26-perl-poetry.html +++ b/content/html/gemfeed/2008-06-26-perl-poetry.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Perl Poetry</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html b/content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html index d96fdf27..a1494628 100644 --- a/content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html +++ b/content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Standard ML and Haskell</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2010-05-09-the-fype-programming-language.html b/content/html/gemfeed/2010-05-09-the-fype-programming-language.html index 8a2439d5..3410adf7 100644 --- a/content/html/gemfeed/2010-05-09-the-fype-programming-language.html +++ b/content/html/gemfeed/2010-05-09-the-fype-programming-language.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>The Fype Programming Language</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2011-05-07-perl-daemon-service-framework.html b/content/html/gemfeed/2011-05-07-perl-daemon-service-framework.html index fd73746f..6f443172 100644 --- a/content/html/gemfeed/2011-05-07-perl-daemon-service-framework.html +++ b/content/html/gemfeed/2011-05-07-perl-daemon-service-framework.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Perl Daemon (Service Framework)</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html b/content/html/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html index 1220d713..d81b5443 100644 --- a/content/html/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html +++ b/content/html/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Run Debian on your phone with Debroid</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2016-04-03-offsite-backup-with-zfs.html b/content/html/gemfeed/2016-04-03-offsite-backup-with-zfs.html index 4b42758b..4218fc62 100644 --- a/content/html/gemfeed/2016-04-03-offsite-backup-with-zfs.html +++ b/content/html/gemfeed/2016-04-03-offsite-backup-with-zfs.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Offsite backup with ZFS</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html b/content/html/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html index 5165562f..d5001adb 100644 --- a/content/html/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html +++ b/content/html/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Jails and ZFS with Puppet on FreeBSD</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html b/content/html/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html index ededb07c..cf8c2723 100644 --- a/content/html/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html +++ b/content/html/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Offsite backup with ZFS (Part 2)</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html b/content/html/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html index ab3b01a8..2edd0bf6 100644 --- a/content/html/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html +++ b/content/html/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Spinning up my own authoritative DNS servers</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2016-11-20-methods-in-c.html b/content/html/gemfeed/2016-11-20-methods-in-c.html index f33e70e2..f3c04e8f 100644 --- a/content/html/gemfeed/2016-11-20-methods-in-c.html +++ b/content/html/gemfeed/2016-11-20-methods-in-c.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Methods in C</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html b/content/html/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html index c201997f..41543269 100644 --- a/content/html/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html +++ b/content/html/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Realistic load testing with I/O Riot for Linux</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html b/content/html/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html index 0dc6c0c2..bcc73c73 100644 --- a/content/html/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html +++ b/content/html/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>DTail - The distributed log tail program</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2021-04-24-welcome-to-the-geminispace.html b/content/html/gemfeed/2021-04-24-welcome-to-the-geminispace.html index 2488ccbe..20478835 100644 --- a/content/html/gemfeed/2021-04-24-welcome-to-the-geminispace.html +++ b/content/html/gemfeed/2021-04-24-welcome-to-the-geminispace.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Welcome to the Geminispace</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2021-05-15-buetow.org.sh-one-bash-script-to-rule-it-all.draft.html b/content/html/gemfeed/2021-05-15-buetow.org.sh-one-bash-script-to-rule-it-all.draft.html index 7d47bdd6..21acf536 100644 --- a/content/html/gemfeed/2021-05-15-buetow.org.sh-one-bash-script-to-rule-it-all.draft.html +++ b/content/html/gemfeed/2021-05-15-buetow.org.sh-one-bash-script-to-rule-it-all.draft.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>buetow.org.sh - One Bash script to rule it all</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/2021-05-16-personal-bash-coding-style-guide.html b/content/html/gemfeed/2021-05-16-personal-bash-coding-style-guide.html index 28cbca3d..88702c24 100644 --- a/content/html/gemfeed/2021-05-16-personal-bash-coding-style-guide.html +++ b/content/html/gemfeed/2021-05-16-personal-bash-coding-style-guide.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Personal Bash coding style guide</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/gemfeed/index.html b/content/html/gemfeed/index.html index 9c86c949..c3c3028d 100644 --- a/content/html/gemfeed/index.html +++ b/content/html/gemfeed/index.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>buetow.org's Gemfeed</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/html/index.html b/content/html/index.html index 59d543bd..76713db1 100644 --- a/content/html/index.html +++ b/content/html/index.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>buetow.org</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { @@ -52,11 +52,12 @@ h2, h3 { </style> </head> <body> +<h1>buetow.org</h1> <pre> ,---------------------------, | /---------------------\ | | | | | - | | buetow.org | | + | | Paul's | | | | personal | | | | capsule | | | | | | diff --git a/content/html/resources.html b/content/html/resources.html index 026521f4..45b20f6b 100644 --- a/content/html/resources.html +++ b/content/html/resources.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>Resources</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/content/md/index.md b/content/md/index.md index 67fecb21..aa6f2589 100644 --- a/content/md/index.md +++ b/content/md/index.md @@ -1,8 +1,10 @@ +# buetow.org + ``` ,---------------------------, | /---------------------\ | | | | | - | | buetow.org | | + | | Paul's | | | | personal | | | | capsule | | | | | | diff --git a/header.html.part b/header.html.part index d7274abd..45cf151a 100644 --- a/header.html.part +++ b/header.html.part @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Having fun with computers!</title> +<title>%%TITLE%%</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <style type="text/css"> body { diff --git a/packages/generate.source.sh b/packages/generate.source.sh index e74d2995..248fe6c4 100644 --- a/packages/generate.source.sh +++ b/packages/generate.source.sh @@ -84,6 +84,9 @@ generate::_fromgmi () { md::fromgmi < "$src" >> "$dest.tmp" fi + local title=$($SED -n '/^# / { s/# //; p; q; }' "$src" | tr '"' "'") + test -z "title" && title=$SUBTITLE + $SED -i "s|%%TITLE%%|$title|g" "$dest.tmp" mv "$dest.tmp" "$dest" test "$ADD_GIT" == yes && git add "$dest" } |
