Skip to content

Commit

Permalink
Add anchor links
Browse files Browse the repository at this point in the history
See https://www.getzola.org/documentation/content/section/#front-matter
after the configs, it writes:

"Keep in mind that any configuration options apply only to the direct
pages, not to the subsections' pages."

So it must be applied to all _index.md for it to be everywhere.

I have not applied the same thing for folders without a `_index.md`
file, and anchor links doesn't seem to be applied to `<h1>` elements
(maybe within `<header>`). It's possible I may have missed something.

fixes matrix-org#1760
  • Loading branch information
JacksonChen666 committed Sep 11, 2023
1 parent ec1c361 commit ceff510
Show file tree
Hide file tree
Showing 160 changed files with 160 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/blog/2014/09/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2014/10/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2014/11/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2014/12/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2014/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/01/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/02/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/03/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/04/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/05/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/06/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/07/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/08/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/09/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/10/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/11/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/12/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2015/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/01/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/02/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/03/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/04/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/05/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/07/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/08/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/09/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/10/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/11/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/12/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2016/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/01/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/02/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/03/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/04/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/05/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/06/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/07/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/08/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/09/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/10/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/11/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/12/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2017/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/01/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/02/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/03/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/04/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/05/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/06/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/07/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/08/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/09/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/10/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/11/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/12/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2018/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2019/01/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2019/02/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2019/03/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2019/04/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2019/05/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2019/06/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2019/07/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2019/08/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2019/09/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
1 change: 1 addition & 0 deletions content/blog/2019/10/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
+++
transparent = true
render = false
insert_anchor_links = "left"
+++
Loading

0 comments on commit ceff510

Please sign in to comment.