shithub: hugo

Download patch

ref: bf4206a02f266629dafde577471655a61664f5bc
parent: 5caea6f2dab6cf97ab728ec7e716ed4207a75cca
author: mattjmcnaughton <[email protected]>
date: Tue May 3 18:16:14 EDT 2016

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 <[email protected]>

--- a/docs/content/overview/source-directory.md
+++ b/docs/content/overview/source-directory.md
@@ -34,7 +34,7 @@
 * [archetypes](/content/archetypes/)
 * [content](/content/organization/)
 * [layouts](/layout/overview/)
-* [static](/themes/creation#toc_4)
+* [static](/themes/creation#static)
 * [themes](/themes/overview/)
 
 
--- a/docs/content/templates/go-templates.md
+++ b/docs/content/templates/go-templates.md
@@ -425,7 +425,7 @@
 # Template example: Show only upcoming events
 
 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
 the future: