From dbfd3333bb7ae472c772766046c9a4109d66358d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=82=E9=A3=99?= Date: Wed, 9 Oct 2019 21:33:30 +0800 Subject: [PATCH] Fix typo in # anchor links (#936) Remove all trailing `/` slash in `#` anchor links. Find `(\[.*\]:.*#.*)/$` and replace with `$1` to do the work. --- content/en/content-management/front-matter.md | 2 +- content/en/templates/lists.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/content-management/front-matter.md b/content/en/content-management/front-matter.md index 6d8c024c1..0e3baf437 100644 --- a/content/en/content-management/front-matter.md +++ b/content/en/content-management/front-matter.md @@ -187,7 +187,7 @@ It's possible to set some options for Markdown rendering in a content's front ma * [JSON Spec][json] [variables]: /variables/ -[aliases]: /content-management/urls/#aliases/ +[aliases]: /content-management/urls/#aliases [archetype]: /content-management/archetypes/ [bylinktitle]: /templates/lists/#by-link-title [config]: /getting-started/configuration/ "Hugo documentation for site configuration" diff --git a/content/en/templates/lists.md b/content/en/templates/lists.md index f1d6901be..e5f3003fb 100644 --- a/content/en/templates/lists.md +++ b/content/en/templates/lists.md @@ -549,8 +549,8 @@ See the documentation on [`where` function][wherefunction] and [sections]: /content-management/sections/ [sectiontemps]: /templates/section-templates/ [sitevars]: /variables/site/ -[taxlists]: /templates/taxonomy-templates/#taxonomy-list-templates/ -[taxterms]: /templates/taxonomy-templates/#taxonomy-terms-templates/ +[taxlists]: /templates/taxonomy-templates/#taxonomy-list-templates +[taxterms]: /templates/taxonomy-templates/#taxonomy-terms-templates [taxvars]: /variables/taxonomy/ [views]: /templates/views/ [wherefunction]: /functions/where/