# Add \`insert\_anchor\_links\` back to \`config.toml\`

**URL:** <https://zola.discourse.group/t/add-insert-anchor-links-back-to-config-toml/2441>\
**Category:** Feature requests\
**Created:** [January 13, 2025, 12:02am UTC](https://zola.discourse.group/t/add-insert-anchor-links-back-to-config-toml/2441 "2025-01-13T00:02:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![9999years](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/9999years/32/1391_2.png) [@9999years](https://zola.discourse.group/u/9999years)\
**Post date:** [January 13, 2025, 12:02am UTC](https://zola.discourse.group/t/add-insert-anchor-links-back-to-config-toml/2441/1 "2025-01-13T00:02:20Z")

</div>

`insert_anchor_links` was a valid `config.toml` setting before [0.0.6](https://github.com/getzola/zola/blob/master/CHANGELOG.md#006-2017-05-24) but was changed to a section option.

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`”.](https://github.com/getzola/zola/issues/634#issuecomment-882775151)

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.

---

<div class="post-metadata">

**Author:** ![9999years](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/9999years/32/1391_2.png) [@9999years](https://zola.discourse.group/u/9999years)\
**Post date:** [January 13, 2025, 12:03am UTC](https://zola.discourse.group/t/add-insert-anchor-links-back-to-config-toml/2441/2 "2025-01-13T00:03:13Z")

</div>

I wrote [a draft implementation of this feature #2767](https://github.com/getzola/zola/pull/2767) because it looked pretty easy and luckily the diff is pretty small (+57 -10 including docs and tests).
