diff options
Diffstat (limited to '_templates')
-rw-r--r-- | _templates/default.html | 13 | ||||
-rw-r--r-- | _templates/footer.html | 3 | ||||
-rw-r--r-- | _templates/header.html | 13 | ||||
-rw-r--r-- | _templates/main.html | 16 | ||||
-rw-r--r-- | _templates/post.html | 17 |
5 files changed, 62 insertions, 0 deletions
diff --git a/_templates/default.html b/_templates/default.html new file mode 100644 index 0000000..24da983 --- /dev/null +++ b/_templates/default.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="icon" type="image/jpg" href="/assets/light.png"/> + <link rel="stylesheet" href="/css/style.css"/> + <title> $title$ </title> +</head> +<body> +$body$ +</body> +</html> diff --git a/_templates/footer.html b/_templates/footer.html new file mode 100644 index 0000000..93b3dd7 --- /dev/null +++ b/_templates/footer.html @@ -0,0 +1,3 @@ +<footer> + <span><img src="/assets/copyleft.svg" width="12" height="12" title="https://en.wikipedia.org/wiki/Criticism_of_copyright" /> 2020-2024 </span> +</footer> diff --git a/_templates/header.html b/_templates/header.html new file mode 100644 index 0000000..bfd4deb --- /dev/null +++ b/_templates/header.html @@ -0,0 +1,13 @@ +<header> + <h1> + <a href="/">apropos</a> + </h1> + <nav> + <a href="/about">about</a> + <a href="/resume">resume</a> + <a href="/notes">notes</a> + <a href="/posts">posts</a> + <a href="/writeups">writeups</a> + <a href="https://wiki.toki.la">wiki</a> + </nav> +</header> diff --git a/_templates/main.html b/_templates/main.html new file mode 100644 index 0000000..093c7da --- /dev/null +++ b/_templates/main.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="icon" type="image/jpg" href="/assets/light.png"/> + <link rel="stylesheet" href="/css/style.css"/> + <title> $title$ </title> +</head> +<body> +$partial("_templates/header.html")$ +<main> +$body$ +</main> +</body> +</html> diff --git a/_templates/post.html b/_templates/post.html new file mode 100644 index 0000000..fca6aed --- /dev/null +++ b/_templates/post.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="icon" type="image/jpg" href="/assets/light.png"/> + <link rel="stylesheet" href="/css/style.css"/> + <link rel="stylesheet" href="/writeups/css/style.css"/> + <title> $title$ </title> +</head> +<body> +$partial("_templates/header.html")$ +<main> +$body$ +</main> +</body> +</html> |