summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-02-18 17:52:49 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-02-18 17:52:49 +0100
commit7d0a261981d5832c21cc77f04331647e451a881f (patch)
treef0241786db90403cfea6fada5ebb65860a8ae3ff /docs/content/en/functions
parentc60806550a21062936b0d02708c9a8c240cafa9d (diff)
parentacb9109df778fa4a51c0d8b29b3212b12988908f (diff)
Diffstat (limited to 'docs/content/en/functions')
-rw-r--r--docs/content/en/functions/RenderString.md2
-rw-r--r--docs/content/en/functions/site.md26
2 files changed, 27 insertions, 1 deletions
diff --git a/docs/content/en/functions/RenderString.md b/docs/content/en/functions/RenderString.md
index 19ef11e59..b083e1c34 100644
--- a/docs/content/en/functions/RenderString.md
+++ b/docs/content/en/functions/RenderString.md
@@ -20,7 +20,7 @@ signature: [".RenderString MARKUP"]
The method takes an optional map argument with these options:
display ("inline")
-: `inline` or `block`. If `inline` (default), surrounding ´<p></p>` on short snippets will be trimmed.
+: `inline` or `block`. If `inline` (default), surrounding `<p></p>` on short snippets will be trimmed.
markup (defaults to the Page's markup)
: See identifiers in [List of content formats](/content-management/formats/#list-of-content-formats).
diff --git a/docs/content/en/functions/site.md b/docs/content/en/functions/site.md
new file mode 100644
index 000000000..a6fab6dca
--- /dev/null
+++ b/docs/content/en/functions/site.md
@@ -0,0 +1,26 @@
+---
+title: site
+linktitle: site
+description: The `site` function provides global access the same data as `.Site` page method
+godocref:
+date: 2021-02-11
+publishdate: 2021-02-11
+lastmod: 2021-02-11
+keywords: []
+categories: [functions]
+menu:
+ docs:
+ parent: "functions"
+toc:
+signature: ["site"]
+workson: []
+hugoversion:
+relatedfuncs: ["hugo"]
+deprecated: false
+draft: false
+aliases: []
+---
+
+`site` is a global function which returns the same data as the `.Site` page method. See: [Site Variables]({{< relref "/variables/site" >}}).
+
+