From 5b3b573dbd5f7761ff14830a7603917156d05590 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 5 Oct 2023 22:12:48 +0200 Subject: Introduce the m4_ab macro in www/ --- src/www/index.gsp | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'src/www') diff --git a/src/www/index.gsp b/src/www/index.gsp index 8b98591..6b7cfed 100644 --- a/src/www/index.gsp +++ b/src/www/index.gsp @@ -1,3 +1,5 @@ +m4_define(m4_ab, a target="_blank") + html lang="en" { head { m4_include(head.gsp) } body { @@ -28,32 +30,32 @@ html lang="en" { h3 {-My Websites} ul { li { - a target="_blank" href="https://archive.thomasvoss.com" {- + m4_ab href="https://archive.thomasvoss.com" {- @cite{-archive} — Mario Kart Wii time trials archive } } li { - a target="_blank" href="https://cv.thomasvoss.com" {- + m4_ab href="https://cv.thomasvoss.com" {- @cite{-cv} — my résumé/curriculum vitæ } } li { - a target="_blank" href="https://euro.thomasvoss.com" {- + m4_ab href="https://euro.thomasvoss.com" {- @cite{-euro} — my euro coin and -banknote collection } } li { - a target="_blank" href="https://git.thomasvoss.com" {- + m4_ab href="https://git.thomasvoss.com" {- @cite{-git} — my git server } } li { - a target="_blank" href="https://paste.thomasvoss.com" {- + m4_ab href="https://paste.thomasvoss.com" {- @cite{-paste} — my paste server } } li { - a target="_blank" href="https://retime.mcbe.wtf" {- + m4_ab href="https://retime.mcbe.wtf" {- @cite{-retime} — a webtool for retiming speedruns } } @@ -62,37 +64,37 @@ html lang="en" { h3 {-Not My Websites} ul { li { - a target="_blank" href="https://classicshorts.com" {- + m4_ab href="https://classicshorts.com" {- @cite{-classicshorts} — a collection of short stories } } li { - a target="_blank" href="https://iannis.io" {- + m4_ab href="https://iannis.io" {- @cite{-iannis.io} — blog posts on programming topics } } li { - a target="_blank" href="https://redblobgames.com" {- + m4_ab href="https://redblobgames.com" {- @cite{-redblobgames} — algorithms in the context of video games } } li { - a target="_blank" href="https://tdmm.eu" {- + m4_ab href="https://tdmm.eu" {- @cite{-tdmm} — blog posts on low-level development } } li { - a target="_blank" href="https://bal-e.org/blog" {- + m4_ab href="https://bal-e.org/blog" {- @cite{-bal-e} — it’s like tdmm.eu I guess } } li { - a target="_blank" href="http://textfiles.com" {- + m4_ab href="http://textfiles.com" {- @cite{-textfiles} — a collection of thousands of plain-text files } } li { - a target="_blank" href="https://cat-v.org" {- + m4_ab href="https://cat-v.org" {- @cite{-cat-v} — @q{-The Internet is not for sissies.} } } @@ -101,8 +103,7 @@ html lang="en" { h3 {-Assorted Links} ul { li { - a - target="_blank" + m4_ab href="https://web.archive.org/web/20230619115633/http://lists.warhead.org.uk/pipermail/iwe/2005-July/000130.html" { cite {-Why Lisp Macros are Cool} -- cgit v1.2.3