From 1fea2c7f5e576766b08502572c799270b4bea3ef Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 22 Feb 2024 21:50:58 +0100 Subject: Add some basics, to test macro functionality --- src/index.gsp | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 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..530bfae --- /dev/null +++ b/src/index.gsp @@ -0,0 +1,56 @@ +html lang="en" { + head { HEAD } + 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="man" {-Manual Pages}} + li {a href="prj" {-Documentation}} + li {a href="blog" {-Blog Posts}} + li {a href="www" {-Other Websites}} + li {a href="ame" {-About Me}} + } + + hr{} + + footer { FOOT } + } + } +} -- cgit v1.2.3