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

Is insert_anchor_links a valid config.toml variable? #1477

Closed
rootkea opened this issue May 23, 2021 · 2 comments
Closed

Is insert_anchor_links a valid config.toml variable? #1477

rootkea opened this issue May 23, 2021 · 2 comments

Comments

@rootkea
Copy link
Contributor

rootkea commented May 23, 2021

Hello!

I see insert_anchor_links vaibale in config.toml of docs https://github.com/getzola/zola/blob/master/docs/config.toml but the variable has no mention on https://www.getzola.org/documentation/getting-started/configuration/

Is it a valid config.toml variable?

If yes, then I can send the PR adding insert_anchor_links to https://www.getzola.org/documentation/getting-started/configuration/ :)

Thanks!

@rootkea
Copy link
Contributor Author

rootkea commented May 23, 2021

Looking at the code may be insert_anchor_links is not a valid config.toml variable and so should be removed from docs config.toml https://github.com/getzola/zola/blob/master/docs/config.toml

Keats added a commit that referenced this issue May 23, 2021
@Keats
Copy link
Collaborator

Keats commented May 23, 2021

Cheers, not sure why it was there.

@Keats Keats closed this as completed May 23, 2021
9999years added a commit to 9999years/zola that referenced this issue Jan 12, 2025
`insert_anchor_links` was a valid `config.toml` setting before [0.0.6]
but was changed to a section option.

[0.0.6]: https://github.com/getzola/zola/blob/master/CHANGELOG.md#006-2017-05-24

It was mentioned in the documentation for `config.toml` until 2021
(getzola#1477).

In 2021, @Keats said that "`insert_anchor_links` could probably be a
config option in `config.toml`":
getzola#634 (comment)

In the same thread, several other users requested this feature.
@Artoria2e5 said:

> These sort of settings become annoying to copy-paste when a site ends
> up with many sections.

@ctron said:

> But even more annoying is that it seems I can't add
> insert_anchor_links on the top section, but need to place it in every
> section.
>
> I think having this as a default configuration for the site makes
> total sense.
9999years added a commit to 9999years/zola that referenced this issue Jan 12, 2025
`insert_anchor_links` was a valid `config.toml` setting before [0.0.6]
but was changed to a section option.

[0.0.6]: https://github.com/getzola/zola/blob/master/CHANGELOG.md#006-2017-05-24

It was mentioned in the documentation for `config.toml` until 2021
(getzola#1477).

In 2021, @Keats said that "`insert_anchor_links` could probably be a
config option in `config.toml`":
getzola#634 (comment)

In the same thread, several other users requested this feature.
@Artoria2e5 said:

> These sort of settings become annoying to copy-paste when a site ends
> up with many sections.

@ctron said:

> But even more annoying is that it seems I can't add
> insert_anchor_links on the top section, but need to place it in every
> section.
>
> I think having this as a default configuration for the site makes
> total sense.
Keats pushed a commit that referenced this issue Jan 21, 2025
`insert_anchor_links` was a valid `config.toml` setting before [0.0.6]
but was changed to a section option.

[0.0.6]: https://github.com/getzola/zola/blob/master/CHANGELOG.md#006-2017-05-24

It was mentioned in the documentation for `config.toml` until 2021
(#1477).

In 2021, @Keats said that "`insert_anchor_links` could probably be a
config option in `config.toml`":
#634 (comment)

In the same thread, several other users requested this feature.
@Artoria2e5 said:

> These sort of settings become annoying to copy-paste when a site ends
> up with many sections.

@ctron said:

> But even more annoying is that it seems I can't add
> insert_anchor_links on the top section, but need to place it in every
> section.
>
> I think having this as a default configuration for the site makes
> total sense.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants