aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-08-07 18:20:38 +0200
committerRomain Gonçalves <me@rgoncalves.se>2021-08-07 18:20:38 +0200
commit66d48a7a4c98383e5baef20d352a3d2e4e681a6a (patch)
tree752afac2d229577c71c1859b6c597a89e59dbd2e /templates
parent1b5bfd89244367acf86fcf311dbddacd22bd7b14 (diff)
downloadwebsite-66d48a7a4c98383e5baef20d352a3d2e4e681a6a.tar.gz
bin: Generation scaffold
Diffstat (limited to 'templates')
-rw-r--r--templates/_metadata.md3
-rw-r--r--templates/default.html15
-rw-r--r--templates/footer.md1
-rw-r--r--templates/head.html4
-rw-r--r--templates/header.md8
5 files changed, 31 insertions, 0 deletions
diff --git a/templates/_metadata.md b/templates/_metadata.md
new file mode 100644
index 0000000..da79be4
--- /dev/null
+++ b/templates/_metadata.md
@@ -0,0 +1,3 @@
+$(
+pwd
+)
diff --git a/templates/default.html b/templates/default.html
new file mode 100644
index 0000000..9156cbd
--- /dev/null
+++ b/templates/default.html
@@ -0,0 +1,15 @@
+<html>
+include(templates/head.html)
+<body>
+ <header>
+ include(tmp/header.html)
+ </header>
+ sinclude(tmp/metadata.html)
+ sinclude(tmp/toc.html)
+ include(tmp/body.html)
+ sinclude(tmp/index.html)
+ <footer>
+ include(tmp/footer.html)
+ </footer>
+<body>
+</html>
diff --git a/templates/footer.md b/templates/footer.md
new file mode 100644
index 0000000..150702b
--- /dev/null
+++ b/templates/footer.md
@@ -0,0 +1 @@
+> remember that computer sucks
diff --git a/templates/head.html b/templates/head.html
new file mode 100644
index 0000000..7272d63
--- /dev/null
+++ b/templates/head.html
@@ -0,0 +1,4 @@
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<link href="/style/style.css" rel="stylesheet" type="text/css">
+<title></title>
diff --git a/templates/header.md b/templates/header.md
new file mode 100644
index 0000000..4356090
--- /dev/null
+++ b/templates/header.md
@@ -0,0 +1,8 @@
+# [rgoncalves.se](/)
+
+- [wiki](/w)
+- [services](/s)
+- [rss](/rss.xml)
+- [git](https://git.rgoncalves.se)
+- [webring](https://webring.xxiivv.com/#random)
+- [about](/a)
remember that computers suck.