summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-06-11 22:32:19 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-06-11 22:32:19 +0200
commite02629f81ab5f817a95cf0ffec8f0aa2016294aa (patch)
treef71600b94849c70165c12d6a84d0b5db9d860d66 /docs/content/en/functions
parented4a345efeaa19eef2c1c6360d22f75c24abc31a (diff)
parentb239595af5a9fc1fc9a1ccc666c3ab06ccc32f04 (diff)
Diffstat (limited to 'docs/content/en/functions')
-rw-r--r--docs/content/en/functions/findRe.md4
-rw-r--r--docs/content/en/functions/format.md2
-rw-r--r--docs/content/en/functions/len.md4
-rw-r--r--docs/content/en/functions/now.md2
-rw-r--r--docs/content/en/functions/replacere.md4
5 files changed, 8 insertions, 8 deletions
diff --git a/docs/content/en/functions/findRe.md b/docs/content/en/functions/findRe.md
index 23817c575..743c8542b 100644
--- a/docs/content/en/functions/findRe.md
+++ b/docs/content/en/functions/findRe.md
@@ -35,9 +35,9 @@ You can limit the number of matches in the list with a third parameter. The foll
```
{{% note %}}
-Hugo uses Golang's [Regular Expression package](https://golang.org/pkg/regexp/), which is the same general syntax used by Perl, Python, and other languages but with a few minor differences for those coming from a background in PCRE. For a full syntax listing, see the [GitHub wiki for re2](https://github.com/google/re2/wiki/Syntax).
+Hugo uses Go's [Regular Expression package](https://golang.org/pkg/regexp/), which is the same general syntax used by Perl, Python, and other languages but with a few minor differences for those coming from a background in PCRE. For a full syntax listing, see the [GitHub wiki for re2](https://github.com/google/re2/wiki/Syntax).
-If you are just learning RegEx, or at least Golang's flavor, you can practice pattern matching in the browser at <https://regex101.com/>.
+If you are just learning RegEx, or at least Go's flavor, you can practice pattern matching in the browser at <https://regex101.com/>.
{{% /note %}}
diff --git a/docs/content/en/functions/format.md b/docs/content/en/functions/format.md
index 1d498cc3b..fef4d85da 100644
--- a/docs/content/en/functions/format.md
+++ b/docs/content/en/functions/format.md
@@ -31,7 +31,7 @@ Assuming a key-value of `date: 2017-03-03` in a content file's front matter, you
{{ .PublishDate.Format "January 2, 2006" }} => March 3, 2017
```
-For formatting *any* string representations of dates defined in your front matter, see the [`dateFormat` function][dateFormat], which will still leverage the Golang layout string explained below but uses a slightly different syntax.
+For formatting *any* string representations of dates defined in your front matter, see the [`dateFormat` function][dateFormat], which will still leverage the Go layout string explained below but uses a slightly different syntax.
## Go's Layout String
diff --git a/docs/content/en/functions/len.md b/docs/content/en/functions/len.md
index b8e380e49..e054ed5f8 100644
--- a/docs/content/en/functions/len.md
+++ b/docs/content/en/functions/len.md
@@ -17,7 +17,7 @@ toc: false
aliases: []
---
-`len` is a built-in function in Golang that returns the length of a variable according to its type. From the Golang documentation:
+`len` is a built-in function in Go that returns the length of a variable according to its type. From the Go documentation:
> Array: the number of elements in v.
>
@@ -57,4 +57,4 @@ Note the use of `.RegularPages`, a [site variable][] that counts all regular con
[list templates]: /templates/lists/
[section]: /content-management/sections/
[site variable]: /variables/site/
-[`where`]: /functions/where/ \ No newline at end of file
+[`where`]: /functions/where/
diff --git a/docs/content/en/functions/now.md b/docs/content/en/functions/now.md
index 8c706835b..ae8213d05 100644
--- a/docs/content/en/functions/now.md
+++ b/docs/content/en/functions/now.md
@@ -37,7 +37,7 @@ would produce the following:
</div>
```
-The above example uses the [`.Format` function](/functions/format), which page includes a full listing of date formatting using Golang's layout string.
+The above example uses the [`.Format` function](/functions/format), which page includes a full listing of date formatting using Go's layout string.
{{% note %}}
Older Hugo themes may still be using the obsolete Page’s `.Now` (uppercase with leading dot), which causes build error that looks like the following:
diff --git a/docs/content/en/functions/replacere.md b/docs/content/en/functions/replacere.md
index 0571c92b2..9c2778b5f 100644
--- a/docs/content/en/functions/replacere.md
+++ b/docs/content/en/functions/replacere.md
@@ -25,7 +25,7 @@ aliases: []
```
{{% note %}}
-Hugo uses Golang's [Regular Expression package](https://golang.org/pkg/regexp/), which is the same general syntax used by Perl, Python, and other languages but with a few minor differences for those coming from a background in PCRE. For a full syntax listing, see the [GitHub wiki for re2](https://github.com/google/re2/wiki/Syntax).
+Hugo uses Go's [Regular Expression package](https://golang.org/pkg/regexp/), which is the same general syntax used by Perl, Python, and other languages but with a few minor differences for those coming from a background in PCRE. For a full syntax listing, see the [GitHub wiki for re2](https://github.com/google/re2/wiki/Syntax).
-If you are just learning RegEx, or at least Golang's flavor, you can practice pattern matching in the browser at <https://regex101.com/>.
+If you are just learning RegEx, or at least Go's flavor, you can practice pattern matching in the browser at <https://regex101.com/>.
{{% /note %}}