diff options
| author | Christian Cleberg <[email protected]> | 2026-08-11 20:34:02 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-08-11 20:34:02 -0500 |
| commit | ab149c1ae4fe38048fc2d32edac6061e7f3b4638 (patch) | |
| tree | 984019a98b20789890566c595b52d5ddc8b21064 /theme/templates/base.html | |
| parent | 5be4598b09a2685d73665b403bf80aad50b15834 (diff) | |
| download | cleberg.net-ab149c1ae4fe38048fc2d32edac6061e7f3b4638.tar.gz cleberg.net-ab149c1ae4fe38048fc2d32edac6061e7f3b4638.tar.bz2 cleberg.net-ab149c1ae4fe38048fc2d32edac6061e7f3b4638.zip | |
Finish the move off weblorgmigrate-to-orgo
Remove what the migration left behind, then cut build.py down to the work
orgo does not do: 443 lines to 168.
- Delete publish.el and theme/templates/, superseded by content/orgo.toml
and content/templates/. theme/static/ stays; orgo publishes it as assets.
- Drop the tag builder, the org-source copy, and the helpers that only fed
them. orgo generates /tags/ and a page per tag from a collection.
- Rewrite the README and the migration-era comments that explained the
config by pointing at what weblorg used to do.
- Serve styles.css as authored. Minifying 1KB of CSS saved 52 bytes over
the wire once compressed, which did not pay for a build step and a
toolchain dependency.
- Stop wiping the output directory. The .orgo-cache.json inside it is what
makes a build incremental, and orgo already prunes outputs whose source
is gone and re-emits any that are missing. Production keeps .build/ and
development gets .build-dev/, because production rewrites image URLs in
the output and a shared directory would let one environment reuse pages
rendered for the other.
An incremental build is byte-identical to a clean one, and the site output
is unchanged apart from the /uses/ stack row.
Diffstat (limited to 'theme/templates/base.html')
| -rw-r--r-- | theme/templates/base.html | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html deleted file mode 100644 index 68ff487..0000000 --- a/theme/templates/base.html +++ /dev/null @@ -1,46 +0,0 @@ -<!doctype html> -<html lang="en-us"> -<head> - {% block head %} - <meta charset="utf-8"> - <title>{% block subtitle %}{% endblock %}{% block title %}{{ site_name | default("cleberg.net") }}{% endblock %}</title> - <meta name="viewport" content="width=device-width, initial-scale=1"> - {% if site_owner is defined %}<meta name="author" content="{{ site_owner }}">{% endif %} - {% if site_description is defined %}<meta name="description" content="{{ site_description }}">{% endif %} - {% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}">{% endif %} - <link rel="alternate" type="application/rss+xml" title="cleberg.net" href="/feed.xml"> - <link rel="stylesheet" href="/styles.min.css" type="text/css"> - <link rel="icon" href="data:,"> - {% block meta %}{% endblock %} - {% endblock %} - <link href="https://github.com/ccleberg" rel="me"> - <link href="https://gitlab.com/ccleberg" rel="me"> - <link href="mailto:[email protected]" rel="me"> - <a href="https://c.im/@cmc" rel="me"> -</head> -<body> - <a href="#main-content" class="skip-link">Skip to content</a> - - <nav aria-label="Site Navigation"> - <ul> - <li><a href="/">Home</a></li> - <li><a href="/blog/">Blog</a></li> - <li><a href="/garden/">Garden</a></li> - <li><a href="/salary/">Salary</a></li> - </ul> - </nav> - - <main id="main-content"> - {% block main %}{% endblock %} - </main> - - <footer> - <a href="https://git.krz.sh/cmc/cleberg.net.git/">Source</a> · - <a href="/feed.xml">RSS</a> · - <a href="http://paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion/">Onion</a> · - <a href="/tips/">Tips</a> · - <a href="https://iheartrss.com/">I ♥ RSS</a> - <p>[ <a href="https://krz.sh">krz</a> · <a href="https://audit-labs.dev">audit labs</a> ]</p> - </footer> -</body> -</html> |
