summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html12
-rw-r--r--templates/base.html10
-rw-r--r--templates/index.html17
-rw-r--r--templates/page.html7
-rw-r--r--templates/partials/footer.html3
-rw-r--r--templates/partials/head.html20
-rw-r--r--templates/partials/nav.html9
-rw-r--r--templates/robots.txt3
-rw-r--r--templates/section.html5
9 files changed, 0 insertions, 86 deletions
diff --git a/templates/404.html b/templates/404.html
deleted file mode 100644
index f391896..0000000
--- a/templates/404.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
- <h1>404 :(</h1>
-
- <img
- src="/imgs/tapwater.png"
- alt="Can I get you some tapwater?"
- loading="lazy"
- decoding="async"
- >
-{% endblock content %}
diff --git a/templates/base.html b/templates/base.html
deleted file mode 100644
index b15d5eb..0000000
--- a/templates/base.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!doctype html>
-<html lang="en">
- {% include "partials/head.html" %}
- <body>
- <h1><b>getchoo's website 🦀</b></h1>
- {% include "partials/nav.html" %}
- {% block content %}{% endblock content %}
- {% include "partials/footer.html" %}
- </body>
-</html>
diff --git a/templates/index.html b/templates/index.html
deleted file mode 100644
index 8a9042f..0000000
--- a/templates/index.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
-
- {{ section.content | safe }}
-
- <div id="gifs">
- {% for gif in config.extra.gifs %}
- {% set img = '<img src = "/imgs/gifs/' ~ gif.name ~'" alt="' ~ gif.alt ~ '" width=88 height=31 loading="lazy" decoding="async">' %}
- {% if gif.href %}
- <a href="{{ gif.href }}">{{ img | safe }}</a>
- {% else %}
- {{ img | safe }}
- {% endif %}
- {% endfor %}
- </div>
-{% endblock content %}
diff --git a/templates/page.html b/templates/page.html
deleted file mode 100644
index fce601d..0000000
--- a/templates/page.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
- <div class="blogpost">
- {{ page.content | safe }}
- </div>
-{% endblock content %}
diff --git a/templates/partials/footer.html b/templates/partials/footer.html
deleted file mode 100644
index 122766f..0000000
--- a/templates/partials/footer.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<footer>
- <a href="{{ config.extra.repository_url }}">source code</a>
-</footer>
diff --git a/templates/partials/head.html b/templates/partials/head.html
deleted file mode 100644
index 5b1dcf6..0000000
--- a/templates/partials/head.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width,initial-scale=1" />
- <style>{{ load_data(path="static/main.css") | safe }}</style>
- <link rel="sitemap" href="sitemap.xml" />
- {% if page.title %}
- <title>{{ page.title }} :: {{ config.title }}</title>
- {% elif section.title %}
- <title>{{ section.title }} :: {{ config.title }}</title>
- {% else %}
- <title>{{ config.title }}</title>
- {% endif %}
- {% if page.description %}
- <meta name="description" content="{{ page.description }}" />
- {% elif section.description %}
- <meta name="description" content="{{ section.description }}" />
- {% else %}
- <meta name="description" content="{{ config.description }}" />
- {% endif %}
-</head>
diff --git a/templates/partials/nav.html b/templates/partials/nav.html
deleted file mode 100644
index e65db1d..0000000
--- a/templates/partials/nav.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<nav>
- <div id="nav_links">
- {% for link in config.extra.nav_links %}
- <a href="{{ link.url }}">{{ link.name }}</a>
- {% endfor %}
- </div>
-
- <hr />
-</nav>
diff --git a/templates/robots.txt b/templates/robots.txt
deleted file mode 100644
index b345a1a..0000000
--- a/templates/robots.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-User-agent: *
-Allow: /
-Sitemap: {{ get_url(path="sitemap.xml") }}
diff --git a/templates/section.html b/templates/section.html
deleted file mode 100644
index d3312c1..0000000
--- a/templates/section.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
- {{ section.content | safe }}
-{% endblock content %}