From 000ab7c423341bb215d4ccb4a9e54d3d64957e24 Mon Sep 17 00:00:00 2001 From: Vas Sudanagunta Date: Mon, 2 Oct 2017 08:21:18 -0400 Subject: [PATCH] Fix `ref` and `relref` shortcode usage patterns The documentname parameter to `ref` and `relref` shortcodes must include file extension. Including the file extension in the given usage patterns will make it much easier for users to follow. --- content/content-management/cross-references.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/content-management/cross-references.md b/content/content-management/cross-references.md index e0b32dbe2..55335d6a0 100644 --- a/content/content-management/cross-references.md +++ b/content/content-management/cross-references.md @@ -21,12 +21,12 @@ toc: true ## Use `ref` and `relref` ``` -{{}} +{{}} {{}} -{{}} -{{}} +{{}} +{{}} {{}} -{{}} +{{}} ``` The single parameter to `ref` is a string with a content `documentname` (e.g., `about.md`) with or without an appended in-document `anchor` (`#who`) without spaces. @@ -120,4 +120,4 @@ Ensuring heading uniqueness across the site is accomplished with a unique identi [built-in Hugo shortcodes]: /content-management/shortcodes/#using-the-built-in-shortcodes [lists]: /templates/lists/ [output formats]: /templates/output-formats/ -[shortcode]: /content-management/shortcodes/ \ No newline at end of file +[shortcode]: /content-management/shortcodes/