From a89faee49134914d32312b63f34404a866b7ad11 Mon Sep 17 00:00:00 2001 From: Sam Foo Date: Thu, 16 Aug 2018 20:12:09 -0700 Subject: [PATCH] Fix Custom Hugo Shortcodes link (#9881) Signed-off-by: GuessWhoSamFoo --- content/en/docs/contribute/start.md | 2 +- content/en/docs/contribute/style/content-organization.md | 4 ++-- .../style/{hugo_shortcodes.md => hugo-shortcodes}/example1.md | 0 .../style/{hugo_shortcodes.md => hugo-shortcodes}/example2.md | 0 .../style/{hugo_shortcodes.md => hugo-shortcodes}/index.md | 0 .../{hugo_shortcodes.md => hugo-shortcodes}/podtemplate.json | 0 static/_redirects | 2 +- 7 files changed, 4 insertions(+), 4 deletions(-) rename content/en/docs/contribute/style/{hugo_shortcodes.md => hugo-shortcodes}/example1.md (100%) rename content/en/docs/contribute/style/{hugo_shortcodes.md => hugo-shortcodes}/example2.md (100%) rename content/en/docs/contribute/style/{hugo_shortcodes.md => hugo-shortcodes}/index.md (100%) rename content/en/docs/contribute/style/{hugo_shortcodes.md => hugo-shortcodes}/podtemplate.json (100%) diff --git a/content/en/docs/contribute/start.md b/content/en/docs/contribute/start.md index ba6ec1155b..7929f21584 100644 --- a/content/en/docs/contribute/start.md +++ b/content/en/docs/contribute/start.md @@ -54,7 +54,7 @@ make your first contribution, and use it when you have questions. Changes to the style guide are made by SIG Docs as a group. To propose a change or addition, [add it to the agenda](https://docs.google.com/document/d/1Ds87eRiNZeXwRBEbFr6Z7ukjbTow5RQcNZLaSvWWQsE/edit#) for an upcoming SIG Docs meeting, and attend the meeting to participate in the -discussion. See the [advanced contribution](advanced.md) topic for more +discussion. See the [advanced contribution](/docs/contribute/advanced/) topic for more information. ### Page templates diff --git a/content/en/docs/contribute/style/content-organization.md b/content/en/docs/contribute/style/content-organization.md index 4855b5baf3..526f755f1b 100644 --- a/content/en/docs/contribute/style/content-organization.md +++ b/content/en/docs/contribute/style/content-organization.md @@ -94,7 +94,7 @@ The site links in the top-right menu -- and also in the footer -- are built by p In addition to standalone content pages (Markdown files), Hugo supports [Page Bundles](https://gohugo.io/content-management/page-bundles/). -One example is [Custom Hugo Shortcodes](/docs/home/contribute/includes/). It is a socalled `leaf bundle`. Everything below the directory with the `index.md` will be part of the bundle, with page-relative links, images can be processed etc.: +One example is [Custom Hugo Shortcodes](/docs/contribute/style/hugo-shortcodes/). It is a socalled `leaf bundle`. Everything below the directory with the `index.md` will be part of the bundle, with page-relative links, images can be processed etc.: ```bash en/docs/home/contribute/includes @@ -134,7 +134,7 @@ The `SASS` source of the stylesheets for this site is stored below `src/sass` an {{% capture whatsnext %}} -* [Custom Hugo shortcodes](/docs/contribute/style/hugo_shortcodes) +* [Custom Hugo shortcodes](/docs/contribute/style/hugo-shortcodes/) * [Style guide](/docs/contribute/style/style-guide) {{% /capture %}} diff --git a/content/en/docs/contribute/style/hugo_shortcodes.md/example1.md b/content/en/docs/contribute/style/hugo-shortcodes/example1.md similarity index 100% rename from content/en/docs/contribute/style/hugo_shortcodes.md/example1.md rename to content/en/docs/contribute/style/hugo-shortcodes/example1.md diff --git a/content/en/docs/contribute/style/hugo_shortcodes.md/example2.md b/content/en/docs/contribute/style/hugo-shortcodes/example2.md similarity index 100% rename from content/en/docs/contribute/style/hugo_shortcodes.md/example2.md rename to content/en/docs/contribute/style/hugo-shortcodes/example2.md diff --git a/content/en/docs/contribute/style/hugo_shortcodes.md/index.md b/content/en/docs/contribute/style/hugo-shortcodes/index.md similarity index 100% rename from content/en/docs/contribute/style/hugo_shortcodes.md/index.md rename to content/en/docs/contribute/style/hugo-shortcodes/index.md diff --git a/content/en/docs/contribute/style/hugo_shortcodes.md/podtemplate.json b/content/en/docs/contribute/style/hugo-shortcodes/podtemplate.json similarity index 100% rename from content/en/docs/contribute/style/hugo_shortcodes.md/podtemplate.json rename to content/en/docs/contribute/style/hugo-shortcodes/podtemplate.json diff --git a/static/_redirects b/static/_redirects index 1896896d06..8c1dde3b53 100644 --- a/static/_redirects +++ b/static/_redirects @@ -196,7 +196,7 @@ /docs/home/contribute/ /docs/contribute/ 301 /docs/home/contribute/content-organization/ /docs/contribute/style/content-organization/ 301 /docs/home/contribute/create-pull-request/ /docs/contribute/foundational/ 301 -/docs/home/contribute/includes/ /docs/contribute/style/hugo_shortcodes/ 301 +/docs/home/contribute/includes/ /docs/contribute/style/hugo-shortcodes/ 301 /docs/home/contribute/style-guide/ /docs/contribute/style/style-guide/ 301 /docs/home/contribute/generated-reference/federation-api/ /docs/contribute/generate-ref-docs/federation-api/ 301 /docs/home/contribute/generated-reference/kubectl/ /docs/contribute/generate-ref-docs/kubectl/ 301