Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anchors don't appear for titles in the blog posts #1760

Open
thibaultamartin opened this issue Apr 30, 2023 · 1 comment · May be fixed by #2009
Open

Anchors don't appear for titles in the blog posts #1760

thibaultamartin opened this issue Apr 30, 2023 · 1 comment · May be fixed by #2009
Labels
aesthetic Visual inconsistencies or improvements blog This issue is related to the blog section

Comments

@thibaultamartin
Copy link
Contributor

Zola supports anchor insertion: https://www.getzola.org/documentation/content/linking/#anchor-insertion

@mcnesium
Copy link

This is also true for subtitles. Please re-add them. It's a bit tedious to get the anchors from the source code, if you want to e.g. deep-link to a certain TWIM topic like https://matrix.org/blog/2023/06/09/this-week-in-matrix-2023-06-09/#element-web-desktop-website

JacksonChen666 added a commit to JacksonChen666/matrix.org that referenced this issue Sep 11, 2023
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

fixes matrix-org#1760
JacksonChen666 added a commit to JacksonChen666/matrix.org that referenced this issue Sep 11, 2023
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
@JacksonChen666 JacksonChen666 linked a pull request Sep 11, 2023 that will close this issue
@MTRNord MTRNord added aesthetic Visual inconsistencies or improvements blog This issue is related to the blog section labels Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aesthetic Visual inconsistencies or improvements blog This issue is related to the blog section
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants