Skip to content

Commit 619d0c4

Browse files
committed
Add anchor links to pages
1 parent 32294fd commit 619d0c4

File tree

14 files changed

+20
-1
lines changed

14 files changed

+20
-1
lines changed

content/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
+++
22
sort_by = "weight"
3+
insert_anchor_links = "heading"
34
+++

content/blog/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description = "A chronological log of my public, article-style writing."
44
sort_by = "date"
55
template = "blog/list.html"
66
weight = 3
7+
insert_anchor_links = "heading"
78

89
[extra]
910
in_menu = true

content/codex/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title = "Research Codex"
33
description = "Living documents on various topics I am studying."
44
sort_by = "weight"
55
template = "blog/list.html"
6+
insert_anchor_links = "heading"
67

78
[extra]
89
in_menu = false

content/codex/development/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title = "Development"
33
description = "Some time ago, we taught sand to think. Now, it teaches us new ways to think."
44
sort_by = "weight"
55
template = "blog/list.html"
6+
insert_anchor_links = "heading"
67

78
[extra]
89
in_menu = true

content/codex/development/environments/_index.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title = "Environments"
33
description = "Notes on using a variety of environments I immerse myself in."
44
sort_by = "weight"
55
template = "blog/list.html"
6+
insert_anchor_links = "heading"
7+
68

79
[extra]
810
in_menu = true

content/codex/development/environments/windows/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title = "Windows"
33
description = "A fickle, proprietary, fragile, expensive monstrosity."
44
sort_by = "weight"
55
template = "blog/list.html"
6+
insert_anchor_links = "heading"
67

78
[extra]
89
in_menu = true

content/codex/development/environments/windows/wsl/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title = "WSL"
33
description = "The so-called Windows Subsystem for Linux."
44
sort_by = "weight"
55
template = "blog/list.html"
6+
insert_anchor_links = "heading"
67

78
[extra]
89
in_menu = true

content/codex/development/nu/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title = "A Nu Shell"
33
description = "Finding some consistency on interacting with the machine."
44
sort_by = "weight"
55
template = "blog/list.html"
6+
insert_anchor_links = "heading"
67

78
[extra]
89
in_menu = true

content/codex/development/rust/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title = "Rust at Scale"
33
description = "Shipping safe, fast, and fun."
44
sort_by = "weight"
55
template = "blog/list.html"
6+
insert_anchor_links = "heading"
67

78
[extra]
89
in_menu = true

content/codex/effective-organizations/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title = "Effective Organizations"
33
description = "Yearning for the vast and endless sea together."
44
sort_by = "weight"
55
template = "blog/list.html"
6+
insert_anchor_links = "heading"
67

78
[extra]
89
in_menu = true

content/codex/gaming/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title = "Gaming"
33
description = "Interactivity and escapism"
44
sort_by = "weight"
55
template = "blog/list.html"
6+
insert_anchor_links = "heading"
67

78
[extra]
89
in_menu = true

content/codex/research-methods/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title = "Research Methods"
33
description = "Ways to gather and collect data."
44
sort_by = "weight"
55
template = "blog/list.html"
6+
insert_anchor_links = "heading"
67

78
[extra]
89
in_menu = true

content/tags/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title = "Tags"
33
description = "Explore by tag"
44
weight = 3
5+
insert_anchor_links = "heading"
56

67
[extra]
78
in_menu = false

sass/_text.scss

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
a {
1+
a:not(.zola-anchor) {
22
text-decoration: var(--color-link) dotted underline;
33
color: var(--color-link-muted);
44

@@ -17,6 +17,11 @@ a {
1717
}
1818
}
1919

20+
a.zola-anchor {
21+
text-decoration: none;
22+
color: var(--color-text);
23+
}
24+
2025
ol {
2126
counter-reset: section;
2227
list-style-type: none;

0 commit comments

Comments
 (0)