From 22592e96a75bd617fe6a9aae146b957695532e7c Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Sat, 3 May 2025 03:53:42 -0400 Subject: Added piss daemon page --- templates/base.html | 31 ----------------- templates/blog-page.html | 24 ------------- templates/blog.html | 14 -------- templates/index.html | 13 -------- templates/project-page.html | 65 ------------------------------------ templates/projects.html | 29 ---------------- templates/shortcodes/coverimage.html | 3 -- templates/snippet-page.html | 9 ----- templates/snippets.html | 14 -------- 9 files changed, 202 deletions(-) delete mode 100644 templates/base.html delete mode 100644 templates/blog-page.html delete mode 100644 templates/blog.html delete mode 100644 templates/index.html delete mode 100644 templates/project-page.html delete mode 100644 templates/projects.html delete mode 100644 templates/shortcodes/coverimage.html delete mode 100644 templates/snippet-page.html delete mode 100644 templates/snippets.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 793d539..0000000 --- a/templates/base.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - soaos - - {% block meta_content %} - - {% endblock meta_content %} - {% block rss %} - - {% endblock %} - - -
-
- {% block content %} - <- back to landing - {{ section.content | safe }} - {% endblock %} -
-
- - - diff --git a/templates/blog-page.html b/templates/blog-page.html deleted file mode 100644 index 00eecf8..0000000 --- a/templates/blog-page.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "base.html" %} - -{% block meta_content %} - {% if page.title %} - - - - {% else %} - - {% endif %} - {% if page.extra.coverimage %} - - - {% endif %} -{% endblock meta_content %} - -{% block content %} - <- back to posts -

- {{ page.title }} -

-

{{ page.date }} - reading time: {{ page.reading_time }} minutes

-{{ page.content | safe }} -{% endblock content %} diff --git a/templates/blog.html b/templates/blog.html deleted file mode 100644 index 56365fc..0000000 --- a/templates/blog.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - <- back to landing -

- {{ section.title }} -

- - -{% endblock content %} diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 98cc148..0000000 --- a/templates/index.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -{{ section.content | safe }} -
-recent posts -{% set section = get_section(path="blog/_index.md") %} - -{% endblock content %} diff --git a/templates/project-page.html b/templates/project-page.html deleted file mode 100644 index c097818..0000000 --- a/templates/project-page.html +++ /dev/null @@ -1,65 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - <- back to projects -

- {{ page.title }} - {% if page.extra.wip %} - (wip) - {% endif %} -

-{% if page.description %} -

{{ page.description }}

-{% endif %} - -{% if page.taxonomies.categories %} -

category: {{ page.taxonomies.categories[0] }}

-{% endif %} -{% if page.extra.finished %} -

finished: {{ page.extra.finished }}

-{% endif %} -{% if page.taxonomies.languages %} -

- languages: - {% for language in page.taxonomies.languages %} - {{ language }} - {% endfor %} -

-{% endif %} -{% if page.extra.git %} -

- git: - {% for repo in page.extra.git %} - {{ repo }} - {% endfor %} -

-{% endif %} -{% if page.extra.github %} -

- github: - {% for repo in page.extra.github %} - {{ repo }} - {% endfor %} -

-{% endif %} -{% if page.extra.crates %} -

- crates.io: - {% for crate in page.extra.crates %} - {{ crate }} - {% endfor %} -

-{% endif %} -
-{{ page.content | safe }} -{% set project = get_taxonomy_term(kind="projects", term=page.title, required=false) %} -{% if project and project.page_count > 0 %} -
-

related blog posts:

- -{% endif %} -{% endblock content %} diff --git a/templates/projects.html b/templates/projects.html deleted file mode 100644 index 7b2df74..0000000 --- a/templates/projects.html +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - <- back to landing -

- {{ section.title }} -

-{% set categories = get_taxonomy(kind="categories") %} - -{% for category in categories.items %} -{{category.name}} - -{% endfor %} - -{% endblock content %} diff --git a/templates/shortcodes/coverimage.html b/templates/shortcodes/coverimage.html deleted file mode 100644 index 4349b69..0000000 --- a/templates/shortcodes/coverimage.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
diff --git a/templates/snippet-page.html b/templates/snippet-page.html deleted file mode 100644 index f8b5687..0000000 --- a/templates/snippet-page.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - <- back to snippets -

- {{ page.title }} -

-{{ page.content | safe }} -{% endblock content %} diff --git a/templates/snippets.html b/templates/snippets.html deleted file mode 100644 index 2f7137f..0000000 --- a/templates/snippets.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - <- back to landing -

- {{ section.title }} -

- -{% for page in section.pages %} -
-

{{ page.title }} ({{page.date}})

-{{ page.content | safe }} -{% endfor %} -{% endblock content %} -- cgit v1.2.3