Commit c43836d181
c43836d181b038eb8ba3453a6a4f47beebf5b633
parent: ba3ce6b795
Unsigned
cmc <hello@cleberg.net> · 2026-08-14 21:26 UTC
Restore the docs favicon lost in a merge
Both sides of #17 edited the same four lines of the documentation layout's
`<head>`: one added a favicon link above the stylesheet, the other moved the
stylesheet below `theme.css` so its `--orgo-*` overrides win. Resolving that
kept the stylesheet in both positions and dropped the favicon line entirely.
So every docs page has linked `style.css` twice since the merge, and none has
linked the favicon at all — `favicon.svg` still ships as an asset with nothing
pointing at it, which is the state the branch that added it set out to fix.
The head is now icon, then `theme.css`, then `syntax.css`, then `style.css`,
which is the order the overrides need: the theme first, the highlighter's
colours over it, the site's three `--orgo-code-*` properties last.
Layout: unified · split
docs/templates/base.html
+1 −1
| @@ -8,7 +8,7 @@ |
| 8 | 8 | <link rel="canonical" href="{{ page.url | absolute }}"> |
| 9 | 9 | {%- endif %} |
| 10 | 10 | <meta name="description" content="{{ page.excerpt | truncate(150) }}"> |
| 11 | | <link rel="stylesheet" href="{{ root }}style.css"> |
| 11 | <link rel="icon" href="{{ root }}favicon.svg" type="image/svg+xml"> |
| 12 | 12 | {%- if theme %} |
| 13 | 13 | <link rel="stylesheet" href="{{ theme }}"> |
| 14 | 14 | {%- endif %} |