diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2023-12-18 19:41:51 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-01-03 03:05:23 -0500 |
| commit | 5562e320736812d1ad309cfaf73383512a87858d (patch) | |
| tree | d93569bd8831f4ea5b90719a61a9d1b217e76b0f /.templates/base.html | |
| parent | 27d5717529bf0e7d5806982f1970603bad998eaf (diff) | |
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.
Diffstat (limited to '.templates/base.html')
| -rw-r--r-- | .templates/base.html | 66 |
1 files changed, 0 insertions, 66 deletions
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 @@ -<!DOCTYPE html> -<html> -<head> - <title> - {% block title_prefix -%} - {% if 'wiki-name' in config %}{{ config['wiki-name']|e }} » {% endif %} - {%- endblock %} - {% block title -%} - {{ title }} - {%- endblock %} - </title> - - <link - rel='stylesheet' - type='text/css' - href='//fonts.googleapis.com/css?family=Buenard:400,700&subset=latin,latin-ext'> - <link - rel="stylesheet" - type="text/css" - href="{{ make_relative('/media/css/reset.css') }}"> - <link - rel="stylesheet" - type="text/css" - href="{{ make_relative('/media/css/grimoire.css') }}"> - <link - rel="stylesheet" - type="text/css" - href="{{ make_relative('/media/css/codehilite.css') }}"> -</head> -<body> - -<div id="shell"> - {% if crumbs %} - <ol id="breadcrumbs"> - {% for name, href in crumbs %} - <li class="crumb-{{ loop.index0 }} {% if loop.last %}last{% else %}not-last{% endif %}"> - {% if not href %} - {{ name|e }} - {% else %} - <a href="{{ make_relative(href)|e }}">{{ name|e }}</a> - {% endif %} - </li> - {% endfor %} - </ol> - {% endif %} - - {% block content %} - {% endblock %} - - {% block footer %} - <div id="footer"> - <p>Questions? Comments? Feedback? <a href="mailto:owen+blog@grimoire.ca">Email me</a>!</p> - <p> - {% if 'wiki-name' in config %} - {{ config['wiki-name']|e }} — - {% endif %} - Powered by <a href="https://github.com/zacharyvoase/markdoc">Markdoc</a>. - {% block scm_info %} - <a href="https://github.org/grimoire-ca/bliki">See it on Github</a>. - {% endblock %} - </p> - </div> - {% endblock %} -</div> -</body> -</html> |
