From 5562e320736812d1ad309cfaf73383512a87858d Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Mon, 18 Dec 2023 19:41:51 -0500 Subject: Migrate to Hugo. This is a big and somewhat complicated decision, but the crux of it is this: The _mkdocs_ tool embeds a ton of "I am writing a manual" assumptions about document structure. These assumptions include that there is a single, sitewide TOC, that a top nav bar is broadly an appropriate way to skip around in the document, and numerous others. They serve that use case well, but that's not really what this site _is_, or how I intend it to be approached. I'm trying for something more blog-esque (and deliberately a bit haphazard). Hugo is an experiment. This commit migrates most pages to it, but it does drop a few; this is a convenient excuse to forget items I'd prefer not to continue publishing. --- .templates/base.html | 66 ------------------------------------------------ .templates/document.html | 12 --------- .templates/listing.html | 44 -------------------------------- 3 files changed, 122 deletions(-) delete mode 100644 .templates/base.html delete mode 100644 .templates/document.html delete mode 100644 .templates/listing.html (limited to '.templates') diff --git a/.templates/base.html b/.templates/base.html deleted file mode 100644 index 6ce453d..0000000 --- a/.templates/base.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - {% block title_prefix -%} - {% if 'wiki-name' in config %}{{ config['wiki-name']|e }} » {% endif %} - {%- endblock %} - {% block title -%} - {{ title }} - {%- endblock %} - - - - - - - - - -
- {% if crumbs %} - - {% endif %} - - {% block content %} - {% endblock %} - - {% block footer %} - - {% endblock %} -
- - diff --git a/.templates/document.html b/.templates/document.html deleted file mode 100644 index 602b9ec..0000000 --- a/.templates/document.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends 'base.html' %} - -{% block content %} -
- {{ content }} -
-{% endblock %} - -{% block scm_info %} -See this page on Github (history). -{% endblock %} \ No newline at end of file diff --git a/.templates/listing.html b/.templates/listing.html deleted file mode 100644 index 3a52505..0000000 --- a/.templates/listing.html +++ /dev/null @@ -1,44 +0,0 @@ -{% extends 'base.html' %} - -{% block title %}ls /{{ directory|e }}{% endblock %} - -{% block content %} -
-

ls /{{ directory|e }}

- - {% if sub_directories %} -
-

Directories

- -
- {% endif %} - - {% if pages %} -
-

Pages

- -
- {% endif %} - - {% if files %} -
-

Files

- {% for file in files %} -
  • {{ file.basename|e }}
  • - {% endfor %} -
    - {% endif %} -
    -{% endblock %} - -{% block scm_info %} -See this directory on Github. -{% endblock %} \ No newline at end of file -- cgit v1.2.3