summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--src/index.md21
-rw-r--r--src/styles/main.css38
-rw-r--r--templates/default16
-rw-r--r--templates/default.footer0
-rw-r--r--templates/default.head11
-rw-r--r--templates/default.header1
-rw-r--r--templates/none6
8 files changed, 96 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c472d7f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+out/
+tmp/
+.tmp
diff --git a/src/index.md b/src/index.md
new file mode 100644
index 0000000..2ca0888
--- /dev/null
+++ b/src/index.md
@@ -0,0 +1,21 @@
+---
+show_title: false
+---
+
+cataphiles, toiturophiles, tractophiles, gtekophiles, amoureux·ses des égouts
+et du remblais, curieux·ses, amateur·trices des hauteurs
+
+- [melpiat.com](https://melpiat.com)
+- [rgoncalves.se](https://rgoncalves.se)
+
+<span></span>
+
+- [contact@sousleciel.lol](mailto:contact@sousleciel.lol)
+
+<style>
+body > *:not(header) {
+ padding-left: 1em;
+ border-left: black dotted .18em;
+ max-width: 30em;
+}
+</style>
diff --git a/src/styles/main.css b/src/styles/main.css
new file mode 100644
index 0000000..489298e
--- /dev/null
+++ b/src/styles/main.css
@@ -0,0 +1,38 @@
+* {
+ font-family: monospace, monospace;
+ font-size: 1em;
+}
+
+body {
+ margin-left: 10vw;
+ max-width: 96ch;
+}
+
+h1 {
+ font-size: 2em;
+ margin-bottom: 30vh;
+ margin-top: 1em;
+}
+
+h1 > a {
+ text-decoration-style: wavy;
+ text-decoration-thickness: 15%;
+}
+
+a, a:hover, a:visited {
+ color: blue;
+}
+
+ul {
+ padding-inline-start: 0;
+}
+
+ul li {
+ display: block;
+}
+
+footer {
+ color: white;
+ background-color: black;
+ margin-top: 4em;
+}
diff --git a/templates/default b/templates/default
new file mode 100644
index 0000000..8414c8b
--- /dev/null
+++ b/templates/default
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+include(templates/default.head)
+<body>
+ <header>
+ include(templates/default.header)
+ </header>
+ sinclude(tmp/tmp.metadata)
+ sinclude(tmp/tmp.toc)
+ include(tmp/tmp.body)
+ sinclude(tmp/tmp.index)
+ <footer>
+ include(templates/default.footer)
+ </footer>
+</body>
+</html>
diff --git a/templates/default.footer b/templates/default.footer
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/templates/default.footer
diff --git a/templates/default.head b/templates/default.head
new file mode 100644
index 0000000..98d1406
--- /dev/null
+++ b/templates/default.head
@@ -0,0 +1,11 @@
+<title>Sous le ciel</title>
+<link href="/styles/main.css" rel="stylesheet" type="text/css">
+<link rel="shortcut icon" type="image/jpg" href="/img/favicon.ico"/>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<meta name="googlebot" content="noindex">
+<meta name="og:title" content="Sous le ciel">
+<meta name="og:site_name" content="sousleciel.lol">
+<meta name="og:type" content="website">
+<meta name="og:description" content="Sous le ciel - artistes">
+<meta name="og:image" content="https://sousleciel.lol/img/favicon.io">
diff --git a/templates/default.header b/templates/default.header
new file mode 100644
index 0000000..7b540fc
--- /dev/null
+++ b/templates/default.header
@@ -0,0 +1 @@
+<h1><a href="/">Sous le ciel</a></h1>
diff --git a/templates/none b/templates/none
new file mode 100644
index 0000000..a125d9e
--- /dev/null
+++ b/templates/none
@@ -0,0 +1,6 @@
+<html>
+include(templates/default.head)
+<body>
+ include(tmp/tmp.body)
+<body>
+</html>
remember that computers suck.