Squashed 'docs/' changes from 44fe0285..32356e4e
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 21 Sep 2017 17:03:00 +0000 (19:03 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 21 Sep 2017 17:03:00 +0000 (19:03 +0200)
32356e4e Fix typo in header of shortcode-templates.md
c8f1a2d2 Correct code example for index template function
bfa6a55d Escape code fencing
ff8b2f99 Fix typos in deployment with wercker tutorial
557c36e8 theme: Merge commit '7fbb4bed25001182bfeb91f79db0f0c1936582ee'
7fbb4bed Squashed 'themes/gohugoioTheme/' changes from 7dd8a302..ca53082d
ce31cee0 Add "See Also" config
158cee1b Make the tags into keywords
61600be6 Add a note to the related section
49edb5a2 Relase 0.27.1
c9bbc001 releaser: Add release notes to /docs for release of 0.27.1
213c6c3b Add bugs poster
8b4590cd Add KeyCDN integration tutorial
2b277859 Add tutorial videos to several docs pages
950fef1f Update roadmap to link to the correct milestones page
496f5bf6 Rename relnotes
d6f9378d Bump Netlify versions to 0.27
087fde7f Update 0.27 release notes
603f94ae docs: Document Related Content
3790f6a3 releaser: Bump versions for release of 0.27
0948868c releaser: Add release notes to /docs for release of 0.27

git-subtree-dir: docs
git-subtree-split: 32356e4eabe357ae914f4d1d59e8ae31ce936723

201 files changed:
archetypes/default.md
config.toml
content/about/_index.md
content/about/benefits.md
content/about/license.md
content/about/roadmap.md
content/commands/_index.md
content/content-management/_index.md
content/content-management/archetypes.md
content/content-management/authors.md
content/content-management/comments.md
content/content-management/cross-references.md
content/content-management/formats.md
content/content-management/front-matter.md
content/content-management/menus.md
content/content-management/multilingual.md
content/content-management/organization.md
content/content-management/related.md [new file with mode: 0644]
content/content-management/sections.md
content/content-management/shortcodes.md
content/content-management/summaries.md
content/content-management/taxonomies.md
content/content-management/toc.md
content/content-management/types.md
content/content-management/urls.md
content/contribute/_index.md
content/contribute/development.md
content/contribute/documentation.md
content/contribute/themes.md
content/functions/GetPage.md
content/functions/NumFmt.md
content/functions/_index.md
content/functions/abslangurl.md
content/functions/absurl.md
content/functions/adddate.md
content/functions/after.md
content/functions/apply.md
content/functions/base64.md
content/functions/chomp.md
content/functions/countrunes.md
content/functions/countwords.md
content/functions/dateformat.md
content/functions/default.md
content/functions/delimit.md
content/functions/dict.md
content/functions/echoparam.md
content/functions/emojify.md
content/functions/eq.md
content/functions/findRe.md
content/functions/first.md
content/functions/format.md
content/functions/ge.md
content/functions/get.md
content/functions/getenv.md
content/functions/gt.md
content/functions/hasPrefix.md
content/functions/haschildren.md
content/functions/hasmenucurrent.md
content/functions/highlight.md
content/functions/htmlEscape.md
content/functions/htmlUnescape.md
content/functions/humanize.md
content/functions/i18n.md
content/functions/imageConfig.md
content/functions/in.md
content/functions/index-function.md
content/functions/int.md
content/functions/intersect.md
content/functions/ismenucurrent.md
content/functions/isset.md
content/functions/jsonify.md
content/functions/last.md
content/functions/le.md
content/functions/len.md
content/functions/lower.md
content/functions/lt.md
content/functions/markdownify.md
content/functions/math.md
content/functions/md5.md
content/functions/ne.md
content/functions/now.md
content/functions/param.md
content/functions/partialCached.md
content/functions/plainify.md
content/functions/pluralize.md
content/functions/printf.md
content/functions/querify.md
content/functions/range.md
content/functions/readdir.md
content/functions/readfile.md
content/functions/ref.md
content/functions/relLangURL.md
content/functions/relref.md
content/functions/relurl.md
content/functions/render.md
content/functions/replace.md
content/functions/replacere.md
content/functions/safeCSS.md
content/functions/safeHTML.md
content/functions/safeHTMLAttr.md
content/functions/safeJS.md
content/functions/safeURL.md
content/functions/scratch.md
content/functions/seq.md
content/functions/sha.md
content/functions/shuffle.md
content/functions/singularize.md
content/functions/slice.md
content/functions/slicestr.md
content/functions/sort.md
content/functions/split.md
content/functions/string.md
content/functions/substr.md
content/functions/time.md
content/functions/title.md
content/functions/trim.md
content/functions/truncate.md
content/functions/union.md
content/functions/uniq.md
content/functions/unix.md
content/functions/upper.md
content/functions/urlize.md
content/functions/where.md
content/functions/with.md
content/getting-started/_index.md
content/getting-started/configuration.md
content/getting-started/directory-structure.md
content/getting-started/installing.md
content/getting-started/quick-start.md
content/getting-started/usage.md
content/hosting-and-deployment/_index.md
content/hosting-and-deployment/deployment-with-nanobox.md
content/hosting-and-deployment/deployment-with-rsync.md
content/hosting-and-deployment/deployment-with-wercker.md
content/hosting-and-deployment/hosting-on-bitbucket.md
content/hosting-and-deployment/hosting-on-firebase.md
content/hosting-and-deployment/hosting-on-github.md
content/hosting-and-deployment/hosting-on-gitlab.md
content/hosting-and-deployment/hosting-on-keycdn.md [new file with mode: 0644]
content/hosting-and-deployment/hosting-on-netlify.md
content/news/0.27-relnotes.md [new file with mode: 0644]
content/news/0.27.1-relnotes.md [new file with mode: 0644]
content/news/http2-server-push-in-hugo.md
content/templates/404.md
content/templates/_index.md
content/templates/alternatives.md
content/templates/base.md
content/templates/data-templates.md
content/templates/files.md
content/templates/homepage.md
content/templates/internal.md
content/templates/introduction.md
content/templates/lists.md
content/templates/lookup-order.md
content/templates/menu-templates.md
content/templates/ordering-and-grouping.md
content/templates/output-formats.md
content/templates/pagination.md
content/templates/partials.md
content/templates/robots.md
content/templates/rss.md
content/templates/section-templates.md
content/templates/shortcode-templates.md
content/templates/single-page-templates.md
content/templates/sitemap-template.md
content/templates/taxonomy-templates.md
content/templates/template-debugging.md
content/templates/views.md
content/themes/_index.md
content/themes/creating.md
content/themes/customizing.md
content/themes/installing-and-using-themes.md
content/tools/_index.md
content/tools/editors.md
content/tools/frontends.md
content/tools/migrations.md
content/tools/other.md
content/tools/search.md
content/tools/starter-kits.md
content/tools/syntax-highlighting.md
content/troubleshooting/accented-characters-in-urls.md
content/troubleshooting/build-performance.md
content/troubleshooting/eof-error.md
content/variables/_index.md
content/variables/files.md
content/variables/git.md
content/variables/hugo.md
content/variables/menus.md
content/variables/page.md
content/variables/shortcodes.md
content/variables/site.md
content/variables/sitemap.md
content/variables/taxonomy.md
netlify.toml
static/images/blog/hugo-27-poster.png [new file with mode: 0644]
static/images/blog/hugo-bug-poster.png [new file with mode: 0644]
static/images/hosting-and-deployment/hosting-on-keycdn/keycdn-pull-zone.png [new file with mode: 0644]
static/images/hosting-and-deployment/hosting-on-keycdn/secret-api-key.png [new file with mode: 0644]
static/images/hosting-and-deployment/hosting-on-keycdn/secret-zone-id.png [new file with mode: 0644]
themes/gohugoioTheme/layouts/_default/single.html
themes/gohugoioTheme/layouts/partials/related.html [new file with mode: 0644]

index 0b7f8fdbf62710c935b1dc5a78ee9c0db47b5b05..42eb9e04ed8ba112f754c0dc506b49af6c2da6cf 100644 (file)
@@ -3,7 +3,7 @@ title: "{{ replace .TranslationBaseName "-" " " | title }}"
 date: {{ .Date }}
 description: ""
 categories: []
-#tags: []
+keywords: []
 slug: ""
 aliases: []
 toc: false
index 4ed86586ac80859c5945533099b5c20851a1268e..9a09ef7c04127da68edcbf547f112d7b72177529 100644 (file)
@@ -45,6 +45,20 @@ baseName = "_headers"
 isPlainText = 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]
 twitter = "GoHugoIO"
 
@@ -52,7 +66,7 @@ twitter = "GoHugoIO"
 [params]
   description = "The world’s fastest framework for building websites"
   ## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
-  release = "0.26"
+  release = "0.27.1"
   ## Setting this to true will add a "noindex" to *EVERY* page on the site
   removefromexternalsearch = false
   ## Gh repo for site footer (include trailing slash)
index 422eb1d05a71f004f53cb95a7a01bc6a92bc020e..8ed441b61ed2ddd45691df2058994a5af7c856db 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: []
-#tags: []
+keywords: []
 menu:
   docs:
     parent: "about"
index 87d2f23b574818a11452e082578063f60cc2b189..74c5dde39acd54104cc5abafe09020586bdd0cc2 100644 (file)
@@ -5,7 +5,7 @@ description: Improved performance, security and ease of use are just a few of th
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [ssg,static,performance,security]
+keywords: [ssg,static,performance,security]
 menu:
   docs:
     parent: "about"
index 7575b79c8dc8f6faecc4ae19a9077f4116fba3d8..a8e7c4abd1145cec884f2bdedabe19e6d1ceb19b 100644 (file)
@@ -6,7 +6,7 @@ date: 2016-02-01
 publishdate: 2016-02-01
 lastmod: 2016-03-02
 categories: ["about hugo"]
-#tags: ["License","apache"]
+keywords: ["License","apache"]
 menu:
   docs:
     parent: "about"
index b69126a8923f628eb1d1d4be7ef2b077c24ae6ae..d4117fc21dde428096329a70d2ff2847769dc2c2 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [about hugo]
-#tags: [about,contribute,roadmap]
+keywords: [about,contribute,roadmap]
 menu:
   docs:
     parent: "about"
@@ -42,7 +42,7 @@ Feel free to [contribute to Hugo's development][devcontribute], [improve Hugo's
 [doccontribute]: /contribute/documentation/
 [hosting and deployment]: /hosting-and-deployment/
 [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/
 [related forum thread]: https://discourse.gohugo.io/t/web-based-editor/155
 [themes]: /themes/
index a4ddd54f3a6b403a241bbdd370b02da61d179f57..0bd5667f8517e7b959c3bb6bc3da7eefd5ece5cc 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [commands]
-#tags: [cli,command line]
+keywords: [cli,command line]
 menu:
   docs:
     parent: "commands"
index 96ff44d2f5d19775bb6616a99aac72ca77b4ec1a..a2fbce523eccef26d6ff23977755b7f80c8a212e 100644 (file)
@@ -9,7 +9,7 @@ menu:
   docs:
     parent: "content-management"
     weight: 1
-#tags: [source, organization]
+keywords: [source, organization]
 categories: [content management]
 weight: 01     #rem
 draft: false
index 235de4ff2300369d371e0ac26bc2c57b86d1b29c..c6b8bde766a0ccebc4fef0135e8eed7829bf8f00 100644 (file)
@@ -5,7 +5,7 @@ description: Archetypes allow you to create new instances of content types and s
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [archetypes,generators,metadata,front matter]
+keywords: [archetypes,generators,metadata,front matter]
 categories: ["content management"]
 menu:
   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.
 
-{{< 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:
 
@@ -94,7 +94,7 @@ Default archetypes are convenient if your content's front matter stays consisten
 
 ### Create the Default Archetype
 
-When you create a new Hugo project using `hugo new site`, you'll notice that Hugo has already scaffolded a file at `archetypes/default.md`. 
+When you create a new Hugo project using `hugo new site`, you'll notice that Hugo has already scaffolded a file at `archetypes/default.md`.
 
 The following examples are from a site that's using `tags` and `categories` as [taxonomies][]. If we assume that all content files will require these two key-values, we can create a `default.md` archetype that *extends* Hugo's base archetype. In this example, we are including "golang" and "hugo" as tags and "web development" as a category.
 
index 0a0d1799d288cd57b21d15fd19a4d114b2590464..afc94fa628b829bd63a0116e2d3519fec5e64f9e 100644 (file)
@@ -5,7 +5,7 @@ description:
 date: 2016-08-22
 publishdate: 2017-03-12
 lastmod: 2017-03-12
-#tags: [authors]
+keywords: [authors]
 categories: ["content management"]
 menu:
   docs:
index 2db4497383260bdf22145f0e256e8b532b224f34..355bf0042d3e6d089477a75672deb3fd6f97d38a 100644 (file)
@@ -5,7 +5,7 @@ description: Hugo ships with an internal Disqus template, but this isn't the onl
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-03-09
-#tags: [sections,content,organization]
+keywords: [sections,content,organization]
 categories: [project organization, fundamentals]
 menu:
   docs:
index 358152672fae0ab283d2a3776e82783e80c89166..e0b32dbe28f001ab76c00c2b8e03dd4e7875aeeb 100644 (file)
@@ -5,7 +5,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-03-31
 categories: [content management]
-#tags: ["cross references","references", "anchors", "urls"]
+keywords: ["cross references","references", "anchors", "urls"]
 menu:
   docs:
     parent: "content-management"
index 1ff0784a2a0dc7bab0dada4ed8c3c5ff1a00de63..ad5036a2fdf0656e46d7243813c43ad149f47feb 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-01-10
 publishdate: 2017-01-10
 lastmod: 2017-04-06
 categories: [content management]
-#tags: [markdown,asciidoc,mmark,content format]
+keywords: [markdown,asciidoc,mmark,content format]
 menu:
   docs:
     parent: "content-management"
index 664b7f7f01480a90bc885935a88de3422c130ba1..b9123db2349a99a829f1cf4325fc38a80258e4f1 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-01-09
 publishdate: 2017-01-09
 lastmod: 2017-02-24
 categories: [content management]
-#tags: ["front matter", "yaml", "toml", "json", "metadata", "archetypes"]
+keywords: ["front matter", "yaml", "toml", "json", "metadata", "archetypes"]
 menu:
   docs:
     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.
 
+{{< youtube Yh2xKRJGff4 >}}
+
 ## Front Matter Formats
 
 Hugo supports three formats for front matter, each with their own identifying tokens.
index 364867c675c2ba57365a3952520568515f27ba96..f5e2e1b5c45ba4eff96a30f309f23cb6b94f9bb1 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-03-31
 categories: [content management]
-#tags: [menus]
+keywords: [menus]
 draft: false
 menu:
   docs:
index 958634c58d72830fb0833ba0da3d807186249f72..48bed1bb00701d6768757640f94c9f7598d2b251 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-01-10
 publishdate: 2017-01-10
 lastmod: 2017-01-10
 categories: [content management]
-#tags: [multilingual,i18n, internationalization]
+keywords: [multilingual,i18n, internationalization]
 menu:
   docs:
     parent: "content-management"
index 95fd3562a2fa59803f2d026f0a91b81e82e87b9f..eb884ee4efe8788879e75fb79abb83f2d20364e5 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [content management,fundamentals]
-#tags: [sections,content,organization]
+keywords: [sections,content,organization]
 menu:
   docs:
     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
 {{% /todo %}}
 
+{{< youtube 0GZxidrlaRM >}}
+
 ## Organization of Content Source
 
 In Hugo, your content should be organized in a manner that reflects the rendered website.
diff --git a/content/content-management/related.md b/content/content-management/related.md
new file mode 100644 (file)
index 0000000..8ae6e79
--- /dev/null
@@ -0,0 +1,138 @@
+---
+title: Related Content
+description: List related content in "See Also" sections.
+date: 2017-09-05
+categories: [content management]
+keywords: [content]
+menu:
+  docs:
+    parent: "content-management"
+    weight: 40
+weight: 30
+draft: false
+aliases: [/content/related/,/related/]
+toc: true
+---
+
+{{% note %}}
+We currently do not index **Page content**. We thought we would release something that will make most people happy before we start solving [Sherlock's last case](https://github.com/joearms/sherlock).
+{{% /note %}}
+
+## List Related Content
+
+To list up to 5 related pages is as simple as including something similar to this partial in your single page template:
+
+{{< code file="layouts/partials/related.html" >}}
+{{ $related := .Site.RegularPages.Related . | first 5 }}
+{{ with $related }}
+<h3>See Also</h3>
+<ul>
+       {{ range . }}
+       <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
+       {{ end }}
+</ul>
+{{ end }}
+{{< /code >}}
+
+The full set of methods available on the page lists can bee seen in this Go interface:
+
+```go
+// A PageGenealogist finds related pages in a page collection. This interface is implemented
+// by Pages and PageGroup, which makes it available as `{{ .RegularPages.Related . }}` etc.
+type PageGenealogist interface {
+
+       // Template example:
+       // {{ $related := .RegularPages.Related . }}
+       Related(doc related.Document) (Pages, error)
+
+       // Template example:
+       // {{ $related := .RegularPages.RelatedIndices . "tags" "date" }}
+       RelatedIndices(doc related.Document, indices ...interface{}) (Pages, error)
+
+       // Template example:
+       // {{ $related := .RegularPages.RelatedTo ( keyVals "tags" "hugo" "rocks")  ( keyVals "date" .Date ) }}
+       RelatedTo(args ...types.KeyValues) (Pages, error)
+}
+```
+## 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.
+
+{{% 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:
+
+```
+[related]
+
+# Only include matches with rank >= threshold. This is a normalized rank between 0 and 100.
+threshold = 80
+
+# To get stable "See also" sections we, by default, exclude newer related pages.
+includeNewer = false
+
+# Will lower case keywords in both queries and in the indexes.
+toLower = false
+
+[[related.indices]]
+name = "keywords"
+weight = 150
+[[related.indices]]
+name  = "author"
+toLower = true
+weight = 30
+[[related.indices]]
+name  = "tags"
+weight = 100
+[[related.indices]]
+name  = "date"
+weight = 10
+pattern = "2006"
+```
+### Top Level Config Options
+
+threshold
+:  A value between 0-100. Lower value will give more, but maybe not so relevant, matches.
+
+includeNewer
+:  Set to true to include **pages newer than the current page** in the related content listing. This will mean that the output for older posts may change as new related content gets added.
+
+toLower
+: Set to true to lower case keywords in both the indexes and the queries. This may give more accurate results at a slight performance penalty. Note that this can also be set per index.
+
+### Config Options per Index
+
+name
+:  The index name. This value maps directly to a page param. Hugo supports string values (`author` in the example) and lists (`tags`, `keywords` etc.) and time and date objects. 
+
+weight
+: An integer weight that indicates _how important_ this parameter is relative to the other parameters.  It can be 0, which has the effect of turning this index off, or even negative. Test with different values to see what fits your content best.
+
+pattern
+: This is currently only relevant for dates. When listing related content, we may want to list content that is also close in time. Setting "2006" (default value for date indexes) as the pattern for a date index will add weight to pages published in the same year. For busier blogs, "200601" (year and month) may be a better default.
+
+toLower
+: See above.
+
+## Performance Considerations
+
+**Fast is Hugo's middle name** and we would not have released this feature had it not been blistering fast. 
+
+This feature has been in the back log and requested by many for a long time. The development got this recent kick start from this Twitter thread:
+
+{{< tweet 898398437527363585 >}}
+
+Scott S. Lowe removed the "Related Content" section built using the `intersect` template function on tags, and the build time dropped from 30 seconds to less than 2 seconds on his 1700 content page sized blog. 
+
+He should now be able to add an improved version of that "Related Content" section without giving up the fast live-reloads. But it's worth noting that:
+
+* If you don't use any of the `Related` methods, you will not use the Relate Content feature, and performance will be the same as before.
+* Calling `.RegularPages.Related` etc. will create one inverted index, also sometimes named posting list, that will be reused for any lookups in that same page collection. Doing that in addition to, as an example, calling `.Pages.Related` will work as expected, but will create one additional inverted index. This should still be very fast, but worth having in mind, especially for bigger sites.
+
+
+
+
+
+
+
index dcb0025d16d487edda07745451d7f9b3441821ae..14fc04d64b4fa4f95a4bc51b058b618cdf616158 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [content management]
-#tags: [lists,sections,content types,organization]
+keywords: [lists,sections,content types,organization]
 menu:
   docs:
     parent: "content-management"
index a4424a99645b6fb29ec631becbbb6d19812a7d72..fdeb6fba16f41aba2c82c332f13b25b6801d3cf4 100644 (file)
@@ -12,7 +12,7 @@ menu:
     weight: 35
 weight: 35     #rem
 categories: [content management]
-#tags: [markdown,content,shortcodes]
+keywords: [markdown,content,shortcodes]
 draft: false
 aliases: [/extras/shortcodes/]
 toc: true
@@ -30,6 +30,8 @@ In addition to cleaner Markdown, shortcodes can be updated any time to reflect n
 
 ## 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.
 
 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"`.
index eea976d0ed13469f8c6bec07ad15b08b0727ae9d..1c341400ed83d50da0f965fd85e7a4af755e0de6 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-01-10
 publishdate: 2017-01-10
 lastmod: 2017-01-10
 categories: [content management]
-#tags: [summaries,abstracts,read more]
+keywords: [summaries,abstracts,read more]
 menu:
   docs:
     parent: "content-management"
index 409fe98d93741c63cc62f607c05d52cc0ae4015a..978814a26ba79375ee7231537e2bd817ae7095af 100644 (file)
@@ -5,7 +5,7 @@ description: Hugo includes support for user-defined taxonomies to help you  demo
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [taxonomies,metadata,front matter,terms]
+keywords: [taxonomies,metadata,front matter,terms]
 categories: [content management]
 menu:
   docs:
@@ -32,7 +32,7 @@ Term
 Value
 : a piece of content assigned to a term
 
-{{< youtube "-np9GX6cL38" >}}
+{{< youtube pCPCQgqC8RA >}}
 
 ## Example Taxonomy: Movie Website
 
index 13da764dc6cf80cbe13d546749ad30ab00c4b322..f4e86d49eec14e1310d84c72f00a477a7908b42a 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [content management]
-#tags: [table of contents, toc]
+keywords: [table of contents, toc]
 menu:
   docs:
     parent: "content-management"
index 5a469f9999a7cc159bf93736daa9941433276441..f639313c0c2c42dc185afbfccba8dd77d654ed32 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [content management]
-#tags: [lists,sections,content types,types,organization]
+keywords: [lists,sections,content types,types,organization]
 menu:
   docs:
     parent: "content-management"
index f6f8df11fa110d56509b08f3f894d7ce3077517a..f7b8cba895cb54de231f04bc3882b813f39e38da 100644 (file)
@@ -5,7 +5,7 @@ description: Hugo supports permalinks, aliases, link canonicalization, and multi
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-03-09
-#tags: [aliases,redirects,permalinks,urls]
+keywords: [aliases,redirects,permalinks,urls]
 categories: [content management]
 menu:
   docs:
index c28d90cdb9db32f9fc0118cd90b935ef29c6bf20..5e46ae28754b67c2b8a464375015d1866771e830 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [contribute]
-#tags: []
+keywords: []
 menu:
   docs:
     parent: "contribute"
index 2e5b92fbdcb421d0e09e87323391b8bd3e2e9731..81ede164c789f26a27d7cb5dcc5ae9b851d20811 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [contribute]
-#tags: [dev,open source]
+keywords: [dev,open source]
 authors: [digitalcraftsman]
 menu:
   docs:
index 80d7ad8d3cc0f01eaf493b4d1c11a802eb007787..e717d4b729bef044af32ccfbf38ee7c77d2f162d 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [contribute]
-#tags: [docs,documentation,community, contribute]
+keywords: [docs,documentation,community, contribute]
 menu:
   docs:
     parent: "contribute"
index 7055e94e84a9c4766ce9620bed21ad92fc8a6816..2cd4a0da24bd0b81010461db80a97bdd5273832a 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-27
 categories: [contribute]
-#tags: [contribute,themes,design]
+keywords: [contribute,themes,design]
 authors: [digitalcraftsman]
 menu:
   docs:
index b553d1845c78ef08cea1a2e8e3d81b573ef3e799..669589c1599552552553370a527a5d527aea3395 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [sections,lists,indexes]
+keywords: [sections,lists,indexes]
 signature: [".GetPage TYPE PATH"]
 workson: []
 hugoversion:
index 9940c47b7cdfef0389faf1f25fc491837ca51fdb..795eaaea8c98a69f46bc59b27fbaaef0f6dd0fcf 100644 (file)
@@ -7,7 +7,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-08-21
 categories: [functions]
-#tags: [numbers]
+keywords: [numbers]
 menu:
   docs:
     parent: "functions"
index 7fe800da4ea70197e9e0a09c517ade8585eae58f..df10f2ae577af9b7330701fb8d7dff5c69b459d0 100644 (file)
@@ -6,7 +6,7 @@ godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: []
+keywords: []
 menu:
   docs:
     parent: "functions"
index 8a6f49854e373ab9c3c2e31811d6186213f44c1d..418ff50fd312d0f8aeb7752ab8afe3d526c19ff7 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [multilingual,i18n,urls]
+keywords: [multilingual,i18n,urls]
 signature: ["absLangURL INPUT"]
 workson: []
 hugoversion:
index 2e03ca49d12801921bfd541dca288043f84e0764..a31dbb0b4e1bc4cd41fc1c71fc92b1ec345c66bb 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [urls]
+keywords: [urls]
 signature: ["absURL INPUT"]
 workson: []
 hugoversion:
index 8e16fc0175cfaf57eed601d9f22b4c36e4219563..19eabff7f58e96f8229c308ff6937db32be9c0a6 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [dates,time]
+keywords: [dates,time]
 signature: [".AddDate YEARS MONTHS DAYS"]
 workson: [times]
 hugoversion:
index 5da2562b4b08ab1167625fa4f5029bd18607df8f..f01ba143687e1ebab467ec6ba40a714bc2c4cfc0 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [iteration]
+keywords: [iteration]
 signature: ["after INDEX COLLECTION"]
 workson: []
 hugoversion:
index 3a188606d2365ce29575218ef6e7dc6b8b28e15c..72066273eec6b46361f9174ef1dbb83e5456cb73 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [advanced]
+keywords: [advanced]
 signature: ["apply COLLETION FUNCTION [PARAM...]"]
 workson: []
 hugoversion:
index df0874b21892624f40005e41cf4866e3f3751a8f..2f0729b85cf9da7ba48d25132da7ed6388b38177 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 relatedfuncs: []
 signature: ["base64Decode INPUT", "base64Encode INPUT"]
 workson: []
index 678bc43405950bf47744f9c20b458972f65e2f1e..04fd5e4785df6d3c25b73ca7356e02feb9d1c393 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [trim]
+keywords: [trim]
 signature: ["chomp INPUT"]
 workson: []
 hugoversion:
index 8e72602b90ee1ed8d2927fdb899e836e451ab7b0..8fdbdadb663bac0ec00b2aab7f4cbf7a87362705 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [counting, word count]
+keywords: [counting, word count]
 signature: ["countrunes INPUT"]
 workson: []
 hugoversion:
index 5eba9ea7c2796e532f60e5be158f192ea794954b..cf699b1b4516ab993f109a98ad86139836028a78 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [counting, word count]
+keywords: [counting, word count]
 signature: ["countwords INPUT"]
 workson: []
 hugoversion:
index 8f384060f3abbf1dac56e026c19896afada00865..5a7afed97ee6178f4be13e60c731553674b0fdac 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [dates,time,strings]
+keywords: [dates,time,strings]
 signature: ["dateFormat LAYOUT INPUT"]
 workson: []
 hugoversion:
index 0edcbf425fb3e9f384c08ed7b208d2ebc735f08f..4f34ed37a1b88e4921bcb5788ce62f5e320c1355 100644 (file)
@@ -6,7 +6,7 @@ godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [defaults]
+keywords: [defaults]
 categories: [functions]
 menu:
   docs:
index 7bd7f4a6b1225ecdd74c2383b35662d60c4d906d..5a92f76e01b595829ffce3cccce978e6f8bcef22 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [iteration]
+keywords: [iteration]
 toc: false
 signature: ["delimit COLLECTION DELIMIT LAST"]
 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" >}}
 +++
 title: I love Delimit
-#tags: [ "tag1", "tag2", "tag3" ]
+keywords: [ "tag1", "tag2", "tag3" ]
 +++
 {{< /code >}}
 
index 2ac15921b7067b672c84b06cb618f4058f32bccf..9887dbaf9730dfc59b44a0871ba1d97f1e58a959 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [dictionary]
+keywords: [dictionary]
 signature: ["dict KEY VALUE [KEY VALUE]..."]
 workson: []
 hugoversion:
index 2c68280c6f3b0403db9159ceb207d32e82e9ed86..47e35f5c73261be4884a02396a411dd49fd0b3b1 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["echoParam DICTIONARY KEY"]
 workson: []
 hugoversion:
index dd7af4ad766d545f7f8d64e07dfc315165aaa541..2e82d8a080ff0dde9a0867ba2b34577366f3c2b3 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings,emojis]
+keywords: [strings,emojis]
 signature: ["emojify INPUT"]
 workson: []
 hugoversion:
index 579c77368e579b77933d6cb659346c1767a58223..77f75db374775a9fb542c1801893f8c554ed1daa 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [operators,logic]
+keywords: [operators,logic]
 signature: ["eq ARG1 ARG2"]
 workson: []
 hugoversion:
index c92da1531359a03c356ce8e7425627e5ec42b8f6..23817c575d39d89269a7e5fde43becfabceda643 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [regex]
+keywords: [regex]
 signature: ["findRE PATTERN INPUT [LIMIT]"]
 workson: []
 hugoversion:
index e4b77fc9ae114e50a9a8a4a81c3cf907e88e6b09..29ba3ac1c8caec85552598310396409ab508972b 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [iteration]
+keywords: [iteration]
 signature: ["first LIMIT COLLECTION"]
 workson: [lists,taxonomies,terms,groups]
 hugoversion:
index fb6a29c4ff24f7dbbe9bb416167b1cb8a92c9930..89d74c24187ff4e27df62fe5a312b07732e23f15 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [dates,time]
+keywords: [dates,time]
 signature: [".Format FORMAT"]
 workson: [times]
 hugoversion:
index 27d5171f9465125566ef0143a018ce5f3ee42cff..ecc2a02233fe0bbb2164d7ce4b89c84af302e61f 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [operators,logic]
+keywords: [operators,logic]
 signature: ["ge ARG1 ARG2"]
 workson: []
 hugoversion:
index d94d52a846da87aadbbd572eb12ec56622a0b803..4c01571a4a5127323970f6ebb73724b80fbc21c6 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [shortcodes]
+keywords: [shortcodes]
 signature: ["Get INDEX", "Get KEY"]
 workson: []
 hugoversion:
index 654bf0e06cdfed20367a0e65bb6fcb03124c59c4..8153cc07cec0adb48da4376514280d5359012571 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["getenv VARIABLE"]
 workson: []
 hugoversion:
index 073c3b2b9f01ccfc556909b455ffc6ea53c48543..75b5fff0fa1ef490bd3e71a8fd1b567445e8ec86 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [operators,logic]
+keywords: [operators,logic]
 signature: ["gt ARG1 ARG2"]
 workson: []
 hugoversion:
index 2e1514b49956018f7fcb6517bf0056a1da8e305d..3deac60c3e915794b1306021f4ea94cd04e48e9c 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["hasPrefix STRING PREFIX"]
 workson: []
 hugoversion:
index 7e2b1e474cbcc8a3a3d2f3a39f456e8ac00b2175..ff1b796ccb8798974b56dd5c8953245be4a49106 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [menus]
+keywords: [menus]
 toc:
 signature: ["HasChildren"]
 workson: [menus]
index d82e44dbbfc92e8205f0173c18d0b1f457e83b1f..eac41103e3b63633fd502a70cd6fcbf160e36ad1 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [menus]
+keywords: [menus]
 signature: ["HasMenuCurrent"]
 workson: [menus]
 hugoversion:
index d6d8ba3e6956745fd0d8c8941960fcabe4f1833e..8796de4e852d34540126db7478a557acf922caf5 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [highlighting,pygments,code blocks,syntax]
+keywords: [highlighting,pygments,code blocks,syntax]
 signature: ["highlight INPUT"]
 workson: []
 hugoversion:
index bbf31ce34b0b5d52f885d1e8fbb0c515dc6dc194..a1a2d6d554c5c191a1e931a7005773bd3ac5378b 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings, html]
+keywords: [strings, html]
 signature: ["htmlEscape INPUT"]
 workson: []
 hugoversion:
index 52f459129fd4d727abf4f83d8145dcc7822968a3..d0ef7540cd6781d93c10ae3dabb93565b78da3d1 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["htmlUnescape INPUT"]
 workson: []
 hugoversion:
index e59f532a717303786d3cfaba64764a4f07df1af0..2b9a981326c39c0ea5373f7532612adbfbf0aefa 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings,casing]
+keywords: [strings,casing]
 signature: ["humanize INPUT"]
 workson: []
 hugoversion:
index 26159dca27181cef9ed84c6061186c94710a5515..c4b89c322dabe065f50b7c667b23357735c763a1 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [internationalization,i18n,multilingual]
+keywords: [internationalization,i18n,multilingual]
 signature: ["i18n KEY", "T KEY"]
 workson: []
 hugoversion:
index 8ae2f3acfcb66c3475476a683a08fac39760547c..614d04711b7932a8d10d440d180a74f719ce346c 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [images]
+keywords: [images]
 signature: ["imageConfig PATH"]
 workson: []
 hugoversion:
index 4e6ac75b23d1a0b6875dabb91d162046db8f2a0d..d3a27bc87b66a7884689f1208626d561281833a1 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["in SET ITEM"]
 workson: []
 hugoversion:
index da6b42c27d53ad36ad1746dbc85a313abbf68571..a0e0ff89c87b671604515310449c02eca3848066 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["index COLLECTION INDEX", "index COLLECTION KEY"]
 workson: []
 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:
 
 ```
-{{ 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]
 ```
 
index 4ced74518d61eabe8be0efd736ab2378b5968b5b..8f727b2359ed212723c726a5bbad48d32e577021 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings,integers]
+keywords: [strings,integers]
 signature: ["int INPUT"]
 workson: []
 hugoversion:
index 290fc93f18640e8a92f43d11ea7ad79d125e44cf..a607ff2170845699929b27a470cfeca1d452850b 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["intersect SET1 SET2"]
 workson: []
 hugoversion:
index 16061aa55a31b8c1808147780071f2ea83c25214..647dcdcf094d13b9ecad3ad0dd945523e41e5df6 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [menus]
+keywords: [menus]
 signature: ["IsMenuCurrent"]
 workson: [menus]
 hugoversion:
index 340df49e2729e4a68d93b848761ba57e1078a84e..8f2c3f7ad3fd5ccb29214f37f37e255b40ca0f9f 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["isset COLLECTION INDEX", "isset COLLECTION KEY"]
 workson: []
 hugoversion:
index 34902b0c11a65b44ccb3e8e9aa568ba71178d811..5c670244f276e97cffec9c2b84ade8f308d4010f 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings,json]
+keywords: [strings,json]
 signature: ["jsonify INPUT"]
 workson: []
 hugoversion:
index 7aae04200f9c2d50f911f10cdf2ccb825afce63b..ea633837bf3ca2c0167f64e088c536d1d8ff6377 100644 (file)
@@ -6,7 +6,7 @@ godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: []
+keywords: []
 categories: [functions]
 menu:
   docs:
index f1167b985f41094800492f7a1ecf00b0b20bbc1f..054937f080f1bfd123946af0fc1928fd955386fd 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [operators,logic]
+keywords: [operators,logic]
 signature: ["le ARG1 ARG2"]
 workson: []
 hugoversion:
index 927141d7fa63b5d3ebe8cfe2cc3c87716c825ca5..b8e380e4939d10f17f0cba7905cb5e9e5923a4b9 100644 (file)
@@ -7,7 +7,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-04-18
 categories: [functions]
-#tags: []
+keywords: []
 signature: ["len INPUT"]
 workson: [lists,taxonomies,terms]
 hugoversion:
index 39bc214f3738a2c5bdb38364792d3f7c6a96bc52..a42081b681d1ad02b3dba133ec87fa2ec09d99a2 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings,casing]
+keywords: [strings,casing]
 signature: ["lower INPUT"]
 workson: []
 hugoversion:
index 16d32b49bba689128894b63c8302452cf99f3ff1..288d59446b568280954e8ab5d07ca357dafdec60 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [operators,logic]
+keywords: [operators,logic]
 signature: ["lt ARG1 ARG2"]
 workson: []
 hugoversion:
index f415cc1dc16e441f70d491c70a7fbdbfc9eb0094..50cf3e1207c1e77a6c9a5a3c536e3c69580354f8 100644 (file)
@@ -6,7 +6,7 @@ godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [markdown,content]
+keywords: [markdown,content]
 categories: [functions]
 menu:
   docs:
index 9a53473ec58f4c8d52b6f521b4813767c3179b72..a8b3bbcd7590c81220d11bc942dfcd0e318274eb 100644 (file)
@@ -5,7 +5,7 @@ godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [math, operators]
+keywords: [math, operators]
 categories: [functions]
 menu:
   docs:
index fac6f2dee7e408a7b9867a5dd8b84903110a4c6b..31197f21819ac73d7f4e665a0723f7a24f12d129 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["md5 INPUT"]
 workson: []
 hugoversion:
index 75d8b07b80c123a010677b45bc62e6b94b89f979..b672d730c46a2f3f38bab24f7d3392262338714c 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [operators,logic]
+keywords: [operators,logic]
 signature: ["ne ARG1 ARG2"]
 workson: []
 hugoversion:
index 684e2cf00f267e483198b4da5c4ec981e9ad211e..fcd86231e61145d1941e7043b410d408b72b86cd 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [dates,time]
+keywords: [dates,time]
 signature: ["now"]
 workson: []
 hugoversion:
index f05edbff6a0bd6254415d43434bc064d5766d21a..6e81bb0251c7c8411966f7aba45af3ab291c252f 100644 (file)
@@ -5,7 +5,7 @@ godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-04-30
-#tags: ["front matter"]
+keywords: ["front matter"]
 categories: [functions]
 menu:
   docs:
index b9865da5518d2c7a06df8b8bb46f82a62eaee8df..83ef5e2c3024c7b4c776a3b73e86e2900f50f5a8 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["partialCached LAYOUT INPUT [VARIANT...]"]
 workson: []
 hugoversion:
index 1fd4b25a3371e9dd42430be4af8a4cc47fc58ca8..89e7880cd6b9e47c871c40901c2b07b6000d60ec 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["plainify INPUT"]
 workson: []
 hugoversion:
index e6a18097d9c1dca4ed7edd0a73310c902a307295..49ce39344d699e8e06c7dc1eebee776ef873de2a 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["pluralize INPUT"]
 workson: []
 hugoversion:
index 9b4ebe15d88be578cabe5accd72a39700a3a8ff4..dabb97c05accca7c56581ae75f8fb2df71d6a51f 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["printf FORMAT INPUT"]
 workson: []
 hugoversion:
index ef4f94b65fa6df0688bb9f78054d1591b3609d0d..e90e0745005ed9511e5ce35451e203f6f68f3fcd 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [urls]
+keywords: [urls]
 godocref:
 signature: ["querify KEY VALUE [KEY VALUE]..."]
 hugoversion:
index 3327768baa9d451c6598cac57abf4211d993426f..d7efa0732622b5364ee6e1fa1b1233b054266718 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions,fundamentals]
 menu:
   docs:
     parent: "functions"
-#tags: [iteration]
+keywords: [iteration]
 signature: ["range COLLECTION"]
 workson: []
 hugoversion:
index 5801e7aa1e52dd14e57b5a2d6a4505326c30bd4e..21f6266925278bd4ff699ce512658a13b6d02269 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [files]
+keywords: [files]
 signature: ["readDir PATH"]
 workson: []
 hugoversion:
index 418ff800b6ac540ddb85085cfa26fa0ac8f8afd2..cb03ac5519849fbe16bdc254bfae25ed47c68f1a 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [files]
+keywords: [files]
 signature: ["readFile PATH"]
 workson: []
 hugoversion:
index 1e01b08e512f858e1246534943b9e7f2061c9ee2..54d938cd41185130a8c07840731ffc998b3a32dc 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [cross references, anchors]
+keywords: [cross references, anchors]
 signature: ["ref PAGE CONTENT"]
 workson: []
 hugoversion:
index 2df271746235cc368a19adcade91b4696a9d65fa..7b70c1117f3ecf0638f7daff84006f274be97c59 100644 (file)
@@ -5,7 +5,7 @@ godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [multilingual,i18n,urls]
+keywords: [multilingual,i18n,urls]
 categories: [functions]
 menu:
   docs:
index c6ca757c0b7f6a90788005b9f785c012e9dad8b5..26ebeef712cb1473b125f9f9f9020fa293fa9cb5 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [cross references, anchors]
+keywords: [cross references, anchors]
 signature: ["relref PAGE CONTENT"]
 workson: []
 hugoversion:
index 085c344f51455dd48a9219b4a812f9f939f6c719..aa1536544ca6201f8d82c21a51183727b8e1487c 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [urls]
+keywords: [urls]
 signature: ["relURL INPUT"]
 workson: []
 hugoversion:
index 12b48dec9e60ec30427e680c0f0c08bfe7e42627..a4abfa81df4d98692c02de22f979bd9ad2a423fa 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [views]
+keywords: [views]
 signature: ["render LAYOUT"]
 workson: []
 hugoversion:
index a3f7369c3be1f5bd7c8bbeb78d8cd6638612aa09..aeb19f296247405a23981b3c113d83b1a0d5568d 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["replace INPUT OLD NEW"]
 workson: []
 hugoversion:
index 9b04c8a3351a769f0b6c785f39464013d0062740..0571c92b23953b61d81646079122989f129d6e6c 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [regex]
+keywords: [regex]
 signature: ["replaceRE PATTERN REPLACEMENT INPUT"]
 workson: []
 hugoversion:
index 345813937da43920da45a38a12589c09f40c6262..11c10923b60270260ec6842efc31d562229de23d 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [style,css,strings]
+keywords: [style,css,strings]
 signature: ["safeCSS INPUT"]
 workson: []
 hugoversion:
index 4a473f5aab3c1425f35224822243641054fcc8f7..5a59fc2cb4129601b6a0839dbd54b1102ef7ceef 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["safeHTML INPUT"]
 workson: []
 hugoversion:
index 7c4dcda6b1fbfe7f45b3b90b64574cc2dc829ead..a5ecaa68b670c1725d16662e4d554f8409449687 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["safeHTMLAttr INPUT"]
 workson: []
 hugoversion:
index 4d4beb622d1508a060f1043032c67a97b6e97110..e614e48bff49fa28bf8f7e2ee8c19fd191124102 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["safeJS INPUT"]
 workson: []
 hugoversion:
index b0b6c67872ff485406150e32f40efd27ce77fc1f..cb9979cd36a74ad315293213709e891aaf58c9f2 100644 (file)
@@ -5,7 +5,7 @@ godocref: https://golang.org/pkg/html/template/#HTMLEscape
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [strings,urls]
+keywords: [strings,urls]
 categories: [functions]
 menu:
   docs:
index 2dc858c991baea800db0b4b68771a43d4caee5a1..a827db54355bf6f71fc366073bff3ee51ca6a748 100644 (file)
@@ -5,7 +5,7 @@ godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [iteration]
+keywords: [iteration]
 categories: [functions]
 menu:
   docs:
index dac5f00c920adcc9811d24b907f545a651532cbb..8bef589c525299e492ee89473412d31890f5b438 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: []
+keywords: []
 signature: ["seq LAST", "seq FIRST LAST", "seq FIRST INCREMENT LAST"]
 workson: []
 hugoversion:
index 7b6ac6316bf86e3b0a12afa1a779e046f7901b81..4e12434690398504fb583db6ee013355b45f4897 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [sha,checksum]
+keywords: [sha,checksum]
 signature: ["sha1 INPUT", "sha256 INPUT"]
 workson: []
 hugoversion:
index 376ca3a3d9ff3b1341cf9748a3be12b7f32ff34e..9945ba752a9ef1166697504d85a1a023e3faf31b 100644 (file)
@@ -6,7 +6,7 @@ godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-04-30
-#tags: [ordering]
+keywords: [ordering]
 categories: [functions]
 menu:
   docs:
index 6214cc91428eec1e8979c32ee8b16ef519dc2ed0..885eae23dc4cd6732207635629baac46e5e71dcf 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings,singular]
+keywords: [strings,singular]
 signature: ["singularize INPUT"]
 workson: []
 hugoversion:
index e71c3f988039c84d35ca03e501b9f740fe6a6ca0..c8847c0c2715898b8034d494ee9ef5267e5220ae 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [slice, array, interface]
+keywords: [slice, array, interface]
 signature: ["slice ITEM..."]
 workson: []
 hugoversion:
index 38f4ba086b5694e0d716af750b635b049c8a2ea3..3d245de3d934e958b4b755b089bc14998f2d5b2f 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["slicestr STRING START [END]"]
 workson: []
 hugoversion:
index c6e05cf300c7b1e63bffc23613ff0c3ac3eef6e2..b83e6b0bda636cdb138074e3454ab073a9728568 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [ordering,sorting,lists]
+keywords: [ordering,sorting,lists]
 signature: []
 workson: [lists,taxonomies,terms,groups]
 hugoversion:
@@ -23,7 +23,7 @@ A sorted array of map values will be returned with the keys eliminated. There ar
 
 ```
 +++
-#tags: [ "tag3", "tag1", "tag2" ]
+keywords: [ "tag3", "tag1", "tag2" ]
 +++
 
 // Site config
index cc95aedd4d0405edf86d1549d542c024680324d6..c42f8eb9dde543459b31b99a9d947f2b617b930e 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["split STRING DELIM"]
 workson: []
 hugoversion:
index 963647ae3d127793b9958ea0d7788d2f596c5ebe..d1e1962deb9cf66e1ccc2ac563635e93622a18b8 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["string INPUT"]
 workson: []
 hugoversion:
index 089698bb09773e75ddf0f12cc4b8c3544f23d488..9dde05ec90352dd5e18940069c88f39f362f07f9 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 aliases: []
 signature: ["substr STRING START [LENGTH]"]
 workson: []
index 4f94128f6bc879a11dacf3ec29fcd597e401af89..306d32649ea5a039b1b7320a48eef1abe58a374d 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [dates,time]
+keywords: [dates,time]
 signature: ["time INPUT"]
 workson: []
 hugoversion:
index d655521785171448187dcdefda50a73e343dfe6f..3c80324725b36a56e2807a9bf4ccdf8b41a3a84a 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions,fundamentals]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["title INPUT"]
 workson: []
 hugoversion:
index 448b5e23fbed12fdc7c5d3095bc6ea73e0fda727..81ed05c604310f4fc225c88fe9f46c00b7e8a686 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["trim INPUT CUTSET"]
 workson: []
 hugoversion:
index 911133fa1647e1603166cf95a5508357ef3079c4..0336853c1c161fe04e1966b2255e491d247ec7e1 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [strings]
+keywords: [strings]
 signature: ["truncate SIZE INPUT", "truncate SIZE ELLIPSIS INPUT"]
 workson: []
 hugoversion: 19
index ce4e42286aa64ab89edea1568fe9258d0e0b81cf..5c93e4bc7df760360a3679ea920d1eafa351e30d 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [filtering,lists]
+keywords: [filtering,lists]
 signature: ["union SET1 SET2"]
 workson: []
 hugoversion: 0.20
index f4144a9330708adec944d93240ce91577b389f46..9692b247ef2af2b28e1109d03a024e32e4bf003d 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [multilingual,i18n,urls]
+keywords: [multilingual,i18n,urls]
 signature: ["uniq SET"]
 workson: []
 hugoversion:
index 67ccf489bac7b5ba20d48c4041f43481affb5dc3..a373475f67066f36951065427fabc4abd4c17f4c 100644 (file)
@@ -6,7 +6,7 @@ godocref: https://golang.org/search?q=Unix#Functions
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [dates,time]
+keywords: [dates,time]
 categories: [functions]
 menu:
   docs:
index f120446634bd6990fd09267432f68dbf61eec590..2d75b37bd718d406c3a7a041d2566db534eea25a 100644 (file)
@@ -6,7 +6,7 @@ godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: []
+keywords: []
 categories: [functions]
 menu:
   docs:
index 712701a89840049575289bb274d8e699549a8fb4..0fd7c2295fd2d955a1ecf711574efebd88a64335 100644 (file)
@@ -9,7 +9,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [urls,strings]
+keywords: [urls,strings]
 godocref:
 signature: ["urlize INPUT"]
 hugoversion:
index 4ba2b2325ff34e725d3337436b06faa5ffa44136..262fd6ebc5288ce2c072a758064a7fa6d7133790 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions]
 menu:
   docs:
     parent: "functions"
-#tags: [filtering]
+keywords: [filtering]
 signature: ["where COLLECTION KEY [OPERATOR] MATCH"]
 workson: [lists,taxonomies,terms,groups]
 hugoversion:
index 271f56db7bfcfae5bf8332ebdc27f7a19bbc1149..1f2c4beb1398adc49640320dcbfddb57ff7a9611 100644 (file)
@@ -10,7 +10,7 @@ categories: [functions,fundamentals]
 menu:
   docs:
     parent: "functions"
-#tags: [conditionals]
+keywords: [conditionals]
 signature: ["with INPUT"]
 workson: []
 hugoversion:
index fd399173b0589fdb520df1e0d8d7b1ee82eadc2b..478d1eaa689033dc77d76d3a95ab130b67a28c45 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [getting started]
-#tags: [usage,docs]
+keywords: [usage,docs]
 menu:
   docs:
     parent: "getting-started"
index 87b165a1b5cc12959967c675cd548da1734b1b88..b81d878b356d4207a4a32550d8b94133c47bc575 100644 (file)
@@ -6,7 +6,7 @@ date: 2013-07-01
 publishdate: 2017-01-02
 lastmod: 2017-03-05
 categories: [getting started,fundamentals]
-#tags: [configuration,toml,yaml,json]
+keywords: [configuration,toml,yaml,json]
 menu:
   docs:
     parent: "getting-started"
index 2d1e121ba2ff5381aacf9ea4f56149eee5bbc052..b5dc9a2ff1f0e48fecd17a4f9c627c28aea51ffb 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-01-02
 publishdate: 2017-02-01
 lastmod: 2017-03-09
 categories: [getting started,fundamentals]
-#tags: [source, organization, directories]
+keywords: [source, organization, directories]
 menu:
   docs:
     parent: "getting-started"
@@ -20,6 +20,8 @@ toc: true
 
 ## New Site Scaffolding
 
+{{< youtube sB0HLHjgQ7E >}}
+
 Running the `hugo new site` generator from the command line will create a directory structure with the following elements:
 
 ```
index 6485de4ec5bfd3b60c1ed0acf0c97f0772c4792a..69ba5b157a8cb58d77e3fc8089bedc925397cee0 100644 (file)
@@ -7,7 +7,7 @@ publishdate: 2016-11-01
 lastmod: 2017-02-20
 categories: [getting started,fundamentals]
 authors: ["Michael Henderson"]
-#tags: [install,pc,windows,linux,macos,binary,tarball]
+keywords: [install,pc,windows,linux,macos,binary,tarball]
 menu:
   docs:
     parent: "getting-started"
@@ -121,6 +121,8 @@ Since building from source is appealing to more seasoned command line users, thi
 
 ### Install Hugo with Brew
 
+{{< youtube WvhCGlLcrF8 >}}
+
 #### Step 1: Install `brew` if you haven't already
 
 Go to the `brew` website, <https://brew.sh/>, and follow the directions there. The most important step is the installation from the command line:
@@ -299,6 +301,8 @@ Then place the `hugo` executable somewhere in your `$PATH`. You're now ready to
 
 The following aims to be a complete guide to installing Hugo on your Windows PC.
 
+{{< youtube G7umPCU-8xc >}}
+
 ### Assumptions
 
 1. You will use `C:\Hugo\Sites` as the starting point for your new project.
index 5683087d641910d2207411bb7c41e45f1e866988..59a8513c80a5c82d6ea95a7ef60c75166107ab0a 100644 (file)
@@ -5,7 +5,7 @@ description: Create a Hugo site using the beautiful Ananke theme.
 date: 2013-07-01
 publishdate: 2013-07-01
 categories: [getting started]
-#tags: [quick start,usage]
+keywords: [quick start,usage]
 authors: [Shekhar Gulati, Ryan Watters]
 menu:
   docs:
index 60882634d8479dfcb389403ce33909b689835b71..39b8a491297a44408d36b17a91e755b1dcf10456 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [getting started]
-#tags: [usage,livereload,command line,flags]
+keywords: [usage,livereload,command line,flags]
 menu:
   docs:
     parent: "getting-started"
index c83594197dc542de90e9ad4158d0483b8c27da02..ea9f60f1793c9e902422fe7a03c8ca13d486b600 100644 (file)
@@ -6,7 +6,7 @@ date: 2016-11-01
 publishdate: 2016-11-01
 lastmod: 2016-11-01
 categories: [hosting and deployment]
-#tags: []
+keywords: []
 menu:
   docs:
     parent: "hosting-and-deployment"
index c318155f9fdf768c32deed5193c7fc7ee1a51402..3f76bd9344608d29687b496c6ad1336d6a576f01 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-08-24
 publishdate: 2017-08-24
 lastmod: 2017-08-24
 categories: [hosting and deployment]
-#tags: [nanobox,deployment,hosting,aws,digitalocean,azure,google,linode]
+keywords: [nanobox,deployment,hosting,aws,digitalocean,azure,google,linode]
 authors: [Steve Domino]
 menu:
   docs:
index 509949c291ba8ee930ef4b5efcbb29f6a4f3ad62..e8222ad54338459c1ccf0923cac39f25720dbc9d 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [hosting and deployment]
-#tags: [rsync,deployment]
+keywords: [rsync,deployment]
 authors: [Adrien Poupin]
 menu:
   docs:
index f0257f2d884efe7f438a69757e8aeca9c3e132ef..1cc0f3036b1acf46a276038aea4897a0cdd71efe 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [hosting and deployment]
-#tags: [wercker,deployment,github,git]
+keywords: [wercker,deployment,github,git]
 authors: [Arjen Schwarz, Samuel Debruyn]
 menu:
   docs:
@@ -136,13 +136,13 @@ To sign up for a free Wercker account, go to <https://wercker.com> and click the
 
 ![][3]
 
-### Registe for Wercker with Your GitHub Account
+### Register for Wercker with Your GitHub Account
 
 Sign up for Wercker using your GitHub credentials. If you don't have a GitHub account, or don't want to use it for your account, you have the option to register with a username and password as well. However, the second half of this guide---devoted to hosting your website on GitHub pages---will no longer be of interest to you.
 
 ![][4]
 
-### Connecte GitHub or Bitbucket
+### Connect GitHub or Bitbucket
 
 After you are registered, you will need to link your GitHub or Bitbucket account to Wercker. You can link your account by navigating to your profile settings and then selecting "Git connections."
 
index 0bee32d529a28efe4ec8cd1fbdd795975439ad79..f66abed5dbfee8741ea7b66f7647d43688237258 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-04
 publishdate: 2017-02-04
 lastmod: 2017-02-04
 categories: [hosting and deployment]
-#tags: [hosting,bitbucket,deployment,aerobatic]
+keywords: [hosting,bitbucket,deployment,aerobatic]
 authors: [Jason Gowans]
 menu:
   docs:
index e1303651ea8e3ac45167cc6ffca489f1e6740c93..ef387cdce3e226f8e2d907c9c5f61f6d8d8de9c9 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-03-12
 publishdate: 2017-03-12
 lastmod: 2017-03-15
 categories: [hosting and deployment]
-#tags: [hosting,firebase]
+keywords: [hosting,firebase]
 authors: [Michel Racic]
 menu:
   docs:
index 59433a9e790a4e9644557ccd226ba73bbdb75272..d3d0385cdb844d7d8fb84552744f98012949136f 100644 (file)
@@ -6,7 +6,7 @@ date: 2014-03-21
 publishdate: 2014-03-21
 lastmod: 2017-03-30
 categories: [hosting and deployment]
-#tags: [github,git,deployment,hosting]
+keywords: [github,git,deployment,hosting]
 authors: [Spencer Lyon, Gunnar Morling]
 menu:
   docs:
index 00f2cd18d7ebf65d8fcfebc70953b2c1da577a28..05a9a2d569aef51163c5bb532f749318dbee2259 100644 (file)
@@ -6,7 +6,7 @@ date: 2016-06-23
 publishdate: 2016-06-23
 lastmod: 2016-06-23
 categories: [hosting and deployment]
-#tags: [hosting,deployment,git,gitlab]
+keywords: [hosting,deployment,git,gitlab]
 authors: [Riku-Pekka Silvola]
 menu:
   docs:
diff --git a/content/hosting-and-deployment/hosting-on-keycdn.md b/content/hosting-and-deployment/hosting-on-keycdn.md
new file mode 100644 (file)
index 0000000..748796a
--- /dev/null
@@ -0,0 +1,90 @@
+---
+title: "Hosting on KeyCDN"
+date: 2017-09-12
+description: "Accelerate your Hugo site globally with a KeyCDN integration. This tutorial shows you how to setup your static site as a GitLab page behind a KeyCDN pull zone."
+categories: [hosting and deployment]
+keywords: [keycdn,hosting,deployment,cdn]
+slug: ""
+aliases: []
+toc: false
+draft: false
+---
+
+[KeyCDN](https://www.keycdn.com/) provides a multitude of features to help accelerate and secure your Hugo site globally including Brotli compression, Let's Encrypt support, Origin Shield, and more.
+
+## Assumptions
+
+- You already have a Hugo page configured
+- You have a GitLab account
+- You have a KeyCDN account
+
+## Create a KeyCDN Pull Zone
+
+The first step will be to login to your KeyCDN account and create a new zone. Name this whatever you like and select the [Pull Zone](https://www.keycdn.com/support/create-a-pull-zone/) option. As for the the origin URL, your site will be running on [GitLab Pages](https://docs.gitlab.com/ee/user/project/pages/getting_started_part_one.html) with a URL of `https://youruser.gitlab.io/reponame/`. Use this as the Origin URL. 
+
+![Screenshot of KeyCDN's pull zone creation page](/images/hosting-and-deployment/hosting-on-keycdn/keycdn-pull-zone.png) 
+
+While the origin location doesn’t exist yet, you will need to use your new Zone URL address (or [Zonealias](https://www.keycdn.com/support/create-a-zonealias/)) in the `.gitlab-ci.yml` file that will be uploaded to your GitLab project. 
+
+Ensure that you use your Zone URL or Zonealias as the `BASEURL` variable in the example below. This will be the user-visible website address.
+
+## Configure Your .gitlab-ci.yml File
+
+Your `.gitlab-ci.yml` file should look similar to the example below. Be sure to modify any variables that are specific to your setup.
+
+```
+image: alpine:latest
+
+variables:
+    BASEURL: "https://cipull-7bb7.kxcdn.com/"
+    HUGO_VERSION: "0.26"
+    HUGO_CHECKSUM: "67e4ba5ec2a02c8164b6846e30a17cc765b0165a5b183d5e480149baf54e1a50"
+    KEYCDN_ZONE_ID: "75544"
+
+before_script:
+    - apk update
+    - apk add curl
+
+pages:
+    stage: deploy
+    script:
+    - apk add git
+    - git submodule update --init
+    - curl -sSL https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz -o /tmp/hugo.tar.gz
+    - echo "${HUGO_CHECKSUM}  /tmp/hugo.tar.gz" | sha256sum -c
+    - tar xf /tmp/hugo.tar.gz hugo -C /tmp/ && cp /tmp/hugo /usr/bin
+    - hugo --baseURL ${BASEURL}
+    - curl "https://api.keycdn.com/zones/purge/${KEYCDN_ZONE_ID}.json" -u "${KEYCDN_API_KEY}:"
+    artifacts:
+    paths:
+    - public
+    only:
+    - master
+
+```
+Using this integration method,  you will have to specify the Zone ID and your [KeyCDN API](https://www.keycdn.com/api) key as secret variables. To do this, navigate to the top-left menu bar in GitLab and select Projects. Then, select your project and click on the Settings page. Finally, select Pipelines from the sub-menu and scroll down to the Secret Variable section. 
+
+The Secret Variable for your Zone ID should look similar to:
+
+![Screenshot of setting the Zone ID secret variable](/images/hosting-and-deployment/hosting-on-keycdn/secret-zone-id.png)
+
+While the Secret Variable for your API Key will look similar to:
+
+![Screenshot of setting the API Key secret variable](/images/hosting-and-deployment/hosting-on-keycdn/secret-api-key.png)
+
+The Zone ID and API key are used to purge your zone – it’s not strictly needed but otherwise, the CDN might deliver older versions of your assets for quite a while.
+
+## Push Your Changes to GitLab
+
+Now it’s time to push the newly created repository to GitLab:
+
+```
+git remote add origin git@gitlab.com:youruser/ciexample.git
+git push -u origin master
+```
+
+You can watch the progress and CI job output in your Gitlab project under “Pipelines”. 
+
+After verifying your CI job ran without issues, first check that your GitLab page shows up under `https://youruser.gitlab.io/reponame/` (it might look broken depending on your browser settings as all links point to your KeyCDN zone – don’t worry about that) and then by heading to whatever Zonealias / Zone URL you defined.
+
+To learn more about Hugo hosting options with KeyCDN, check out the complete [Hugo hosting with KeyCDN integration guide](https://www.keycdn.com/support/hugo-hosting/).
index ce10c4a5c9736e0bffd78dd8e8e3b933d0fb892d..22a2b09cbbd87ea8a6655bcda0e3417a916cdee2 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-03-11
 categories: [hosting and deployment]
-#tags: [netlify,hosting,deployment]
+keywords: [netlify,hosting,deployment]
 authors: [Ryan Watters, Seth MacLeod]
 menu:
   docs:
diff --git a/content/news/0.27-relnotes.md b/content/news/0.27-relnotes.md
new file mode 100644 (file)
index 0000000..a4ead08
--- /dev/null
@@ -0,0 +1,95 @@
+
+---
+date: 2017-09-11
+title: "Hugo 0.27: Fast and Flexible Related Content!"
+description: "Makes it easy to add \"See Also\" sections etc. to your site."
+categories: ["Releases"]
+images:
+- images/blog/hugo-27-poster.png
+---
+
+       
+Hugo `0.27`comes with fast and flexible **Related Content** ([3b4f17bb](https://github.com/gohugoio/hugo/commit/3b4f17bbc9ff789faa581ac278ad109d1ac5b816) [@bep](https://github.com/bep) [#98](https://github.com/gohugoio/hugo/issues/98)). To add this to your site, put something like this in your single page template:
+
+```html
+{{ $related := .Site.RegularPages.Related . | first 5 }}
+{{ with $related }}
+<h3>See Also</h3>
+<ul>
+       {{ range . }}
+       <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
+       {{ end }}
+</ul>
+{{ end }}
+```
+
+The above translates to _list the five regular pages mostly related to the current page_. See the [Related Content Documentation](https://gohugo.io/content-management/related/) for details and configuration options.
+
+This release represents **37 contributions by 9 contributors** to the main Hugo code base.
+
+[@bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@moorereason](https://github.com/moorereason), [@yihui](https://github.com/yihui), and [@oneleaftea](https://github.com/oneleaftea) for their ongoing contributions.
+
+And as always a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the documentation and the themes site in pristine condition.
+
+Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), 
+which has received **44 contributions by 30 contributors**. A special thanks to [@bep](https://github.com/bep), [@sdomino](https://github.com/sdomino), [@gotgenes](https://github.com/gotgenes), and [@digitalcraftsman](https://github.com/digitalcraftsman) for their work on the documentation site.
+
+
+Hugo now has:
+
+* 19464+ [stars](https://github.com/gohugoio/hugo/stargazers)
+* 455+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
+* 178+ [themes](http://themes.gohugo.io/)
+
+## Notes
+
+* We now only strip p tag in `markdownify` if there is only one paragraph. This allows blocks of paragraphs to be "markdownified" [33ae10b6](https://github.com/gohugoio/hugo/commit/33ae10b6ade67cd9618970121d7de5fd2ce7d781) [@bep](https://github.com/bep) [#3040](https://github.com/gohugoio/hugo/issues/3040)
+
+## Enhancements
+
+### Templates
+
+* Add `time.Duration` and `time.ParseDuration` template funcs [f4bf2141](https://github.com/gohugoio/hugo/commit/f4bf214137ebd24a0d12f16d3a98d9038e6eabd3) [@bep](https://github.com/bep) [#3828](https://github.com/gohugoio/hugo/issues/3828)
+* Add `cond` (ternary) template func [0462c96a](https://github.com/gohugoio/hugo/commit/0462c96a5a9da3e8adc78d96acd39575a8b46c40) [@bep](https://github.com/bep) [#3860](https://github.com/gohugoio/hugo/issues/3860)
+* Prepare for template metrics [d000cf60](https://github.com/gohugoio/hugo/commit/d000cf605091c6999b72d6c632752289bc680223) [@bep](https://github.com/bep) 
+* Add `strings.TrimLeft` and `TrimRight` [7674ad73](https://github.com/gohugoio/hugo/commit/7674ad73825c61eecc4003475fe0577f225fe579) [@moorereason](https://github.com/moorereason) 
+* compare, hugolib, tpl: Add `Eqer` interface [08f48b91](https://github.com/gohugoio/hugo/commit/08f48b91d68d3002b887ddf737456ff0cc4e786d) [@bep](https://github.com/bep) [#3807](https://github.com/gohugoio/hugo/issues/3807)
+* Only strip p tag in `markdownify` if only one paragraph [33ae10b6](https://github.com/gohugoio/hugo/commit/33ae10b6ade67cd9618970121d7de5fd2ce7d781) [@bep](https://github.com/bep) [#3040](https://github.com/gohugoio/hugo/issues/3040)
+* Cleanup `strings.TrimPrefix` and `TrimSuffix` [29a2da05](https://github.com/gohugoio/hugo/commit/29a2da0593b081cdd61b93c6328af2c9ea4eb20f) [@moorereason](https://github.com/moorereason) 
+
+### Output
+
+* Improve the base template (aka `baseof.html`) identification [0019ce00](https://github.com/gohugoio/hugo/commit/0019ce002449d671a20a69406da37b10977f9493) [@bep](https://github.com/bep) 
+
+### Core
+
+* Implement "related content" [3b4f17bb](https://github.com/gohugoio/hugo/commit/3b4f17bbc9ff789faa581ac278ad109d1ac5b816) [@bep](https://github.com/bep) [#98](https://github.com/gohugoio/hugo/issues/98)
+* Add `Page.Equals` [f0f49ed9](https://github.com/gohugoio/hugo/commit/f0f49ed9b0c9b4545a45c95d56340fcbf4aafbef) [@bep](https://github.com/bep) 
+* Rewrite `replaceDivider` to reduce memory allocation [71ae9b45](https://github.com/gohugoio/hugo/commit/71ae9b4533083be185c5314c9c5b273cc3bd07bd) [@bep](https://github.com/bep) 
+
+
+### Other
+
+* Set up Hugo release flow on `CircleCI` [d2249c50](https://github.com/gohugoio/hugo/commit/d2249c50991ba7b00b092aca6e315ca1a4de75a1) [@bep](https://github.com/bep) [#3779](https://github.com/gohugoio/hugo/issues/3779)
+* Maintain the scroll position if possible [7231d5a8](https://github.com/gohugoio/hugo/commit/7231d5a829f8d97336a2120afde1260db6ee6541) [@yihui](https://github.com/yihui) [#3824](https://github.com/gohugoio/hugo/issues/3824)
+* Add an `iFrame` title to the `YouTube` shortcode [919bc921](https://github.com/gohugoio/hugo/commit/919bc9210a69c801c7304c0b529df93d1dca27aa) [@nraboy](https://github.com/nraboy) 
+* Remove the theme submodule from /docs [ea2cc26b](https://github.com/gohugoio/hugo/commit/ea2cc26b390476f1c605405604f8c92afd09b6ee) [@bep](https://github.com/bep) [#3791](https://github.com/gohugoio/hugo/issues/3791)
+* Add support for multiple config files via `--config a.toml,b.toml,c.toml` [0f9f73cc](https://github.com/gohugoio/hugo/commit/0f9f73cce5c3f1f05be20bcf1d23b2332623d7f9) [@jgielstra](https://github.com/jgielstra) 
+* Render task list item inside `label` for correct accessibility [c8257f8b](https://github.com/gohugoio/hugo/commit/c8257f8b726478ca70dc8984cdcc17b31e4bdc0c) [@danieka](https://github.com/danieka) [#3303](https://github.com/gohugoio/hugo/issues/3303)
+* Normalize `UniqueID` between Windows & Linux [0abdeeef](https://github.com/gohugoio/hugo/commit/0abdeeef6740a3cbba0db95374853d040f2022b8) [@Shywim](https://github.com/Shywim) 
+
+
+## Fixes
+
+### Output
+
+* Fix taxonomy term base template lookup [f88fe312](https://github.com/gohugoio/hugo/commit/f88fe312cb35f7de1615c095edd2f898303dd23b) [@bep](https://github.com/bep) [#3856](https://github.com/gohugoio/hugo/issues/3856)
+* Fix `published` front matter handling [202510fd](https://github.com/gohugoio/hugo/commit/202510fdc92d52a20baeaa7edb1091f6882bd95f) [@bep](https://github.com/bep) [#3867](https://github.com/gohugoio/hugo/issues/3867)
+
+
+
+
+
+
+
+
diff --git a/content/news/0.27.1-relnotes.md b/content/news/0.27.1-relnotes.md
new file mode 100644 (file)
index 0000000..ae15973
--- /dev/null
@@ -0,0 +1,21 @@
+
+---
+date: 2017-09-13
+title: "0.27.1: One bugfix"
+description: "Hugo 0.27.1 fixes an issue introduced in Go 1.9 with HTML escaping of shortcodes in multi output sites."
+categories: ["Releases"]
+images:
+- images/blog/hugo-bug-poster.png
+---
+
+       
+
+This fixes a regression introduced in [Go 1.9](https://github.com/golang/go/issues/21844) which lead to HTML in shortcodes in multi output Hugo sites being wrongly escaped in some cases.
+
+* Fix escaped HTML Go 1.9 multioutput issue (#3880) [2d613dd9](https://github.com/gohugoio/hugo/commit/2d613dd905bb8eeb8af57e30ddd749a0f04fbd3c) [@bep](https://github.com/bep) [#3876](https://github.com/gohugoio/hugo/issues/3876)
+
+* Bump to Go 1.9 in the Snap build [642ba6ca](https://github.com/gohugoio/hugo/commit/642ba6cab24c558b16378178fe829cbc45845424) [@bep](https://github.com/bep) 
+
+
+
+
index 369d0b22150b4d524236b2526aef350efae23a06..5ffb8843f153f1e748ca247a22529df04c73cea0 100644 (file)
@@ -4,7 +4,7 @@ date: 2017-07-24T18:36:00+02:00
 description: >
     As every page in Hugo can be output to multiple formats, it is easy to create Netlify's _redirects and _headers files on the fly.
 categories: [blog]
-#tags: []
+keywords: []
 slug: "http2-server-push-in-hugo"
 aliases: []
 author: bep
index 396be314df9c9822634d623855f160c57f0deb67..8f6caa3ae8d968e1097de6f7de060aaf756b83cd 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-03-31
 categories: [templates]
-#tags: [404, page not found]
+keywords: [404, page not found]
 menu:
   docs:
     parent: "templates"
index 4c4f35e8ce33a1c2c8e1dcc2a1f832cee544a3d8..18ae40eaca784991d56169004677996b32dc7a3c 100644 (file)
@@ -11,7 +11,7 @@ menu:
     weight: 01
 weight: 01     #rem
 categories: [templates]
-#tags: []
+keywords: []
 draft: false
 aliases: [/templates/overview/,/templates/content]
 toc: false
index 52a238e5ed8a1be949e58f205ca2b89fa065c73a..91de38488e4e326866a7d90b48f2747c657023b7 100644 (file)
@@ -7,7 +7,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-20
 categories: [templates]
-#tags: [amber,ace,templating languages]
+keywords: [amber,ace,templating languages]
 menu:
   docs:
     parent: "templates"
index 9433dc9f59e908ebbb9154ef7b40e40c295b5c0e..94d4cb2ef0a616838ffbeec17ecdfee21f238ec5 100644 (file)
@@ -7,7 +7,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates,fundamentals]
-#tags: [blocks,base]
+keywords: [blocks,base]
 menu:
   docs:
     parent: "templates"
@@ -21,6 +21,8 @@ toc: true
 
 The `block` keyword allows you to define the outer shell of your pages' one or more master template(s) and then fill in or override portions as necessary.
 
+{{< youtube QVOMCYitLEc >}}
+
 ## Base Template Lookup Order
 
 The [lookup order][lookup] for base templates is as follows:
index 5ca8c2877176f33ab4cca79d4d5974f4e642c10f..5eac66a970a1fbe24d0a95afe445572a6404c2b9 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-03-12
 categories: [templates]
-#tags: [data,dynamic,csv,json,toml,yaml]
+keywords: [data,dynamic,csv,json,toml,yaml]
 menu:
   docs:
     parent: "templates"
@@ -22,6 +22,8 @@ toc: true
 
 Hugo supports loading data from YAML, JSON, and TOML files located in the `data` directory in the root of your Hugo project.
 
+{{< youtube FyPgSuwIMWQ >}}
+
 ## The Data Folder
 
 The `data` folder is where you can store additional data for Hugo to use when generating your site. Data files aren't used to generate standalone pages; rather, they're meant to be supplemental to content files. This feature can extend the content in case your front matter fields grow out of control. Or perhaps you want to show a larger dataset in a template (see example below). In both cases, it's a good idea to outsource the data in their own files.
index ffe577233002b8fe2250b1a34d07a421e3f61339..7a0f40822214fc6cdd3eaab24a35260618105484 100644 (file)
@@ -7,7 +7,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [files,directories]
+keywords: [files,directories]
 menu:
   docs:
     parent: "templates"
index c3ff08eb3e813dd523771708186f0d5c560b428d..657432dbd06bfbcad35dce7e25c09e0303c444e3 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [homepage]
+keywords: [homepage]
 menu:
   docs:
     parent: "templates"
@@ -24,6 +24,8 @@ Homepage is a `Page` and therefore has all the [page variables][pagevars] and [s
 The homepage template is the *only* required template for building a site and therefore useful when bootstrapping a new site and template. It is also the only required template if you are developing a single-page website.
 {{% /note %}}
 
+{{< youtube ut1xtRZ1QOA >}}
+
 ## Homepage Template Lookup Order
 
 The [lookup order][lookup] for the homepage template is as follows:
index 3d43913d4656c29ea39b66eef677f5a2d511a796..20390c2f5fe4f9aaff4bbf8554865747e76506f8 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-03-06
 publishdate: 2017-03-06
 lastmod: 2017-03-06
 categories: [templates]
-#tags: [internal, analytics,]
+keywords: [internal, analytics,]
 menu:
   docs:
     parent: "templates"
index 08ef0272e70688684cb54b371fcb6cc7c25334b0..26802a7f74ac3665e5626d191989864090037848 100644 (file)
@@ -7,7 +7,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-25
 categories: [templates,fundamentals]
-#tags: [go]
+keywords: [go]
 menu:
   docs:
     parent: "templates"
@@ -25,6 +25,8 @@ The following is only a primer on Go templates. For an in-depth look into Go tem
 
 Go templates provide an extremely simple template language that adheres to the belief that only the most basic of logic belongs in the template or view layer.
 
+{{< youtube gnJbPO-GFIw >}}
+
 ## Basic Syntax
 
 Golang templates are HTML files with the addition of [variables][variables] and [functions][functions]. Golang template variables and functions are accessible within `{{ }}`.
index 0e81d454c33be7c4f574d500b1b747db1b0ae98a..dc7576ef8c8522145d2648910b7c5a91dae00422 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [lists,sections,rss,taxonomies,terms]
+keywords: [lists,sections,rss,taxonomies,terms]
 menu:
   docs:
     parent: "templates"
@@ -20,6 +20,8 @@ toc: true
 
 ## What is a List Page Template?
 
+{{< youtube 8b2YTSMdMps >}}
+
 A list page template is a template used to render multiple pieces of content in a single HTML page. The exception to this rule is the homepage, which is still a list but has its own [dedicated template][homepage].
 
 Hugo uses the term *list* in its truest sense; i.e. a sequential arrangement of material, especially in alphabetical or numerical order. Hugo uses list templates on any output HTML page where content is traditionally listed:
index 3f4ff79a0c99f3074941fb2cccf2aa5f160a2c36..b3740696defba83e9adff10aece1bedbaa80170d 100644 (file)
@@ -7,7 +7,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-05-25
 categories: [templates,fundamentals]
-#tags: [lookup]
+keywords: [lookup]
 menu:
   docs:
     parent: "templates"
index 30a1305e87baeac89cc9e72f0ad7bb906dde07e7..446710681dbdf393ab69ad0acbba3d944de50c63 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [lists,sections,menus]
+keywords: [lists,sections,menus]
 menu:
   docs:
     parent: "templates"
index c63e83b7ee16305a36a84974faad61b7f6fc8dcc..37a355877b9ea6ca476bec9dafcf5dd36f871cd9 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: []
+keywords: []
 menu:
   docs:
     parent: "templates"
index db368cbe4e97c32f6d38d82f4753cbef93c13b37..c8928bdb1e5843269aa07c3e58f40d8301656d4b 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-03-22
 publishdate: 2017-03-22
 lastmod: 2017-03-22
 categories: [templates]
-#tags: ["amp","outputs","rss"]
+keywords: ["amp","outputs","rss"]
 menu:
   docs:
     parent: "templates"
index 71205ff96f338e8fed997b5ab980e1ff4ac5bcc8..24d806ea699950b558712f2d6814f6b7adda1a13 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [lists,sections,pagination]
+keywords: [lists,sections,pagination]
 menu:
   docs:
     parent: "templates"
index 6f8f0d84150dd0c0cf53dde561781712389ff5b4..0d2a9f479b53c3935c0bf19f4b0754ff96a873a8 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [lists,sections,partials]
+keywords: [lists,sections,partials]
 menu:
   docs:
     parent: "templates"
@@ -18,6 +18,8 @@ aliases: [/templates/partial/,/layout/chrome/,/extras/analytics/]
 toc: true
 ---
 
+{{< youtube pjS4pOLyB7c >}}
+
 ## Partial Template Lookup Order
 
 Partial templates---like [single page templates][singletemps] and [list page templates][listtemps]---have a specific [lookup order][]. However, partials are simpler in that Hugo will only check in two places:
index 2dad140f5540bd928e145e20c4128d099ebf0351..a76129f47de399d20b61f541e32a1cb31b8629f2 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [robots,search engines]
+keywords: [robots,search engines]
 menu:
   docs:
     parent: "templates"
index 4d736c65e3ffabad41b9b167f26618c2bf54fd86..7e2b662c46e6067dead493b95fef705019b24be5 100644 (file)
@@ -5,7 +5,7 @@ description: Hugo ships with its own RSS 2.0 template that requires almost no co
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [rss, xml]
+keywords: [rss, xml]
 categories: [templates]
 menu:
   docs:
index 95b1b5ad5bb97f82dc0e3d5d7890cb8ceda9eade..1859d3df8010cbca339a737ed92fc33091857b13 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [lists,sections]
+keywords: [lists,sections]
 menu:
   docs:
     parent: "templates"
@@ -35,6 +35,8 @@ The [lookup order][lookup] for section templates is as follows:
 7. `/themes/<THEME>/layouts/_default/section.html`
 8. `/themes/<THEME>/layouts/_default/list.html`
 
+{{< youtube jrMClsB3VsY >}}
+
 ## `.Site.GetPage` with Sections
 
 Every `Page` in Hugo has a `.Kind` attribute. `Kind` can easily be combined with the [`where` function][where] in your templates to create kind-specific lists of content. This method is ideal for creating lists, but there are times where you may want to fetch just the index page of a single section via the section's path.
index 65642ae61f517cddedf3f56220a10a8e283516e5..596a96930cb204678d3e80d37ba6f07a2b75e0e2 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [shortcodes]
+keywords: [shortcodes]
 menu:
   docs:
     parent: "templates"
@@ -28,6 +28,8 @@ Hugo also ships with built-in shortcodes for common use cases. (See [Content Man
 
 Hugo's built-in shortcodes cover many common, but not all, use cases. Luckily, Hugo provides the ability to easily create custom shortcodes to meet your website's needs.
 
+{{< youtube Eu4zSaKOY4A >}}
+
 ### File Placement
 
 To create a shortcode, place an HTML template in the `layouts/shortcodes` directory of your [source organization][]. Consider the file name carefully since the shortcode name will mirror that of the file but without the `.html` extension. For example, `layouts/shortcodes/myshortcode.html` will be called with either `{{</* myshortcode /*/>}}` or `{{%/* myshortcode /*/%}}` depending on the type of parameters you choose.
@@ -105,7 +107,7 @@ The `.Params` variable in shortcodes contains the list parameters passed to shor
 `$.Page.Site.Params`
 : refers to global variables as defined in your [site's configuration file][config].
 
-#### `.IsNameParams`
+#### `.IsNamedParams`
 
 The `.IsNamedParams` variable checks whether the shortcode declaration uses named parameters and returns a boolean value.
 
index cb86b36aa0c8a68e10cdcd1163274dc58e212bb1..41320cf636ad3a525d1aaf74fdbac9f43bceeee6 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-04-06
 categories: [templates]
-#tags: [page]
+keywords: [page]
 menu:
   docs:
     parent: "templates"
@@ -35,6 +35,8 @@ Hugo assumes your content section and content type are the same unless you tell
 9. `/themes/<THEME>/layouts/<SECTION>/single.html`
 10. `/themes/<THEME>/layouts/_default/single.html`
 
+{{< youtube ZYQ5k0RQzmo >}}
+
 ## Example Single Page Templates
 
 Content pages are of the type `page` and will therefore have all the [page variables][pagevars] and [site variables][] available to use in their templates.
index 43bd7ff395c5692e54ca0bad53bf944d7a3bfc36..309d85e75fe3f92a3ab16840a249f5b8c5f4ac5a 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [sitemap, xml]
+keywords: [sitemap, xml]
 menu:
   docs:
     parent: "templates"
index 5cb0f3346d5164ea09c8323d9cd903e04e876745..1b65663f3bbc3ffa377050f83151a1ecb36e14a1 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [taxonomies,metadata,front matter,terms]
+keywords: [taxonomies,metadata,front matter,terms]
 menu:
   docs:
     parent: "templates"
index 1905f6db6441a25382f07e6ec419eace2b2579e3..e94a073af08aaaef17d9e1cd4ed5399db4fc0119 100644 (file)
@@ -7,7 +7,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [debugging,troubleshooting]
+keywords: [debugging,troubleshooting]
 menu:
   docs:
     parent: "templates"
index c8e003bd1d7d8652852e38db521ef47fa2293689..ac863646bd67ee0c731eb8d98fa289538b583d5f 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [templates]
-#tags: [views]
+keywords: [views]
 menu:
   docs:
     parent: "templates"
index 10579db1efbe3f02fae9e672f77b8719105b29d7..9e2bc170b9f715d92521e18936c68b8ea2018ea8 100644 (file)
@@ -12,7 +12,7 @@ menu:
 weight: 01
 sections_weight: 01
 categories: [themes]
-#tags: [themes,introduction,overview]
+keywords: [themes,introduction,overview]
 draft: false
 aliases: [/themes/overview/]
 toc: false
index d6477f00d0dedfeef9f3a1bdec53f07a1b7df9f2..a62f7c71bf8c3a79e03c0ddacb050af6c5a52763 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [themes]
-#tags: [themes, source, organization, directories]
+keywords: [themes, source, organization, directories]
 menu:
   docs:
     parent: "themes"
index 1c82b2b71c9b8e97c20d4658efba08e6b8bb11ad..3444880f2c9dd127e85d3c4e531c18f576a5f0c5 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [themes]
-#tags: [themes, source, organization, directories]
+keywords: [themes, source, organization, directories]
 menu:
   docs:
     parent: "themes"
index 4d2be5b714d952fcb1529528020c06c5323bdac1..93d8142313e1a666574c8edd0cd68833fa4b6ee0 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [themes]
-#tags: [install, themes, source, organization, directories,usage]
+keywords: [install, themes, source, organization, directories,usage]
 menu:
   docs:
     parent: "themes"
@@ -30,6 +30,8 @@ Hugo currently doesn’t ship with a “default” theme. This decision is inten
 
 ## Install Themes
 
+{{< youtube L34JL_3Jkyc >}}
+
 The community-contributed themes featured on [themes.gohugo.io](//themes.gohugo.io/) are hosted in a [centralized GitHub repository][themesrepo]. The Hugo Themes Repo at <https://github.com/gohugoio/hugoThemes> is really a meta repository that contains pointers to a set of contributed themes.
 
 {{% warning "Get `git` First" %}}
index 7c3e66aa82eeca2323829845a20c6b41299ed289..47cfeb1e3cae5a58cb86af345eefa0bc7bcd8e63 100644 (file)
@@ -6,7 +6,7 @@ date: 2016-12-05
 publishdate: 2016-12-05
 lastmod: 2017-02-26
 categories: [developer tools]
-#tags: []
+keywords: []
 menu:
   docs:
     parent: "tools"
index f98a7d36ce83767abcd4ae102b0918f0f61c9bb8..351ee84c7052910a8f574ad6df7c2bc2274f11b3 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [developer tools]
-#tags: [editor, plug-ins]
+keywords: [editor, plug-ins]
 menu:
   docs:
     parent: "tools"
index d0c6b31683eac53f54c8d1f3626b2b9492fbcf45..ecfce2d187084bd5e4a104e37a11849704a44bf0 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [developer tools]
-#tags: [frontend,gui]
+keywords: [frontend,gui]
 menu:
   docs:
     parent: "tools"
index 227bdd222abc3c4432a25b807deb49be1deef8b8..e739db9f9318c4dae2f7912215399b65b4b46686 100644 (file)
@@ -5,7 +5,7 @@ description: A list of community-developed tools for migrating from your existin
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [migrations,jekyll,wordpress,drupal,ghost,contentful]
+keywords: [migrations,jekyll,wordpress,drupal,ghost,contentful]
 menu:
   docs:
     parent: "tools"
index 5f3036a9c81785d30305c0054f4e2a2fe098bf98..0502e1cdfe7152e065bf4abcbdee4273b0e264ae 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [developer tools]
-#tags: [frontend,gui]
+keywords: [frontend,gui]
 menu:
   docs:
     parent: "tools"
index dac345a13d481058a82fc95d558236a7730d0611..a7475b7c8dced7a1f1abc6193f0750a738a4729f 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-26
 categories: [developer tools]
-#tags: [search,tools]
+keywords: [search,tools]
 menu:
   docs:
     parent: "tools"
index 5d43d4e4d66468c6d7a964c5e73fc8c1008999f1..be0d1841b7ac31aa57aadb3c90320ab1893da414 100644 (file)
@@ -5,7 +5,7 @@ description: A list of community-developed projects designed to help you get up
 date: 2017-02-22
 publishdate: 2017-02-01
 lastmod: 2017-02-22
-#tags: [starters,assets,pipeline]
+keywords: [starters,assets,pipeline]
 menu:
   docs:
     parent: "tools"
index d927e0bf2f74bf03e9cb5b1553703885a8cb1fd0..e45236ceeac3b806b1e30f4cd53916c85ac02e4a 100644 (file)
@@ -5,7 +5,7 @@ description: Hugo provides server-side syntax highlighting via Pygments and, lik
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [highlighting,pygments,code blocks,syntax]
+keywords: [highlighting,pygments,code blocks,syntax]
 categories: [developer tools]
 menu:
   docs:
@@ -103,7 +103,7 @@ The keywords in the `highlight` shortcode mirror those of Pygments from the comm
 
 It is also possible to add syntax highlighting with GitHub flavored code fences. To enable this, set the `PygmentsCodeFences` to `true` in Hugo's [configuration file](/getting-started/configuration/);
 
-```
+````
 ```
 <section id="main">
   <div>
@@ -114,7 +114,7 @@ It is also possible to add syntax highlighting with GitHub flavored code fences.
   </div>
 </section>
 ```
-```
+````
 
 {{% note "Disclaimers on Pygments" %}}
 * Pygments is relatively slow and _causes a performance hit when building your site_, but Hugo has been designed to cache the results to disk.
index a902377c14d2d8e462504a82f623e407405879fb..4fd6841fefaed4893acf0fbfdb546c163f466b96 100644 (file)
@@ -5,7 +5,7 @@ description: If you're having trouble with special characters in your taxonomies
 date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
-#tags: [urls,multilingual,special characters]
+keywords: [urls,multilingual,special characters]
 categories: [troubleshooting]
 menu:
   docs:
index 89225cbc50dc7586993578c605d8bdc8b2284e37..1718875fcafec92ed027ac1a653bacf8388c280f 100644 (file)
@@ -5,7 +5,7 @@ description:
 date: 2017-03-12
 publishdate: 2017-03-12
 lastmod: 2017-03-12
-#tags: [performance, build]
+keywords: [performance, build]
 categories: [troubleshooting]
 menu:
   docs:
index da1b827feab19eeab408e11fd46042b7bb6c289e..12b7aadaae187d93fa31641fc00373c16de85935 100644 (file)
@@ -9,7 +9,7 @@ categories: [troubleshooting]
 menu:
   docs:
     parent: "troubleshooting"
-#tags: [eof, end of file, error, faqs]
+keywords: [eof, end of file, error, faqs]
 draft: false
 weight:
 aliases: [/troubleshooting/strange-eof-error/]
index 8e53af55303f743bf628ea1b46ac33a8c5f724e8..382ee25d4feee04ac70964bf266df375a72f3313 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [variables and params]
-#tags: [variables,params,values,globals]
+keywords: [variables,params,values,globals]
 draft: false
 menu:
   docs:
index dd6c6efc2af9cf34328d6716b79dceb3d713712f..45bc03b6d43813b28396654be68f4cc07fc1d77d 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [variables and params]
-#tags: [files]
+keywords: [files]
 draft: false
 menu:
   docs:
index 97ecb3c61f52d685b4798e22106bb8f2d0fd277e..6ed752dad48468bf2af159b3c2794fea86fcc094 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-03-12
 publishdate: 2017-03-12
 lastmod: 2017-03-12
 categories: [variables and params]
-#tags: [git]
+keywords: [git]
 draft: false
 menu:
   docs:
index da83a91f7abc1ff90540e4d5261ae81a25e05b1b..55b80f8c2c971f2de4931cc9993b5bf8d19c9c48 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-03-12
 publishdate: 2017-03-12
 lastmod: 2017-03-12
 categories: [variables and params]
-#tags: [hugo,generator]
+keywords: [hugo,generator]
 draft: false
 menu:
   docs:
index 3f3f8fb3315ed6ad34ddb0cc2d0e7fe9807fc0c1..f510d6a98199f4a30e75ca85b6c86a3823095d2d 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-03-12
 publishdate: 2017-03-12
 lastmod: 2017-03-12
 categories: [variables and params]
-#tags: [menus]
+keywords: [menus]
 draft: false
 menu:
   docs:
index 58c4d21107dbf102f714693848e24e12cb901a79..0e1313bbde85c189c5ae9e65bfa79ae4a3c5d028 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [variables and params]
-#tags: [pages]
+keywords: [pages]
 draft: false
 menu:
   docs:
index c3a3f920b265de47ba362dce385dab1c2c608d35..cd9d014634fe132a3e3d1ba22b360fd8905d0de3 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-03-12
 publishdate: 2017-03-12
 lastmod: 2017-03-12
 categories: [variables and params]
-#tags: [shortcodes]
+keywords: [shortcodes]
 draft: false
 menu:
   docs:
index 447a21fc39d084652284c2948ac85a9184ffef2c..7e958b2170619ea27fa0f51b93100afcc9c36978 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [variables and params]
-#tags: [global,site]
+keywords: [global,site]
 draft: false
 menu:
   docs:
index da4c12e74df2268f97b4ceb07188865798fb1233..5eda0e280e449bce42f0ab26a1b790d220141882 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-03-12
 publishdate: 2017-03-12
 lastmod: 2017-03-12
 categories: [variables and params]
-#tags: [sitemap]
+keywords: [sitemap]
 draft: false
 menu:
   docs:
index ef20156b4ee44b850ceffa3100dc96e9624f990b..18a978e8d185597e65cd3450c35b35afc2346966 100644 (file)
@@ -6,7 +6,7 @@ date: 2017-02-01
 publishdate: 2017-02-01
 lastmod: 2017-02-01
 categories: [variables and params]
-#tags: [taxonomies,terms]
+keywords: [taxonomies,terms]
 draft: false
 menu:
   docs:
index c556acabf98f80eeea031438f3d68245f119adc2..d7d7971b195095fc188ca6bc4552d11d4dd60934 100644 (file)
@@ -3,15 +3,15 @@
   command = "hugo"
 
 [context.production.environment]
-  HUGO_VERSION = "0.26"
+  HUGO_VERSION = "0.27.1"
   HUGO_ENV = "production"
   HUGO_ENABLEGITINFO = "true"
 
 [context.deploy-preview.environment]
-  HUGO_VERSION = "0.26"
+  HUGO_VERSION = "0.27.1"
 
 [context.branch-deploy.environment]
-  HUGO_VERSION = "0.26"
+  HUGO_VERSION = "0.27.1"
 
 [context.next.environment]
   HUGO_BASEURL = "https://next--gohugoio.netlify.com/"
diff --git a/static/images/blog/hugo-27-poster.png b/static/images/blog/hugo-27-poster.png
new file mode 100644 (file)
index 0000000..69efa36
Binary files /dev/null and b/static/images/blog/hugo-27-poster.png differ
diff --git a/static/images/blog/hugo-bug-poster.png b/static/images/blog/hugo-bug-poster.png
new file mode 100644 (file)
index 0000000..cd23668
Binary files /dev/null and b/static/images/blog/hugo-bug-poster.png differ
diff --git a/static/images/hosting-and-deployment/hosting-on-keycdn/keycdn-pull-zone.png b/static/images/hosting-and-deployment/hosting-on-keycdn/keycdn-pull-zone.png
new file mode 100644 (file)
index 0000000..3cfc611
Binary files /dev/null and b/static/images/hosting-and-deployment/hosting-on-keycdn/keycdn-pull-zone.png differ
diff --git a/static/images/hosting-and-deployment/hosting-on-keycdn/secret-api-key.png b/static/images/hosting-and-deployment/hosting-on-keycdn/secret-api-key.png
new file mode 100644 (file)
index 0000000..26ac448
Binary files /dev/null and b/static/images/hosting-and-deployment/hosting-on-keycdn/secret-api-key.png differ
diff --git a/static/images/hosting-and-deployment/hosting-on-keycdn/secret-zone-id.png b/static/images/hosting-and-deployment/hosting-on-keycdn/secret-zone-id.png
new file mode 100644 (file)
index 0000000..c0ef6c5
Binary files /dev/null and b/static/images/hosting-and-deployment/hosting-on-keycdn/secret-zone-id.png differ
index 39fb77c75a39878ecf758e7bf7bcc0c27d9a49ff..8cd2896249db03e909844ec5a500f38211e25435 100755 (executable)
@@ -11,6 +11,7 @@
           <div id="readout" class="fixed right-0 bottom-0">
           </div>
           {{ .Render "page" }}
+          {{ partial "related.html" . }}
         </div>
       </div>
       <div class="order-0 w-20 dn db-l">
diff --git a/themes/gohugoioTheme/layouts/partials/related.html b/themes/gohugoioTheme/layouts/partials/related.html
new file mode 100644 (file)
index 0000000..fb11699
--- /dev/null
@@ -0,0 +1,9 @@
+{{ $related := .Site.RegularPages.Related . | first 5 }}
+{{ with $related }}
+<h2>See Also</h2>
+<ul>
+       {{ range . }}
+       <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
+       {{ end }}
+</ul>
+{{ end }}
\ No newline at end of file