diff options
author | Volpeon <git@volpeon.ink> | 2020-12-27 22:03:42 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-27 22:03:42 +0100 |
commit | 517fc58cf46595990fd5af64a1bd647ee5ac3c08 (patch) | |
tree | 3720064c91a95230b1208352b9fa63b554e1b0cd /templates/base.html | |
parent | Build script: Improved path and relative link calculation, added vars to conf... (diff) | |
download | volpeon.ink-517fc58cf46595990fd5af64a1bd647ee5ac3c08.tar.gz volpeon.ink-517fc58cf46595990fd5af64a1bd647ee5ac3c08.tar.bz2 volpeon.ink-517fc58cf46595990fd5af64a1bd647ee5ac3c08.zip |
Added stylelint, generate some metadata automatically
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html index 9bc4de9..de584ac 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -17,12 +17,12 @@ | |||
17 | $endif$ | 17 | $endif$ |
18 | <title>$if(isHome)$$else$$title$ – $endif$$site.title$</title> | 18 | <title>$if(isHome)$$else$$title$ – $endif$$site.title$</title> |
19 | <link rel="stylesheet" href="/style.css" /> | 19 | <link rel="stylesheet" href="/style.css" /> |
20 | $if(id)$ | 20 | $if(section)$ |
21 | <style> | 21 | <style> |
22 | .c-nav__item--$id$ { | 22 | .c-nav__item--$section$ { |
23 | font-weight: bold; | ||
24 | color: var(--nav--item--active--fg); | ||
25 | border-color: var(--nav--item--active--fg); | 23 | border-color: var(--nav--item--active--fg); |
24 | color: var(--nav--item--active--fg); | ||
25 | font-weight: bold; | ||
26 | } | 26 | } |
27 | </style> | 27 | </style> |
28 | $endif$ | 28 | $endif$ |