mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 06:52:18 +00:00
Merge branch 'main' into drafts
This commit is contained in:
commit
bae5c63a70
3 changed files with 24 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "/changelog"
|
title: "/changelog"
|
||||||
date: "2024-05-26T21:19:08Z"
|
date: "2024-05-26T21:19:08Z"
|
||||||
lastmod: "2024-08-15T21:21:05Z"
|
lastmod: "2024-08-21T03:11:27Z"
|
||||||
description: "Maybe I should keep a log of all my site-related tinkering?"
|
description: "Maybe I should keep a log of all my site-related tinkering?"
|
||||||
featured: false
|
featured: false
|
||||||
toc: false
|
toc: false
|
||||||
|
@ -10,6 +10,9 @@ categories: slashes
|
||||||
---
|
---
|
||||||
*Running list of config/layout changes to the site. The full changelog is of course [on GitHub](https://github.com/jbowdre/runtimeterror/commits/main/).*
|
*Running list of config/layout changes to the site. The full changelog is of course [on GitHub](https://github.com/jbowdre/runtimeterror/commits/main/).*
|
||||||
|
|
||||||
|
**2024-08-20:**
|
||||||
|
- Added anchor links on section headings
|
||||||
|
|
||||||
**2024-08-15:**
|
**2024-08-15:**
|
||||||
- Implemented light/dark theme toggle
|
- Implemented light/dark theme toggle
|
||||||
|
|
||||||
|
|
4
layouts/_default/_markup/render-heading.html
Normal file
4
layouts/_default/_markup/render-heading.html
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<h{{.Level}} id="{{.Anchor | safeURL}}">
|
||||||
|
{{.Text | safeHTML}}
|
||||||
|
<a class="hlink" href="#{{.Anchor | safeURL}}"><i class="fa-solid fa-link"></i></a>
|
||||||
|
</h{{.Level}}>
|
|
@ -526,3 +526,19 @@ p:has(+ ul) {
|
||||||
.kudos-text.thanks {
|
.kudos-text.thanks {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Header anchor links */
|
||||||
|
.hlink {
|
||||||
|
opacity: 0.4;
|
||||||
|
color: var(--muted) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1:hover .hlink,
|
||||||
|
h2:hover .hlink,
|
||||||
|
h3:hover .hlink,
|
||||||
|
h4:hover .hlink,
|
||||||
|
h5:hover .hlink,
|
||||||
|
h6:hover .hlink {
|
||||||
|
opacity: 0.8;
|
||||||
|
color: var(--link) !important;
|
||||||
|
}
|
Loading…
Reference in a new issue