summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeLines
* templates: Only render post title in the feedWolfgang Müller2021-06-16-3/+3
| | | | | We can get rid of the post title in the banner since the base template now renders it in the main banner whenever we show a single post.
* templates: Fix up some issues with whitespace controlWolfgang Müller2021-06-16-4/+4
| | | | This makes the HTML source slightly nicer.
* Use CSS to add spacersWolfgang Müller2021-06-16-20/+44
| | | | | | | | | | | | | | Currently, we pad certain elements with manual interpunct spacers that are defined in the templates themselves. This is suboptimal for a number of reasons. Templates should be used for textual or semantic data, not presentation. Additionally, we have no good control over how whitespace characters will end up being rendered. Adding or deleting spacers is a nightmare. To fix this, use CSS to render spacers instead. To that end, introduce a couple of HTML elements in the top banner and keep supplementary links in a list inside a <nav> element. Add a spacer mixin that can be applied to any element that needs it.
* templates: Do not show slogan on all pagesWolfgang Müller2021-06-16-6/+5
| | | | | | | | | Currently we show the slogan both on the index as well as all sub-pages. This needs some special handling in the template, since the page description for the index is empty (the slogan takes its place). Simplify the template further by making sure description is always set, and set it to the slogan only on the index page.
* templates: Consolidate blocks into base templateWolfgang Müller2021-06-16-38/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | This is the first in a series of commits that will attempt to clean up and simplify the templates, most of which were put together hastily. One particular egregious example of this is how Tera blocks are employed to set per-page titles, provide banner descriptions and links, and include additional RSS feeds. These elements are all outside the normal 'content' block provided by the base template. Almost always they contain only one line of text. This solution was chosen because there did not seem to be a cleaner way of having per-page variables in the base template. This is a problem especially for the 'single' and list' taxonomy pages which do not even have front matter (and therefore cannot carry additional metadata). Furthermore, we want to keep each page's front matter as minimal as possible and avoid hard-coding a post description of "post № <X>". Instead rely on the fact that each type of page is identifiable in the base template by the variables that are set in it. The index carries the 'section' variable, pages carry 'page', a single taxonomy term carries 'term', and a single taxonomy carries 'terms'. Using this information we can consolidate all these blocks into the base template in a simple and clean way.
* content/3: Delete final full stopWolfgang Müller2021-06-15-1/+1
| | | | This invocation might otherwise be confused with 'git branch -D .'
* sass: Specify font family for <code>Wolfgang Müller2021-06-13-2/+1
| | | | | | Currently, --font-mono is only applied to <pre> blocks, leaving <code> unstyled. Since <pre> blocks will end up containing <code>, set the font family on <code> instead.
* content: Add new post: "Patch workflows and git branch -d"Wolfgang Müller2021-06-13-0/+31
|
* sass: Add some padding to <code>Wolfgang Müller2021-06-13-0/+1
| | | | | Due to the density of the fonts used, <code> blocks tend to be too close to the normal text. Add some padding to mitigate.
* sass: Use lighter color for --fg-href in dark modeWolfgang Müller2021-06-13-1/+1
|
* content/2: Simplify wordingWolfgang Müller2021-06-12-4/+4
|
* templates: Set mute class on banner's <h2>Wolfgang Müller2021-06-12-2/+1
| | | | This way we do not have to specify the color in its selector.
* Put post titles in the bannerWolfgang Müller2021-06-12-5/+12
| | | | | | | | | | | Post titles are currently only visible in the feed, or on the post page itself. Since people may remember posts by their titles rather than their number, display the titles on each post's banner as well for easier searching. This means we can now get rid of the extra item in the post page's description. A neat side effect is that we now have a header element for each <article>, making W3C a bit happier.
* content: Add new post: "Did you mean to go to..."Wolfgang Müller2021-06-12-0/+31
|
* Initial commitWolfgang Müller2021-06-12-0/+811