shithub: hugo

Download patch

ref: 6f069e549b869c976cb6576a64812df5e7b7c809
parent: 0483299bc06a742d40528e0d675e42e149910853
parent: 5a83bf314f4c0ce1d61341e0a1df21c9998e8154
author: Bjørn Erik Pedersen <[email protected]>
date: Fri Dec 21 04:45:41 EST 2018

Merge commit '5a83bf314f4c0ce1d61341e0a1df21c9998e8154'

--- a/docs/content/en/content-management/syntax-highlighting.md
+++ b/docs/content/en/content-management/syntax-highlighting.md
@@ -167,7 +167,7 @@
 
 ## List of Chroma Highlighting Languages
 
-The full list of Chroma lexers and their aliases (which is the identifier used in the `hightlight` template func or when doing highlighting in code fences):
+The full list of Chroma lexers and their aliases (which is the identifier used in the `highlight` template func or when doing highlighting in code fences):
 
 {{< chroma-lexers >}}
 
--- a/docs/content/en/functions/strings.TrimLeft.md
+++ b/docs/content/en/functions/strings.TrimLeft.md
@@ -20,9 +20,8 @@
 
 Given the string `"abba"`, leading `"a"`'s can be removed a follows:
 
-    {{ strings.TrimLeft "abba" "a" }} → "bba"
+    {{ strings.TrimLeft "a" "abba" }} → "bba"
 
 Numbers can be handled as well:
 
-    {{ strings.TrimLeft 1221 "12" }} → ""
-
+    {{ strings.TrimLeft 12 1221341221 }} → "341221"
--- a/docs/content/en/functions/strings.TrimRight.md
+++ b/docs/content/en/functions/strings.TrimRight.md
@@ -20,9 +20,9 @@
 
 Given the string `"abba"`, trailing `"a"`'s can be removed a follows:
 
-    {{ strings.TrimRight "abba" "a" }} → "abb"
+    {{ strings.TrimRight "a" "abba" }} → "abb"
 
 Numbers can be handled as well:
 
-    {{ strings.TrimRight 1221 "12" }} → ""
+    {{ strings.TrimRight 12 1221341221 }} → "122134"
 
--- a/docs/content/en/templates/shortcode-templates.md
+++ b/docs/content/en/templates/shortcode-templates.md
@@ -37,7 +37,7 @@
 You can organize your shortcodes in subfolders, e.g. in `layouts/shortcodes/boxes`. These shortcodes would then be accessible with their relative path, e.g:
 
 ```
-{{/*< boxes/square >*/}}
+{{</* boxes/square */>}}
 ```
 
 Note the forward slash.