mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
docs: Fix links in the documentation
A couple of internal links use `#toc_4` to attempt to locate a document element within another document page. In both of these instances, there is no element on the linked to pages with the id `#toc_4`. This commit updates those links with the document elements which were the original intended links, meaning these links now take you directly to the intended element. Signed-off-by: mattjmcnaughton <mattjmcnaughton@gmail.com>
This commit is contained in:
parent
5caea6f2da
commit
bf4206a02f
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ Learn more about the different directories and what their purpose is:
|
||||||
* [archetypes](/content/archetypes/)
|
* [archetypes](/content/archetypes/)
|
||||||
* [content](/content/organization/)
|
* [content](/content/organization/)
|
||||||
* [layouts](/layout/overview/)
|
* [layouts](/layout/overview/)
|
||||||
* [static](/themes/creation#toc_4)
|
* [static](/themes/creation#static)
|
||||||
* [themes](/themes/overview/)
|
* [themes](/themes/overview/)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -425,7 +425,7 @@ so, such as in this example:
|
||||||
# Template example: Show only upcoming events
|
# Template example: Show only upcoming events
|
||||||
|
|
||||||
Go allows you to do more than what's shown here. Using Hugo's
|
Go allows you to do more than what's shown here. Using Hugo's
|
||||||
[`where`](/templates/functions/#toc_4) function and Go built-ins, we can list
|
[`where`](/templates/functions/#where) function and Go built-ins, we can list
|
||||||
only the items from `content/events/` whose date (set in the front matter) is in
|
only the items from `content/events/` whose date (set in the front matter) is in
|
||||||
the future:
|
the future:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue