Skip to content

Commit

Permalink
Add anchor links to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoverbear committed Jan 9, 2025
1 parent 32294fd commit 619d0c4
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
+++
sort_by = "weight"
insert_anchor_links = "heading"
+++
1 change: 1 addition & 0 deletions content/blog/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description = "A chronological log of my public, article-style writing."
sort_by = "date"
template = "blog/list.html"
weight = 3
insert_anchor_links = "heading"

[extra]
in_menu = true
Expand Down
1 change: 1 addition & 0 deletions content/codex/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title = "Research Codex"
description = "Living documents on various topics I am studying."
sort_by = "weight"
template = "blog/list.html"
insert_anchor_links = "heading"

[extra]
in_menu = false
Expand Down
1 change: 1 addition & 0 deletions content/codex/development/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title = "Development"
description = "Some time ago, we taught sand to think. Now, it teaches us new ways to think."
sort_by = "weight"
template = "blog/list.html"
insert_anchor_links = "heading"

[extra]
in_menu = true
Expand Down
2 changes: 2 additions & 0 deletions content/codex/development/environments/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title = "Environments"
description = "Notes on using a variety of environments I immerse myself in."
sort_by = "weight"
template = "blog/list.html"
insert_anchor_links = "heading"


[extra]
in_menu = true
Expand Down
1 change: 1 addition & 0 deletions content/codex/development/environments/windows/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title = "Windows"
description = "A fickle, proprietary, fragile, expensive monstrosity."
sort_by = "weight"
template = "blog/list.html"
insert_anchor_links = "heading"

[extra]
in_menu = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title = "WSL"
description = "The so-called Windows Subsystem for Linux."
sort_by = "weight"
template = "blog/list.html"
insert_anchor_links = "heading"

[extra]
in_menu = true
Expand Down
1 change: 1 addition & 0 deletions content/codex/development/nu/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title = "A Nu Shell"
description = "Finding some consistency on interacting with the machine."
sort_by = "weight"
template = "blog/list.html"
insert_anchor_links = "heading"

[extra]
in_menu = true
Expand Down
1 change: 1 addition & 0 deletions content/codex/development/rust/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title = "Rust at Scale"
description = "Shipping safe, fast, and fun."
sort_by = "weight"
template = "blog/list.html"
insert_anchor_links = "heading"

[extra]
in_menu = true
Expand Down
1 change: 1 addition & 0 deletions content/codex/effective-organizations/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title = "Effective Organizations"
description = "Yearning for the vast and endless sea together."
sort_by = "weight"
template = "blog/list.html"
insert_anchor_links = "heading"

[extra]
in_menu = true
Expand Down
1 change: 1 addition & 0 deletions content/codex/gaming/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title = "Gaming"
description = "Interactivity and escapism"
sort_by = "weight"
template = "blog/list.html"
insert_anchor_links = "heading"

[extra]
in_menu = true
Expand Down
1 change: 1 addition & 0 deletions content/codex/research-methods/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title = "Research Methods"
description = "Ways to gather and collect data."
sort_by = "weight"
template = "blog/list.html"
insert_anchor_links = "heading"

[extra]
in_menu = true
Expand Down
1 change: 1 addition & 0 deletions content/tags/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title = "Tags"
description = "Explore by tag"
weight = 3
insert_anchor_links = "heading"

[extra]
in_menu = false
Expand Down
7 changes: 6 additions & 1 deletion sass/_text.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
a {
a:not(.zola-anchor) {
text-decoration: var(--color-link) dotted underline;
color: var(--color-link-muted);

Expand All @@ -17,6 +17,11 @@ a {
}
}

a.zola-anchor {
text-decoration: none;
color: var(--color-text);
}

ol {
counter-reset: section;
list-style-type: none;
Expand Down

0 comments on commit 619d0c4

Please sign in to comment.