summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorseth <[email protected]>2024-10-09 10:59:13 -0400
committerGitHub <[email protected]>2024-10-09 10:59:13 -0400
commitd17bca56238e9ca326d60e58230d0d354f23bfe8 (patch)
tree12aee4c37a1490914e6307ce1b0023be2df93105 /templates
parent7d6495399d5e1ba429a339de1c3a00f121e89305 (diff)
back to astro for hopefully the last time (#146)
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html12
-rw-r--r--templates/base.html13
-rw-r--r--templates/index.html25
-rw-r--r--templates/page.html5
-rw-r--r--templates/partials/footer.html7
-rw-r--r--templates/partials/head.html22
-rw-r--r--templates/partials/nav.html5
-rw-r--r--templates/robots.txt3
-rw-r--r--templates/section.html5
9 files changed, 0 insertions, 97 deletions
diff --git a/templates/404.html b/templates/404.html
deleted file mode 100644
index d59b721..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?"
- decoding="async"
- loading="lazy"
- >
-{% endblock content %}
diff --git a/templates/base.html b/templates/base.html
deleted file mode 100644
index a78d8b9..0000000
--- a/templates/base.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!doctype html>
-<html lang="en">
- {% include "partials/head.html" %}
- <body>
- <header>
- {% include "partials/nav.html" %}
- </header>
- <div class="main-content">
- {% block content %}{% endblock content %}
- </div>
- {% include "partials/footer.html" %}
- </body>
-</html>
diff --git a/templates/index.html b/templates/index.html
deleted file mode 100644
index 9733821..0000000
--- a/templates/index.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
- {{ section.content | safe }}
-
- <div class="gif-buttons">
- {% for button in config.extra.buttons %}
- <div class="gif-button">
- {% set imageTag = '<img
- src="/imgs/buttons/' ~ button.name ~ '"
- alt="' ~ button.alt ~ '"
- width=88
- height=31
- decoding="async"
- loading="lazy"
- >' %}
- {% if button.link %}
- <a href="{{ button.link }}">{{ imageTag | safe }}</a>
- {% else %}
- {{ imageTag | safe }}
- {% endif %}
- </div>
- {% endfor %}
- </div>
-{% endblock content %}
diff --git a/templates/page.html b/templates/page.html
deleted file mode 100644
index 9eb1631..0000000
--- a/templates/page.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
- {{ page.content | safe }}
-{% endblock content %}
diff --git a/templates/partials/footer.html b/templates/partials/footer.html
deleted file mode 100644
index c116580..0000000
--- a/templates/partials/footer.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<footer>
- <p>Content is All Rights Reserved</p>
- <p>
- The <a href="{{ config.extra.repository_url }}">source code</a> is available
- under the <a href="https://spdx.org/licenses/MIT.html">MIT License</a>
- </p>
-</footer>
diff --git a/templates/partials/head.html b/templates/partials/head.html
deleted file mode 100644
index fa2c30d..0000000
--- a/templates/partials/head.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<head>
- <meta charset="UTF-8" />
- {% if page.title %}
- {% set title = page.title %}
- {% elif section.title %}
- {% set title = section.title %}
- {% else %}
- {% set title = config.title %}
- {% endif %}
- <title>{{ title }}</title>
- <meta name="viewport" content="width=device-width,initial-scale=1" />
- {% if page.description %}
- {% set description = page.description %}
- {% elif section.description %}
- {% set description = section.description %}
- {% else %}
- {% set description = config.description %}
- {% endif %}
- <meta name="description" content="{{ description }}" />
- <link rel="sitemap" href="sitemap.xml" />
- <link rel="stylesheet" href="/style.css" />
-</head>
diff --git a/templates/partials/nav.html b/templates/partials/nav.html
deleted file mode 100644
index bd74873..0000000
--- a/templates/partials/nav.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<nav>
- {% for link in config.extra.nav_links %}
- <div><a href="{{ link.url }}">{{ link.name }}</a></div>
- {% endfor %}
-</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 %}