From fe78595c89aeb0c8dcaec898d6da9da3acbcb9d0 Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Wed, 5 Apr 2017 18:24:40 -0500 Subject: [PATCH] Add emphasis to trim function explanation --- content/functions/trim.md | 2 +- themes/hugo-docs-concept/layouts/_default/section.html | 1 - themes/hugo-docs-concept/layouts/partials/contents-list.html | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/content/functions/trim.md b/content/functions/trim.md index 44d7fd7d1..bdd08a4a4 100644 --- a/content/functions/trim.md +++ b/content/functions/trim.md @@ -22,7 +22,7 @@ deprecated: false {{ trim "++Batman--" "+-" }} → "Batman" ``` -`trim` *requires* the second argument, which tells the function specifically what to remove from the first argument. There is no default value for the second argument, so the following usage will *not* work: +`trim` *requires* the second argument, which tells the function specifically what to remove from the first argument. There is no default value for the second argument, so **the following usage will not work**: ``` {{ trim .Inner}} diff --git a/themes/hugo-docs-concept/layouts/_default/section.html b/themes/hugo-docs-concept/layouts/_default/section.html index d94fc0ca9..1ceb5d805 100644 --- a/themes/hugo-docs-concept/layouts/_default/section.html +++ b/themes/hugo-docs-concept/layouts/_default/section.html @@ -19,6 +19,5 @@ {{partial "content-footer.html" . }} - {{ end }} \ No newline at end of file diff --git a/themes/hugo-docs-concept/layouts/partials/contents-list.html b/themes/hugo-docs-concept/layouts/partials/contents-list.html index 0c5b25932..8c4de8a53 100644 --- a/themes/hugo-docs-concept/layouts/partials/contents-list.html +++ b/themes/hugo-docs-concept/layouts/partials/contents-list.html @@ -1,5 +1,5 @@ {{$kind := .Kind}} -
+
{{range .Data.Pages}}