From: mattjmcnaughton Date: Wed, 4 May 2016 02:16:14 +0000 (-0400) Subject: docs: Fix links in the documentation X-Git-Tag: v0.16~34 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bf4206a0;p=brevno-suite%2Fhugo 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 --- diff --git a/docs/content/overview/source-directory.md b/docs/content/overview/source-directory.md index f8ce4d19..5601f8d0 100644 --- a/docs/content/overview/source-directory.md +++ b/docs/content/overview/source-directory.md @@ -34,7 +34,7 @@ Learn more about the different directories and what their purpose is: * [archetypes](/content/archetypes/) * [content](/content/organization/) * [layouts](/layout/overview/) -* [static](/themes/creation#toc_4) +* [static](/themes/creation#static) * [themes](/themes/overview/) diff --git a/docs/content/templates/go-templates.md b/docs/content/templates/go-templates.md index 2ba34dc8..58ad75cc 100644 --- a/docs/content/templates/go-templates.md +++ b/docs/content/templates/go-templates.md @@ -425,7 +425,7 @@ so, such as in this example: # 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: