From bda44e93541fa478abf3ce4b3461f026a90fa8cb Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 11 Sep 2023 05:15:20 +0200 Subject: Move the site from HTML to GSP --- src/index.gsp | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 src/index.gsp (limited to 'src/index.gsp') diff --git a/src/index.gsp b/src/index.gsp new file mode 100644 index 0000000..9f2808c --- /dev/null +++ b/src/index.gsp @@ -0,0 +1,55 @@ +html lang="en" { + head { m4_include(head.gsp) } + body { + header { + h1 {-Root Page} + + figure .quote { + blockquote { + p {= + If Java had true garbage collection, most programs would delete + themselves upon execution. + } + } + figcaption {-Robert Sewell} + } + } + + main { + p {- + Welcome to my plot of the internet. This site is mostly oriented + towards topics related to software development, but you might eventually + find some things that are completely unrelated as well. The “source + code” for the site (if you can call m4_abbr(HTML) @x-ref{-1} and a basic + build system source code) + @a + href="https://git.thomasvoss.com/www.thomasvoss.com" + target="_blank" + {-are available through git}. + } + + aside { + p data-ref="1" {- + The site is actually written in my own m4_abbr(GSP) language, but it + transpiles into m4_abbr(HTML). Also, this site doesn’t even have any + JavaScript. There truly is no code. + } + } + + p {- + Now go branch off to a subsection of the site: + } + + ul { + li {a href="prj" {-My Projects}} + li {a href="srp" {-Software-Related Posts}} + li {a href="www" {-Other Websites}} + li {a href="ame" {-About Me}} + } + + hr{} + + footer { m4_footer } + } + } +} -- cgit v1.2.3