Browse Source

Mention the id variable for the anchor link template

Closes #727
index-subcmd
Vincent Prouillet 5 years ago
parent
commit
f26f7719c6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/content/documentation/content/linking.md

+ 1
- 1
docs/content/documentation/content/linking.md View File

@@ -33,7 +33,7 @@ This option is set at the section level: the `insert_anchor_links` variable on t


The default template is very basic and will need CSS tweaks in your project to look decent. The default template is very basic and will need CSS tweaks in your project to look decent.
If you want to change the anchor template, it can easily be overwritten by If you want to change the anchor template, it can easily be overwritten by
creating a `anchor-link.html` file in the `templates` directory.
creating a `anchor-link.html` file in the `templates` directory which gets an `id` variable.


## Internal links ## Internal links
Linking to other pages and their headings is so common that Zola adds a Linking to other pages and their headings is so common that Zola adds a


Loading…
Cancel
Save