aboutsummaryrefslogtreecommitdiff
path: root/content/templates/feed.xml
Commit message (Collapse)AuthorAgeFilesLines
* Finish the move off weblorgmigrate-to-orgoChristian Cleberg21 hours1-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Settle the four remaining differences from the live siteChristian Cleberg25 hours1-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | - **The feed carries whole posts again.** `include_content = true` on the feed collection, and the template embeds `post.content` rather than the excerpt. 169 items, 2.9 MB, same as weblorg produces. - **Section numbering on.** The live site numbers its headings — inherited from Emacs' default rather than chosen, but switching generators is the wrong moment to quietly redesign 174 pages. The contents list numbers to match. One config line to flip if you decide against it. - **The reply footer follows the live site**: blog posts, garden notes and /now/, but not /uses/, /tips/ or /salary/. Two more `[[pages]]` rules. - **Tags stay one page per tag**, deliberately unlike the live single page with every post inlined under an anchor. A tag with its own URL is worth linking to, and the index stays short. Each index entry carries the tag's slug as an `id`, so old `/tags/#audit` links still land on the right row. Also fixes the garden emoji, which I had transcribed as ðŸŒģ where the weblorg template has ðŸŠī — taken from that template this time rather than typed. Content now matches the live site on 192 of 195 pages. The three that differ: footnote section markup, an `org-cite` citation neither generator renders usefully, and the tags page above.
* Bring the org-ssg templates to parity with the live siteChristian Cleberg28 hours1-0/+36
The org-ssg build rendered the right content in the wrong chrome. Closing every difference found by comparing it against theme/templates/ and the live pages: - base.html: Home link written by the layout rather than the site title, a <title> of "Page - cleberg.net" (bare "cleberg.net" on the home page, via a subtitle block), author/description/og meta, the RSS alternate link, four rel="me" identity links, favicon, skip link, <main id="main-content">, aria-label on the nav, and the real footer. - home.html: the h1 is "Christian Cleberg" (the collection's title), and the email line has its GPG link back. - blog.html and garden.html: the two listings carry their own prose on the live site — the search/RSS hint, and the garden's growth stages — so they are no longer sharing the generic list.html. Tag pages still use it. - tags.html: "Browse posts by topic." - Blog posts get the reply-by-email and Bubbles lines. org-ssg has no per-page template selection, so the layout keys off the page's URL prefix. - Tags leaves the nav, which the live site does not have. feed.xml is new: the footer links /feed.xml and nothing was generating it. It is a collection whose template happens to be XML. Its <description> carries each post's excerpt rather than the full rendered body, which weblorg's feed does include — a collection template gets each entry's metadata, not its HTML. base_url is now set, since canonical links and a feed cannot be relative. Page links stay relative, so a preview build still works from any directory. gpg.txt, robots.txt and salary.csv are copied in from theme/static/: weblorg publishes that directory to the site root, and org-ssg publishes from content/, so /gpg.txt was a 404. styles.min.css is deliberately not copied — it is gitignored build output, and the tracked styles.css holds the same rules.