diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-02-18 17:52:49 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-02-18 17:52:49 +0100 |
commit | 7d0a261981d5832c21cc77f04331647e451a881f (patch) | |
tree | f0241786db90403cfea6fada5ebb65860a8ae3ff /docs/content/en/functions | |
parent | c60806550a21062936b0d02708c9a8c240cafa9d (diff) | |
parent | acb9109df778fa4a51c0d8b29b3212b12988908f (diff) |
Merge commit 'acb9109df778fa4a51c0d8b29b3212b12988908f'
Diffstat (limited to 'docs/content/en/functions')
-rw-r--r-- | docs/content/en/functions/RenderString.md | 2 | ||||
-rw-r--r-- | docs/content/en/functions/site.md | 26 |
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" >}}). + + |