From 797a1404213173791a5f4126a77ad383ceb00064 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 4 Mar 2024 22:34:28 -0600 Subject: initial migration to test org-mode --- templates/base.html | 48 ------------------------------------------------ templates/index.html | 40 ---------------------------------------- templates/page.html | 48 ------------------------------------------------ templates/section.html | 18 ------------------ 4 files changed, 154 deletions(-) delete mode 100644 templates/base.html delete mode 100644 templates/index.html delete mode 100644 templates/page.html delete mode 100644 templates/section.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 91c231e..0000000 --- a/templates/base.html +++ /dev/null @@ -1,48 +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/index.html b/templates/index.html deleted file mode 100644 index 8b86fe0..0000000 --- a/templates/index.html +++ /dev/null @@ -1,40 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -
-

cleberg.net

-
Do AIs dream in electric sheep?
He hoped it had nanosecond nightmares.
-
-
-

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 99f42ab..0000000 --- a/templates/page.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "base.html" %} - -{% block title %} -{{ page.title }} | cleberg.net -{% endblock %} - -{% block css %} - - - -{% endblock css %} - -{% block content %} -
-

{{ page.title }}

- {% if page.date %} -

- {% 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/section.html b/templates/section.html deleted file mode 100644 index d36e32f..0000000 --- a/templates/section.html +++ /dev/null @@ -1,18 +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 %} -- cgit v1.2.3-70-g09d2