From 2be43cc479dfd4cfb621f14381330c708291e324 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sun, 28 Jul 2024 19:46:20 -0500 Subject: conversion from Zola to Weblorg --- templates/base.html | 53 ----------------------------------------------- templates/blog.html | 20 ------------------ templates/index.html | 58 ---------------------------------------------------- templates/page.html | 55 ------------------------------------------------- templates/wiki.html | 16 --------------- 5 files changed, 202 deletions(-) delete mode 100644 templates/base.html delete mode 100644 templates/blog.html delete mode 100644 templates/index.html delete mode 100644 templates/page.html delete mode 100644 templates/wiki.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 56b2be7..0000000 --- a/templates/base.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - {% block title %} - cleberg.net - {% endblock %} - - - - {% if page %} {% if page.description %} - - {% elif config.description %} - - {% endif %} {% elif config.description %} - {% endif - %} - - {% block rss %} - - {% endblock %} - - {% block css %} - - {% endblock css %} - - {% block extra_head %}{% endblock extra_head %} - - - - -
{% block content %}{% endblock content %}
- - - - diff --git a/templates/blog.html b/templates/blog.html deleted file mode 100644 index 5b1f301..0000000 --- a/templates/blog.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -

{{ section.title }}

-

Use Ctrl + F to search blog post titles for keywords.

-

You can also add the Atom RSS Feed to your feed -reader.

-{% set post_date = "1970-01-01" | date(format="%Y") %} -{% for page in section.pages %} -{% if post_date != page.date | date(format="%Y") %} -{% set_global post_date = page.date | date(format="%Y") %} -

{{ post_date }}

- {% endif %} -
- - {{ page.title }} -
-{% endfor %} -{% endblock content %} diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 480731e..0000000 --- a/templates/index.html +++ /dev/null @@ -1,58 +0,0 @@ -{% extends "base.html" %} {% block content %} -
-

cleberg.net

-
pub   rsa4096 2022-11-16 [SC]
-      3917 973F B159 BBB8 6194 5385 6945 1A51 7AC0 CB37
-uid           [ultimate] Christian Cleberg <hello@cleberg.net>
-
-
-

Recent Blog Posts

- {% set section = get_section(path="blog/_index.md") %} {% set i = 0 %} {% for - page in section.pages %} {% if i < 3%} {% set_global i = i + 1%} -
- - {{ page.title }} -
- {% endif %} {% endfor %} -
- All Posts → -
-
-

Everything Else

- -
-
-

Contact

- -
-{% endblock content %} diff --git a/templates/page.html b/templates/page.html deleted file mode 100644 index a6e3e0e..0000000 --- a/templates/page.html +++ /dev/null @@ -1,55 +0,0 @@ -{% extends "base.html" %} - -{% block title %} -{{ page.title }} | cleberg.net -{% endblock %} - -{% block css %} - - - -{% endblock css %} - -{% block content %} -
-

{{ page.title }}

- {% if page.date %} -

- {% endif %} {% if page.updated %} -

Last Updated:

- {% endif %} -

{{ page.word_count }} words; {{ page.reading_time }} minute(s)

-{% if page.toc %} -
- Table of Contents - -
-{% endif %} -
- -
-{{ page.content | safe }} -
-{% endblock content %} diff --git a/templates/wiki.html b/templates/wiki.html deleted file mode 100644 index 28ef97f..0000000 --- a/templates/wiki.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -

{{ section.title }}

-

Use Ctrl + F to search wiki pages for keywords.

-
-

Wiki Page

-

Last Updated

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

{{ page.title }}

-
-{% endfor %} {% endblock content %} -- cgit v1.2.3-70-g09d2