Merge commit 'ba45da9d03056447e4873de13d4e0f8d658a769b'

This commit is contained in:
Bjørn Erik Pedersen 2017-09-21 19:05:40 +02:00
parent d0bb30963c
commit af14cae0c7
201 changed files with 471 additions and 205 deletions

View File

@ -3,7 +3,7 @@ title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }} date: {{ .Date }}
description: "" description: ""
categories: [] categories: []
#tags: [] keywords: []
slug: "" slug: ""
aliases: [] aliases: []
toc: false toc: false

View File

@ -45,6 +45,20 @@ baseName = "_headers"
isPlainText = true isPlainText = true
notAlternative = true notAlternative = true
[related]
threshold = 80
includeNewer = true
toLower = false
[[related.indices]]
name = "keywords"
weight = 100
[[related.indices]]
name = "date"
weight = 10
pattern = "2006"
[social] [social]
twitter = "GoHugoIO" twitter = "GoHugoIO"
@ -52,7 +66,7 @@ twitter = "GoHugoIO"
[params] [params]
description = "The worlds fastest framework for building websites" description = "The worlds fastest framework for building websites"
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable) ## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
release = "0.27-DEV" release = "0.28-DEV"
## Setting this to true will add a "noindex" to *EVERY* page on the site ## Setting this to true will add a "noindex" to *EVERY* page on the site
removefromexternalsearch = false removefromexternalsearch = false
## Gh repo for site footer (include trailing slash) ## Gh repo for site footer (include trailing slash)

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [] categories: []
#tags: [] keywords: []
menu: menu:
docs: docs:
parent: "about" parent: "about"

View File

@ -5,7 +5,7 @@ description: Improved performance, security and ease of use are just a few of th
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
#tags: [ssg,static,performance,security] keywords: [ssg,static,performance,security]
menu: menu:
docs: docs:
parent: "about" parent: "about"

View File

@ -6,7 +6,7 @@ date: 2016-02-01
publishdate: 2016-02-01 publishdate: 2016-02-01
lastmod: 2016-03-02 lastmod: 2016-03-02
categories: ["about hugo"] categories: ["about hugo"]
#tags: ["License","apache"] keywords: ["License","apache"]
menu: menu:
docs: docs:
parent: "about" parent: "about"

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [about hugo] categories: [about hugo]
#tags: [about,contribute,roadmap] keywords: [about,contribute,roadmap]
menu: menu:
docs: docs:
parent: "about" parent: "about"
@ -42,7 +42,7 @@ Feel free to [contribute to Hugo's development][devcontribute], [improve Hugo's
[doccontribute]: /contribute/documentation/ [doccontribute]: /contribute/documentation/
[hosting and deployment]: /hosting-and-deployment/ [hosting and deployment]: /hosting-and-deployment/
[migrate]: /tools/migrations/ [migrate]: /tools/migrations/
[milestones]: https://github.com/gohugoio/hugo/milestone/14 [milestones]: https://github.com/gohugoio/hugo/milestones/
[newissue]: https://github.com/gohugoio/hugo/issues/ [newissue]: https://github.com/gohugoio/hugo/issues/
[related forum thread]: https://discourse.gohugo.io/t/web-based-editor/155 [related forum thread]: https://discourse.gohugo.io/t/web-based-editor/155
[themes]: /themes/ [themes]: /themes/

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [commands] categories: [commands]
#tags: [cli,command line] keywords: [cli,command line]
menu: menu:
docs: docs:
parent: "commands" parent: "commands"

View File

@ -9,7 +9,7 @@ menu:
docs: docs:
parent: "content-management" parent: "content-management"
weight: 1 weight: 1
#tags: [source, organization] keywords: [source, organization]
categories: [content management] categories: [content management]
weight: 01 #rem weight: 01 #rem
draft: false draft: false

View File

@ -5,7 +5,7 @@ description: Archetypes allow you to create new instances of content types and s
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
#tags: [archetypes,generators,metadata,front matter] keywords: [archetypes,generators,metadata,front matter]
categories: ["content management"] categories: ["content management"]
menu: menu:
docs: docs:
@ -29,7 +29,7 @@ See above
**Archetypes** are content files in the [archetypes directory][] of your project that contain preconfigured [front matter][] for your website's [content types][]. Archetypes facilitate consistent metadata across your website content and allow content authors to quickly generate instances of a content type via the `hugo new` command. **Archetypes** are content files in the [archetypes directory][] of your project that contain preconfigured [front matter][] for your website's [content types][]. Archetypes facilitate consistent metadata across your website content and allow content authors to quickly generate instances of a content type via the `hugo new` command.
{{< youtube S3Tj3UcTFz8 >}} {{< youtube bcme8AzVh6o >}}
The `hugo new` generator for archetypes assumes your working directory is the content folder at the root of your project. Hugo is able to infer the appropriate archetype by assuming the content type from the content section passed to the CLI command: The `hugo new` generator for archetypes assumes your working directory is the content folder at the root of your project. Hugo is able to infer the appropriate archetype by assuming the content type from the content section passed to the CLI command:

View File

@ -5,7 +5,7 @@ description:
date: 2016-08-22 date: 2016-08-22
publishdate: 2017-03-12 publishdate: 2017-03-12
lastmod: 2017-03-12 lastmod: 2017-03-12
#tags: [authors] keywords: [authors]
categories: ["content management"] categories: ["content management"]
menu: menu:
docs: docs:

View File

@ -5,7 +5,7 @@ description: Hugo ships with an internal Disqus template, but this isn't the onl
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-03-09 lastmod: 2017-03-09
#tags: [sections,content,organization] keywords: [sections,content,organization]
categories: [project organization, fundamentals] categories: [project organization, fundamentals]
menu: menu:
docs: docs:

View File

@ -5,7 +5,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-03-31 lastmod: 2017-03-31
categories: [content management] categories: [content management]
#tags: ["cross references","references", "anchors", "urls"] keywords: ["cross references","references", "anchors", "urls"]
menu: menu:
docs: docs:
parent: "content-management" parent: "content-management"

View File

@ -6,7 +6,7 @@ date: 2017-01-10
publishdate: 2017-01-10 publishdate: 2017-01-10
lastmod: 2017-04-06 lastmod: 2017-04-06
categories: [content management] categories: [content management]
#tags: [markdown,asciidoc,mmark,content format] keywords: [markdown,asciidoc,mmark,content format]
menu: menu:
docs: docs:
parent: "content-management" parent: "content-management"

View File

@ -6,7 +6,7 @@ date: 2017-01-09
publishdate: 2017-01-09 publishdate: 2017-01-09
lastmod: 2017-02-24 lastmod: 2017-02-24
categories: [content management] categories: [content management]
#tags: ["front matter", "yaml", "toml", "json", "metadata", "archetypes"] keywords: ["front matter", "yaml", "toml", "json", "metadata", "archetypes"]
menu: menu:
docs: docs:
parent: "content-management" parent: "content-management"
@ -19,6 +19,8 @@ toc: true
**Front matter** allows you to keep metadata attached to an instance of a [content type][]---i.e., embedded inside a content file---and is one of the many features that gives Hugo its strength. **Front matter** allows you to keep metadata attached to an instance of a [content type][]---i.e., embedded inside a content file---and is one of the many features that gives Hugo its strength.
{{< youtube Yh2xKRJGff4 >}}
## Front Matter Formats ## Front Matter Formats
Hugo supports three formats for front matter, each with their own identifying tokens. Hugo supports three formats for front matter, each with their own identifying tokens.

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-03-31 lastmod: 2017-03-31
categories: [content management] categories: [content management]
#tags: [menus] keywords: [menus]
draft: false draft: false
menu: menu:
docs: docs:

View File

@ -6,7 +6,7 @@ date: 2017-01-10
publishdate: 2017-01-10 publishdate: 2017-01-10
lastmod: 2017-01-10 lastmod: 2017-01-10
categories: [content management] categories: [content management]
#tags: [multilingual,i18n, internationalization] keywords: [multilingual,i18n, internationalization]
menu: menu:
docs: docs:
parent: "content-management" parent: "content-management"

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [content management,fundamentals] categories: [content management,fundamentals]
#tags: [sections,content,organization] keywords: [sections,content,organization]
menu: menu:
docs: docs:
parent: "content-management" parent: "content-management"
@ -24,6 +24,8 @@ This section is not updated with the new nested sections support in Hugo 0.24, s
See above See above
{{% /todo %}} {{% /todo %}}
{{< youtube 0GZxidrlaRM >}}
## Organization of Content Source ## Organization of Content Source
In Hugo, your content should be organized in a manner that reflects the rendered website. In Hugo, your content should be organized in a manner that reflects the rendered website.

View File

@ -3,7 +3,7 @@ title: Related Content
description: List related content in "See Also" sections. description: List related content in "See Also" sections.
date: 2017-09-05 date: 2017-09-05
categories: [content management] categories: [content management]
#tags: [content] keywords: [content]
menu: menu:
docs: docs:
parent: "content-management" parent: "content-management"
@ -57,6 +57,10 @@ type PageGenealogist interface {
## Configure Related Content ## Configure Related Content
Hugo provides a sensible default configuration of Related Content, but you can fine-tune this in your configuration, on the global or language level if needed. Hugo provides a sensible default configuration of Related Content, but you can fine-tune this in your configuration, on the global or language level if needed.
{{% note %}}
If you add a `related` config section, you need to add a complete configuration. It is not possible to just set, say, `includeNewer` and use the rest from the Hugo defaults.
{{% /note %}}
Below is a sample `config.toml` section: Below is a sample `config.toml` section:
``` ```

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [content management] categories: [content management]
#tags: [lists,sections,content types,organization] keywords: [lists,sections,content types,organization]
menu: menu:
docs: docs:
parent: "content-management" parent: "content-management"

View File

@ -12,7 +12,7 @@ menu:
weight: 35 weight: 35
weight: 35 #rem weight: 35 #rem
categories: [content management] categories: [content management]
#tags: [markdown,content,shortcodes] keywords: [markdown,content,shortcodes]
draft: false draft: false
aliases: [/extras/shortcodes/] aliases: [/extras/shortcodes/]
toc: true toc: true
@ -30,6 +30,8 @@ In addition to cleaner Markdown, shortcodes can be updated any time to reflect n
## Use Shortcodes ## Use Shortcodes
{{< youtube 2xkNJL4gJ9E >}}
In your content files, a shortcode can be called by calling `{{%/* shortcodename parameters */%}}`. Shortcode parameters are space delimited, and parameters with internal spaces can be quoted. In your content files, a shortcode can be called by calling `{{%/* shortcodename parameters */%}}`. Shortcode parameters are space delimited, and parameters with internal spaces can be quoted.
The first word in the shortcode declaration is always the name of the shortcode. Parameters follow the name. Depending upon how the shortcode is defined, the parameters may be named, positional, or both, although you can't mix parameter types in a single call. The format for named parameters models that of HTML with the format `name="value"`. The first word in the shortcode declaration is always the name of the shortcode. Parameters follow the name. Depending upon how the shortcode is defined, the parameters may be named, positional, or both, although you can't mix parameter types in a single call. The format for named parameters models that of HTML with the format `name="value"`.

View File

@ -6,7 +6,7 @@ date: 2017-01-10
publishdate: 2017-01-10 publishdate: 2017-01-10
lastmod: 2017-01-10 lastmod: 2017-01-10
categories: [content management] categories: [content management]
#tags: [summaries,abstracts,read more] keywords: [summaries,abstracts,read more]
menu: menu:
docs: docs:
parent: "content-management" parent: "content-management"

View File

@ -5,7 +5,7 @@ description: Hugo includes support for user-defined taxonomies to help you demo
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
#tags: [taxonomies,metadata,front matter,terms] keywords: [taxonomies,metadata,front matter,terms]
categories: [content management] categories: [content management]
menu: menu:
docs: docs:
@ -32,7 +32,7 @@ Term
Value Value
: a piece of content assigned to a term : a piece of content assigned to a term
{{< youtube "-np9GX6cL38" >}} {{< youtube pCPCQgqC8RA >}}
## Example Taxonomy: Movie Website ## Example Taxonomy: Movie Website

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [content management] categories: [content management]
#tags: [table of contents, toc] keywords: [table of contents, toc]
menu: menu:
docs: docs:
parent: "content-management" parent: "content-management"

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [content management] categories: [content management]
#tags: [lists,sections,content types,types,organization] keywords: [lists,sections,content types,types,organization]
menu: menu:
docs: docs:
parent: "content-management" parent: "content-management"

View File

@ -5,7 +5,7 @@ description: Hugo supports permalinks, aliases, link canonicalization, and multi
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-03-09 lastmod: 2017-03-09
#tags: [aliases,redirects,permalinks,urls] keywords: [aliases,redirects,permalinks,urls]
categories: [content management] categories: [content management]
menu: menu:
docs: docs:

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [contribute] categories: [contribute]
#tags: [] keywords: []
menu: menu:
docs: docs:
parent: "contribute" parent: "contribute"

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [contribute] categories: [contribute]
#tags: [dev,open source] keywords: [dev,open source]
authors: [digitalcraftsman] authors: [digitalcraftsman]
menu: menu:
docs: docs:

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [contribute] categories: [contribute]
#tags: [docs,documentation,community, contribute] keywords: [docs,documentation,community, contribute]
menu: menu:
docs: docs:
parent: "contribute" parent: "contribute"

View File

@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-27 lastmod: 2017-02-27
categories: [contribute] categories: [contribute]
#tags: [contribute,themes,design] keywords: [contribute,themes,design]
authors: [digitalcraftsman] authors: [digitalcraftsman]
menu: menu:
docs: docs:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [sections,lists,indexes] keywords: [sections,lists,indexes]
signature: [".GetPage TYPE PATH"] signature: [".GetPage TYPE PATH"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -7,7 +7,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-08-21 lastmod: 2017-08-21
categories: [functions] categories: [functions]
#tags: [numbers] keywords: [numbers]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"

View File

@ -6,7 +6,7 @@ godocref:
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
#tags: [] keywords: []
menu: menu:
docs: docs:
parent: "functions" parent: "functions"

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [multilingual,i18n,urls] keywords: [multilingual,i18n,urls]
signature: ["absLangURL INPUT"] signature: ["absLangURL INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [urls] keywords: [urls]
signature: ["absURL INPUT"] signature: ["absURL INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [dates,time] keywords: [dates,time]
signature: [".AddDate YEARS MONTHS DAYS"] signature: [".AddDate YEARS MONTHS DAYS"]
workson: [times] workson: [times]
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [iteration] keywords: [iteration]
signature: ["after INDEX COLLECTION"] signature: ["after INDEX COLLECTION"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [advanced] keywords: [advanced]
signature: ["apply COLLETION FUNCTION [PARAM...]"] signature: ["apply COLLETION FUNCTION [PARAM...]"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
relatedfuncs: [] relatedfuncs: []
signature: ["base64Decode INPUT", "base64Encode INPUT"] signature: ["base64Decode INPUT", "base64Encode INPUT"]
workson: [] workson: []

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [trim] keywords: [trim]
signature: ["chomp INPUT"] signature: ["chomp INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [counting, word count] keywords: [counting, word count]
signature: ["countrunes INPUT"] signature: ["countrunes INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [counting, word count] keywords: [counting, word count]
signature: ["countwords INPUT"] signature: ["countwords INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [dates,time,strings] keywords: [dates,time,strings]
signature: ["dateFormat LAYOUT INPUT"] signature: ["dateFormat LAYOUT INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -6,7 +6,7 @@ godocref:
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
#tags: [defaults] keywords: [defaults]
categories: [functions] categories: [functions]
menu: menu:
docs: docs:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [iteration] keywords: [iteration]
toc: false toc: false
signature: ["delimit COLLECTION DELIMIT LAST"] signature: ["delimit COLLECTION DELIMIT LAST"]
workson: [lists,taxonomies,terms] workson: [lists,taxonomies,terms]
@ -36,7 +36,7 @@ The examples of `delimit` that follow all use the same front matter:
{{< code file="delimit-example-front-matter.toml" nocopy="true" >}} {{< code file="delimit-example-front-matter.toml" nocopy="true" >}}
+++ +++
title: I love Delimit title: I love Delimit
#tags: [ "tag1", "tag2", "tag3" ] keywords: [ "tag1", "tag2", "tag3" ]
+++ +++
{{< /code >}} {{< /code >}}

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [dictionary] keywords: [dictionary]
signature: ["dict KEY VALUE [KEY VALUE]..."] signature: ["dict KEY VALUE [KEY VALUE]..."]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
signature: ["echoParam DICTIONARY KEY"] signature: ["echoParam DICTIONARY KEY"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings,emojis] keywords: [strings,emojis]
signature: ["emojify INPUT"] signature: ["emojify INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [operators,logic] keywords: [operators,logic]
signature: ["eq ARG1 ARG2"] signature: ["eq ARG1 ARG2"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [regex] keywords: [regex]
signature: ["findRE PATTERN INPUT [LIMIT]"] signature: ["findRE PATTERN INPUT [LIMIT]"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [iteration] keywords: [iteration]
signature: ["first LIMIT COLLECTION"] signature: ["first LIMIT COLLECTION"]
workson: [lists,taxonomies,terms,groups] workson: [lists,taxonomies,terms,groups]
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [dates,time] keywords: [dates,time]
signature: [".Format FORMAT"] signature: [".Format FORMAT"]
workson: [times] workson: [times]
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [operators,logic] keywords: [operators,logic]
signature: ["ge ARG1 ARG2"] signature: ["ge ARG1 ARG2"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [shortcodes] keywords: [shortcodes]
signature: ["Get INDEX", "Get KEY"] signature: ["Get INDEX", "Get KEY"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
signature: ["getenv VARIABLE"] signature: ["getenv VARIABLE"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [operators,logic] keywords: [operators,logic]
signature: ["gt ARG1 ARG2"] signature: ["gt ARG1 ARG2"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
signature: ["hasPrefix STRING PREFIX"] signature: ["hasPrefix STRING PREFIX"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [menus] keywords: [menus]
toc: toc:
signature: ["HasChildren"] signature: ["HasChildren"]
workson: [menus] workson: [menus]

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [menus] keywords: [menus]
signature: ["HasMenuCurrent"] signature: ["HasMenuCurrent"]
workson: [menus] workson: [menus]
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [highlighting,pygments,code blocks,syntax] keywords: [highlighting,pygments,code blocks,syntax]
signature: ["highlight INPUT"] signature: ["highlight INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings, html] keywords: [strings, html]
signature: ["htmlEscape INPUT"] signature: ["htmlEscape INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
signature: ["htmlUnescape INPUT"] signature: ["htmlUnescape INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings,casing] keywords: [strings,casing]
signature: ["humanize INPUT"] signature: ["humanize INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [internationalization,i18n,multilingual] keywords: [internationalization,i18n,multilingual]
signature: ["i18n KEY", "T KEY"] signature: ["i18n KEY", "T KEY"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [images] keywords: [images]
signature: ["imageConfig PATH"] signature: ["imageConfig PATH"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings] keywords: [strings]
signature: ["in SET ITEM"] signature: ["in SET ITEM"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
signature: ["index COLLECTION INDEX", "index COLLECTION KEY"] signature: ["index COLLECTION INDEX", "index COLLECTION KEY"]
workson: [] workson: []
hugoversion: hugoversion:
@ -71,7 +71,7 @@ This is where the `index` function is needed. `index` takes 2 parameters in this
The variable for `.Params.location` is a string and can therefore replace `oslo` in the example above: The variable for `.Params.location` is a string and can therefore replace `oslo` in the example above:
``` ```
{{ index .Site.Data.authors .Params.author }} {{ index .Site.Data.locations .Params.location }}
=> map[website:https://www.oslo.kommune.no pop_city:658390 pop_metro:1717900] => map[website:https://www.oslo.kommune.no pop_city:658390 pop_metro:1717900]
``` ```

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings,integers] keywords: [strings,integers]
signature: ["int INPUT"] signature: ["int INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
signature: ["intersect SET1 SET2"] signature: ["intersect SET1 SET2"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [menus] keywords: [menus]
signature: ["IsMenuCurrent"] signature: ["IsMenuCurrent"]
workson: [menus] workson: [menus]
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
signature: ["isset COLLECTION INDEX", "isset COLLECTION KEY"] signature: ["isset COLLECTION INDEX", "isset COLLECTION KEY"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings,json] keywords: [strings,json]
signature: ["jsonify INPUT"] signature: ["jsonify INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -6,7 +6,7 @@ godocref:
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
#tags: [] keywords: []
categories: [functions] categories: [functions]
menu: menu:
docs: docs:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [operators,logic] keywords: [operators,logic]
signature: ["le ARG1 ARG2"] signature: ["le ARG1 ARG2"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -7,7 +7,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-04-18 lastmod: 2017-04-18
categories: [functions] categories: [functions]
#tags: [] keywords: []
signature: ["len INPUT"] signature: ["len INPUT"]
workson: [lists,taxonomies,terms] workson: [lists,taxonomies,terms]
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings,casing] keywords: [strings,casing]
signature: ["lower INPUT"] signature: ["lower INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [operators,logic] keywords: [operators,logic]
signature: ["lt ARG1 ARG2"] signature: ["lt ARG1 ARG2"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -6,7 +6,7 @@ godocref:
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
#tags: [markdown,content] keywords: [markdown,content]
categories: [functions] categories: [functions]
menu: menu:
docs: docs:

View File

@ -5,7 +5,7 @@ godocref:
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
#tags: [math, operators] keywords: [math, operators]
categories: [functions] categories: [functions]
menu: menu:
docs: docs:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
signature: ["md5 INPUT"] signature: ["md5 INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [operators,logic] keywords: [operators,logic]
signature: ["ne ARG1 ARG2"] signature: ["ne ARG1 ARG2"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [dates,time] keywords: [dates,time]
signature: ["now"] signature: ["now"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -5,7 +5,7 @@ godocref:
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-04-30 lastmod: 2017-04-30
#tags: ["front matter"] keywords: ["front matter"]
categories: [functions] categories: [functions]
menu: menu:
docs: docs:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
signature: ["partialCached LAYOUT INPUT [VARIANT...]"] signature: ["partialCached LAYOUT INPUT [VARIANT...]"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings] keywords: [strings]
signature: ["plainify INPUT"] signature: ["plainify INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings] keywords: [strings]
signature: ["pluralize INPUT"] signature: ["pluralize INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings] keywords: [strings]
signature: ["printf FORMAT INPUT"] signature: ["printf FORMAT INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [urls] keywords: [urls]
godocref: godocref:
signature: ["querify KEY VALUE [KEY VALUE]..."] signature: ["querify KEY VALUE [KEY VALUE]..."]
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions,fundamentals]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [iteration] keywords: [iteration]
signature: ["range COLLECTION"] signature: ["range COLLECTION"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [files] keywords: [files]
signature: ["readDir PATH"] signature: ["readDir PATH"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [files] keywords: [files]
signature: ["readFile PATH"] signature: ["readFile PATH"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [cross references, anchors] keywords: [cross references, anchors]
signature: ["ref PAGE CONTENT"] signature: ["ref PAGE CONTENT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -5,7 +5,7 @@ godocref:
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
#tags: [multilingual,i18n,urls] keywords: [multilingual,i18n,urls]
categories: [functions] categories: [functions]
menu: menu:
docs: docs:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [cross references, anchors] keywords: [cross references, anchors]
signature: ["relref PAGE CONTENT"] signature: ["relref PAGE CONTENT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [urls] keywords: [urls]
signature: ["relURL INPUT"] signature: ["relURL INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [views] keywords: [views]
signature: ["render LAYOUT"] signature: ["render LAYOUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [] keywords: []
signature: ["replace INPUT OLD NEW"] signature: ["replace INPUT OLD NEW"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [regex] keywords: [regex]
signature: ["replaceRE PATTERN REPLACEMENT INPUT"] signature: ["replaceRE PATTERN REPLACEMENT INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -9,7 +9,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [style,css,strings] keywords: [style,css,strings]
signature: ["safeCSS INPUT"] signature: ["safeCSS INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings] keywords: [strings]
signature: ["safeHTML INPUT"] signature: ["safeHTML INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

View File

@ -10,7 +10,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
#tags: [strings] keywords: [strings]
signature: ["safeHTMLAttr INPUT"] signature: ["safeHTMLAttr INPUT"]
workson: [] workson: []
hugoversion: hugoversion:

Some files were not shown because too many files have changed in this diff Show More