From 80b2241f9e216d3f756ba2981b31aaece90bdb9d Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sat, 4 Nov 2023 23:41:53 -0700 Subject: [PATCH] Miscellaneous updates --- config/_default/menus/menus.en.toml | 24 +++++++++---------- content/en/about/benefits.md | 1 + content/en/about/features.md | 2 ++ content/en/about/hugo-and-gdpr.md | 4 ++-- content/en/about/license.md | 4 ++-- content/en/about/security-model.md | 6 ++--- content/en/about/what-is-hugo.md | 5 ++-- content/en/content-management/_index.md | 4 ++-- content/en/content-management/archetypes.md | 4 ++-- .../en/content-management/build-options.md | 4 ++-- content/en/content-management/comments.md | 4 ++-- .../en/content-management/cross-references.md | 4 ++-- content/en/content-management/diagrams.md | 2 +- content/en/content-management/formats.md | 2 +- content/en/content-management/front-matter.md | 4 ++-- .../image-processing/index.md | 4 ++-- content/en/content-management/menus.md | 2 +- content/en/content-management/multilingual.md | 4 ++-- .../content-management/organization/index.md | 4 ++-- content/en/content-management/page-bundles.md | 4 ++-- .../en/content-management/page-resources.md | 2 +- content/en/content-management/related.md | 2 +- content/en/content-management/sections.md | 2 +- content/en/content-management/shortcodes.md | 2 +- content/en/content-management/static-files.md | 2 +- content/en/content-management/summaries.md | 2 +- .../content-management/syntax-highlighting.md | 4 ++-- content/en/content-management/taxonomies.md | 4 ++-- content/en/content-management/toc.md | 2 +- content/en/content-management/types.md | 4 ++-- content/en/content-management/urls.md | 2 +- content/en/contribute/_index.md | 2 +- content/en/contribute/themes.md | 2 +- content/en/functions/collections/Group.md | 2 +- content/en/functions/collections/Slice.md | 2 +- content/en/functions/encoding/Jsonify.md | 2 +- content/en/functions/global/site.md | 2 +- content/en/functions/go-template/range.md | 2 +- content/en/functions/images/Config.md | 7 +++++- content/en/functions/reflect/IsMap.md | 2 +- content/en/functions/reflect/IsSlice.md | 2 +- content/en/functions/safe/CSS.md | 2 +- content/en/functions/safe/HTML.md | 2 +- content/en/functions/safe/HTMLAttr.md | 2 +- content/en/functions/safe/JS.md | 2 +- content/en/functions/safe/JSStr.md | 2 +- content/en/functions/safe/URL.md | 2 +- content/en/functions/strings/FirstUpper.md | 2 +- content/en/functions/strings/ToLower.md | 2 +- content/en/functions/strings/ToUpper.md | 2 +- content/en/functions/templates/Exists.md | 2 +- content/en/functions/time/AsTime.md | 2 +- content/en/getting-started/_index.md | 4 ++-- .../getting-started/configuration-markup.md | 2 +- content/en/getting-started/configuration.md | 4 ++-- .../en/getting-started/directory-structure.md | 4 ++-- .../external-learning-resources/index.md | 1 + content/en/getting-started/glossary.md | 1 + content/en/getting-started/usage.md | 2 +- content/en/hosting-and-deployment/_index.md | 2 +- .../deployment-with-rclone.md | 4 ++-- .../deployment-with-rsync.md | 4 ++-- .../hosting-on-21yunbox.md | 2 +- .../hosting-on-aws-amplify.md | 2 +- .../hosting-on-azure-static-web-apps.md | 2 +- .../hosting-on-cloudflare-pages.md | 1 + .../hosting-on-github/index.md | 2 +- .../hosting-on-gitlab.md | 2 +- .../hosting-on-keycdn.md | 2 +- .../hosting-on-netlify.md | 2 +- .../hosting-on-render.md | 2 +- .../en/hosting-and-deployment/hugo-deploy.md | 2 +- content/en/hugo-modules/_index.md | 6 ++--- content/en/hugo-modules/configuration.md | 2 +- content/en/hugo-modules/theme-components.md | 2 +- content/en/hugo-modules/use-modules.md | 2 +- content/en/hugo-pipes/_index.md | 2 +- content/en/hugo-pipes/babel.md | 2 +- content/en/hugo-pipes/bundling.md | 2 +- content/en/hugo-pipes/fingerprint.md | 4 ++-- content/en/hugo-pipes/js.md | 2 +- content/en/hugo-pipes/minification.md | 2 +- content/en/hugo-pipes/postcss.md | 4 ++-- content/en/hugo-pipes/postprocess.md | 2 +- content/en/hugo-pipes/resource-from-string.md | 2 +- .../en/hugo-pipes/resource-from-template.md | 4 ++-- .../en/hugo-pipes/transpile-sass-to-css.md | 3 ++- content/en/installation/_index.md | 4 ++-- content/en/installation/bsd.md | 3 ++- content/en/installation/linux.md | 3 ++- content/en/installation/macos.md | 3 ++- content/en/installation/windows.md | 3 ++- content/en/maintenance/_index.md | 4 ++-- content/en/methods/time/Month.md | 4 ++-- content/en/methods/time/Weekday.md | 4 ++-- content/en/news/_index.md | 2 +- content/en/quick-reference/emojis.md | 2 +- content/en/quick-reference/functions.md | 2 +- content/en/quick-reference/methods.md | 2 +- content/en/templates/404.md | 2 +- content/en/templates/_index.md | 4 ++-- content/en/templates/base.md | 4 ++-- content/en/templates/data-templates.md | 2 +- content/en/templates/files.md | 2 +- content/en/templates/homepage.md | 2 +- content/en/templates/introduction.md | 4 ++-- content/en/templates/lists/index.md | 2 +- content/en/templates/lookup-order.md | 2 +- content/en/templates/menu-templates.md | 2 +- content/en/templates/output-formats.md | 4 ++-- content/en/templates/pagination.md | 2 +- content/en/templates/partials.md | 2 +- content/en/templates/rss.md | 2 +- content/en/templates/section-templates.md | 2 +- content/en/templates/shortcode-templates.md | 2 +- content/en/templates/single-page-templates.md | 2 +- content/en/templates/sitemap-template.md | 4 ++-- content/en/templates/taxonomy-templates.md | 2 +- content/en/tools/_index.md | 2 +- content/en/tools/editors.md | 2 +- content/en/tools/migrations.md | 5 ++-- content/en/tools/other.md | 2 +- content/en/tools/search.md | 2 ++ content/en/troubleshooting/_index.md | 2 ++ .../en/troubleshooting/build-performance.md | 2 ++ content/en/troubleshooting/faq.md | 2 +- content/en/variables/_index.md | 2 +- content/en/variables/menu-entry.md | 2 +- content/en/variables/page.md | 2 +- content/en/variables/pages.md | 4 ++-- content/en/variables/shortcode.md | 2 +- content/en/variables/site.md | 4 ++-- content/en/variables/taxonomy.md | 2 +- 133 files changed, 200 insertions(+), 176 deletions(-) diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml index 1ea37f443..cd337cbee 100644 --- a/config/_default/menus/menus.en.toml +++ b/config/_default/menus/menus.en.toml @@ -15,51 +15,51 @@ name = 'Getting started' weight = 30 identifier = 'getting-started' pageRef = '/getting-started/' - -[[docs]] -name = 'Hugo Modules' -weight = 40 -identifier = 'modules' post = 'break' -pageRef = '/hugo-modules/' [[docs]] name = 'Content management' -weight = 50 +weight = 40 identifier = 'content-management' post = 'expanded' pageRef = '/content-management/' [[docs]] name = 'Templates' -weight = 60 +weight = 50 identifier = 'templates' pageRef = '/templates/' [[docs]] name = 'Functions' -weight = 70 +weight = 60 identifier = 'functions' pageRef = '/functions/' [[docs]] name = 'Methods' -weight = 80 +weight = 70 identifier = 'methods' pageRef = '/methods/' [[docs]] name = 'Quick reference' -weight = 90 +weight = 80 identifier = 'quick-reference' pageRef = '/quick-reference/' [[docs]] name = 'Variables' -weight = 95 +weight = 85 identifier = 'variables' pageRef = '/variables/' +[[docs]] +name = 'Hugo Modules' +weight = 90 +identifier = 'modules' +pageRef = '/hugo-modules/' + [[docs]] name = 'Hugo Pipes' weight = 100 diff --git a/content/en/about/benefits.md b/content/en/about/benefits.md index f1fc0cfb6..82952c4e6 100644 --- a/content/en/about/benefits.md +++ b/content/en/about/benefits.md @@ -2,6 +2,7 @@ title: Benefits of static site generators linkTitle: Static site generators description: Improved performance, security and ease of use are just a few of the reasons static site generators are so appealing. +categories: [about] keywords: [ssg,static,performance,security] menu: docs: diff --git a/content/en/about/features.md b/content/en/about/features.md index dcb85e8b5..a94ce5526 100644 --- a/content/en/about/features.md +++ b/content/en/about/features.md @@ -1,6 +1,8 @@ --- title: Hugo features description: Hugo boasts blistering speed, robust content management, and a powerful templating language making it a great fit for all kinds of static websites. +categories: [about] +keywords: [] menu: docs: parent: about diff --git a/content/en/about/hugo-and-gdpr.md b/content/en/about/hugo-and-gdpr.md index ea588fb31..daf4e80f0 100644 --- a/content/en/about/hugo-and-gdpr.md +++ b/content/en/about/hugo-and-gdpr.md @@ -2,15 +2,15 @@ title: Hugo and the General Data Protection Regulation linkTitle: Hugo and the GDPR description: About how to configure your Hugo site to meet the new regulations. -layout: single +categories: [about] keywords: ["GDPR", "Privacy", "Data Protection"] menu: docs: parent: about weight: 60 weight: 60 -aliases: [/privacy/,/gdpr/] toc: true +aliases: [/privacy/,/gdpr/] --- General Data Protection Regulation ([GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation)) is a regulation in EU law on data protection and privacy for all individuals within the European Union and the European Economic Area. It became enforceable on 25 May 2018. diff --git a/content/en/about/license.md b/content/en/about/license.md index 6e9d2ea19..e488bb87a 100644 --- a/content/en/about/license.md +++ b/content/en/about/license.md @@ -1,8 +1,8 @@ --- title: License description: Hugo is released under the Apache 2.0 license. -categories: ["about hugo"] -keywords: ["license","apache"] +categories: [about] +keywords: [license,apache] menu: docs: parent: about diff --git a/content/en/about/security-model.md b/content/en/about/security-model.md index 3b93167ab..ed279b600 100644 --- a/content/en/about/security-model.md +++ b/content/en/about/security-model.md @@ -1,15 +1,15 @@ --- title: Hugo's security model description: A summary of Hugo's security model. -layout: single -keywords: ["Security", "Privacy"] +categories: [about] +keywords: [security,privacy] menu: docs: parent: about weight: 50 weight: 50 -aliases: [/security/] toc: true +aliases: [/security/] --- ## Runtime security diff --git a/content/en/about/what-is-hugo.md b/content/en/about/what-is-hugo.md index be564233f..e4326d173 100644 --- a/content/en/about/what-is-hugo.md +++ b/content/en/about/what-is-hugo.md @@ -1,14 +1,15 @@ --- title: What is Hugo description: Hugo is a fast and modern static site generator written in Go, and designed to make website creation fun again. -layout: single +categories: [about] +keywords: [] menu: docs: parent: about weight: 20 weight: 20 -aliases: [/overview/introduction/,/about/why-i-built-hugo/] toc: true +aliases: [/overview/introduction/,/about/why-i-built-hugo/] --- Hugo is a general-purpose website framework. Technically speaking, Hugo is a [static site generator]. Unlike systems that dynamically build a page with each visitor request, Hugo builds pages when you create or update your content. Since websites are viewed far more often than they are edited, Hugo is designed to provide an optimal viewing experience for your website's end users and an ideal writing experience for website authors. diff --git a/content/en/content-management/_index.md b/content/en/content-management/_index.md index 35f85a641..66af24681 100644 --- a/content/en/content-management/_index.md +++ b/content/en/content-management/_index.md @@ -2,13 +2,13 @@ title: Content management linkTitle: Overview description: Hugo makes managing large static sites easy with support for archetypes, content types, menus, cross references, summaries, and more. +categories: [] +keywords: [] menu: docs: identifier: content-management-overview parent: content-management weight: 10 -keywords: [source, organization] -categories: [content management] weight: 10 aliases: [/content/,/content/organization] --- diff --git a/content/en/content-management/archetypes.md b/content/en/content-management/archetypes.md index 0a33c9da6..ff825f0de 100644 --- a/content/en/content-management/archetypes.md +++ b/content/en/content-management/archetypes.md @@ -1,15 +1,15 @@ --- title: Archetypes description: An archetype is a template for new content. -keywords: [archetypes,generators,metadata,front matter] categories: [content management] +keywords: [archetypes,generators,metadata,front matter] menu: docs: parent: content-management weight: 140 quicklinks: -toc: true weight: 140 +toc: true aliases: [/content/archetypes/] --- diff --git a/content/en/content-management/build-options.md b/content/en/content-management/build-options.md index fb3cca7cb..9df98b2b1 100644 --- a/content/en/content-management/build-options.md +++ b/content/en/content-management/build-options.md @@ -1,14 +1,14 @@ --- title: Build options description: Build options help define how Hugo must treat a given page when building the site. +categories: [content management,fundamentals] keywords: [build,content,front matter, page resources] -categories: [fundamentals,content management] menu: docs: parent: content-management weight: 70 -toc: true weight: 70 +toc: true aliases: [/content/build-options/] --- diff --git a/content/en/content-management/comments.md b/content/en/content-management/comments.md index e85ea5a78..5f2f9660b 100644 --- a/content/en/content-management/comments.md +++ b/content/en/content-management/comments.md @@ -1,14 +1,14 @@ --- title: Comments description: Hugo ships with an internal Disqus template, but this isn't the only commenting system that will work with your new Hugo website. +categories: [content management] keywords: [sections,content,organization] -categories: [project organization] menu: docs: parent: content-management weight: 220 -toc: true weight: 220 +toc: true aliases: [/extras/comments/] --- diff --git a/content/en/content-management/cross-references.md b/content/en/content-management/cross-references.md index 32e1d96ed..500e388a4 100644 --- a/content/en/content-management/cross-references.md +++ b/content/en/content-management/cross-references.md @@ -2,13 +2,13 @@ title: Links and cross references description: Shortcodes for creating links to documents. categories: [content management] -keywords: ["cross references","references", "anchors", "urls"] +keywords: [cross references,references,anchors,urls] menu: docs: parent: content-management weight: 170 -toc: true weight: 170 +toc: true aliases: [/extras/crossreferences/] --- diff --git a/content/en/content-management/diagrams.md b/content/en/content-management/diagrams.md index 886b4c298..c6cef7435 100644 --- a/content/en/content-management/diagrams.md +++ b/content/en/content-management/diagrams.md @@ -7,8 +7,8 @@ menu: docs: parent: content-management weight: 50 -toc: true weight: 50 +toc: true --- {{< new-in "0.93.0" >}} diff --git a/content/en/content-management/formats.md b/content/en/content-management/formats.md index 85ca55ba7..62124de2a 100644 --- a/content/en/content-management/formats.md +++ b/content/en/content-management/formats.md @@ -7,8 +7,8 @@ menu: docs: parent: content-management weight: 40 -toc: true weight: 40 +toc: true aliases: [/content/markdown-extras/,/content/supported-formats/,/doc/supported-formats/] --- diff --git a/content/en/content-management/front-matter.md b/content/en/content-management/front-matter.md index a23905df8..02be53660 100644 --- a/content/en/content-management/front-matter.md +++ b/content/en/content-management/front-matter.md @@ -2,13 +2,13 @@ title: Front matter description: Hugo allows you to add front matter in yaml, toml, or json to your content files. categories: [content management] -keywords: ["front matter", "yaml", "toml", "json", "metadata", "archetypes"] +keywords: [front matter,yaml,toml,json,metadata,archetypes] menu: docs: parent: content-management weight: 60 -toc: true weight: 60 +toc: true aliases: [/content/front-matter/] --- diff --git a/content/en/content-management/image-processing/index.md b/content/en/content-management/image-processing/index.md index 9ac1d5c43..d5eb33ff8 100644 --- a/content/en/content-management/image-processing/index.md +++ b/content/en/content-management/image-processing/index.md @@ -1,8 +1,8 @@ --- title: Image processing description: Resize, crop, rotate, filter, and convert images. -categories: [fundamentals,content management] -keywords: [resources, images] +categories: [content management,fundamentals] +keywords: [resources,images] menu: docs: parent: content-management diff --git a/content/en/content-management/menus.md b/content/en/content-management/menus.md index f7f7cec4c..5cd90aaba 100644 --- a/content/en/content-management/menus.md +++ b/content/en/content-management/menus.md @@ -7,8 +7,8 @@ menu: docs: parent: content-management weight: 190 -toc: true weight: 190 +toc: true aliases: [/extras/menus/] --- diff --git a/content/en/content-management/multilingual.md b/content/en/content-management/multilingual.md index 910af91ce..4771b157b 100644 --- a/content/en/content-management/multilingual.md +++ b/content/en/content-management/multilingual.md @@ -3,13 +3,13 @@ title: Multilingual mode linkTitle: Multilingual description: Hugo supports the creation of websites with multiple languages side by side. categories: [content management] -keywords: [multilingual,i18n, internationalization] +keywords: [multilingual,i18n,internationalization] menu: docs: parent: content-management weight: 230 -toc: true weight: 230 +toc: true aliases: [/content/multilingual/,/tutorials/create-a-multilingual-site/] --- diff --git a/content/en/content-management/organization/index.md b/content/en/content-management/organization/index.md index 250e51460..22b341fcf 100644 --- a/content/en/content-management/organization/index.md +++ b/content/en/content-management/organization/index.md @@ -2,14 +2,14 @@ title: Content organization linkTitle: Organization description: Hugo assumes that the same structure that works to organize your source content is used to organize the rendered site. -categories: [fundamentals,content management] +categories: [content management,fundamentals] keywords: [sections,content,organization,bundle,resources] menu: docs: parent: content-management weight: 20 -toc: true weight: 20 +toc: true aliases: [/content/sections/] --- diff --git a/content/en/content-management/page-bundles.md b/content/en/content-management/page-bundles.md index 91ed0d5df..855084127 100644 --- a/content/en/content-management/page-bundles.md +++ b/content/en/content-management/page-bundles.md @@ -1,14 +1,14 @@ --- title: Page bundles description: Content organization using Page Bundles -keywords: [page, bundle, leaf, branch] categories: [content management] +keywords: [page,bundle,leaf,branch] menu : docs: parent: content-management weight: 30 -toc: true weight: 30 +toc: true --- Page Bundles are a way to group [Page Resources](/content-management/page-resources/). diff --git a/content/en/content-management/page-resources.md b/content/en/content-management/page-resources.md index bcff98118..47a689281 100644 --- a/content/en/content-management/page-resources.md +++ b/content/en/content-management/page-resources.md @@ -7,8 +7,8 @@ menu: docs: parent: content-management weight: 80 -toc: true weight: 80 +toc: true --- Page resources are only accessible from [page bundles](/content-management/page-bundles), those directories with `index.md` or `_index.md` files at their root. Page resources are only available to the diff --git a/content/en/content-management/related.md b/content/en/content-management/related.md index 996831349..9dc55bcd5 100644 --- a/content/en/content-management/related.md +++ b/content/en/content-management/related.md @@ -7,8 +7,8 @@ menu: docs: parent: content-management weight: 110 -toc: true weight: 110 +toc: true aliases: [/content/related/,/related/] --- diff --git a/content/en/content-management/sections.md b/content/en/content-management/sections.md index 8ee5c0d52..7f9f5b62a 100644 --- a/content/en/content-management/sections.md +++ b/content/en/content-management/sections.md @@ -8,8 +8,8 @@ menu: docs: parent: content-management weight: 120 -toc: true weight: 120 +toc: true aliases: [/content/sections/] --- diff --git a/content/en/content-management/shortcodes.md b/content/en/content-management/shortcodes.md index 29274486f..bbe2a2c09 100644 --- a/content/en/content-management/shortcodes.md +++ b/content/en/content-management/shortcodes.md @@ -7,8 +7,8 @@ menu: docs: parent: content-management weight: 100 -toc: true weight: 100 +toc: true aliases: [/extras/shortcodes/] testparam: "Hugo Rocks!" --- diff --git a/content/en/content-management/static-files.md b/content/en/content-management/static-files.md index 6eb4c0f86..c1197ede1 100644 --- a/content/en/content-management/static-files.md +++ b/content/en/content-management/static-files.md @@ -7,8 +7,8 @@ menu: docs: parent: content-management weight: 200 -toc: true weight: 200 +toc: true aliases: [/static-files] --- diff --git a/content/en/content-management/summaries.md b/content/en/content-management/summaries.md index 120a07995..a0b36e104 100644 --- a/content/en/content-management/summaries.md +++ b/content/en/content-management/summaries.md @@ -8,8 +8,8 @@ menu: docs: parent: content-management weight: 160 -toc: true weight: 160 +toc: true aliases: [/content/summaries/,/content-management/content-summaries/] --- diff --git a/content/en/content-management/syntax-highlighting.md b/content/en/content-management/syntax-highlighting.md index e8dae3afa..401faf41f 100644 --- a/content/en/content-management/syntax-highlighting.md +++ b/content/en/content-management/syntax-highlighting.md @@ -1,14 +1,14 @@ --- title: Syntax highlighting description: Hugo comes with really fast syntax highlighting from Chroma. -keywords: [highlighting,chroma,code blocks,syntax] categories: [content management] +keywords: [highlighting,chroma,code blocks,syntax] menu: docs: parent: content-management weight: 240 -toc: true weight: 240 +toc: true aliases: [/extras/highlighting/,/extras/highlight/,/tools/syntax-highlighting/] --- diff --git a/content/en/content-management/taxonomies.md b/content/en/content-management/taxonomies.md index e9ca44ef7..1174d6388 100644 --- a/content/en/content-management/taxonomies.md +++ b/content/en/content-management/taxonomies.md @@ -1,14 +1,14 @@ --- title: Taxonomies description: Hugo includes support for user-defined taxonomies. -keywords: [taxonomies,metadata,front matter,terms] categories: [content management] +keywords: [taxonomies,metadata,front matter,terms] menu: docs: parent: content-management weight: 150 -toc: true weight: 150 +toc: true aliases: [/taxonomies/overview/,/taxonomies/usage/,/indexes/overview/,/doc/indexes/,/extras/indexes] --- diff --git a/content/en/content-management/toc.md b/content/en/content-management/toc.md index 1474d1c7a..693a870a0 100644 --- a/content/en/content-management/toc.md +++ b/content/en/content-management/toc.md @@ -7,8 +7,8 @@ menu: docs: parent: content-management weight: 210 -toc: true weight: 210 +toc: true aliases: [/extras/toc/] --- diff --git a/content/en/content-management/types.md b/content/en/content-management/types.md index e72361f1c..67dbe1596 100644 --- a/content/en/content-management/types.md +++ b/content/en/content-management/types.md @@ -2,13 +2,13 @@ title: Content types description: Hugo is built around content organized in sections. categories: [content management] -keywords: [lists, sections, content types, types, organization] +keywords: [lists,sections,content types,types,organization] menu: docs: parent: content-management weight: 130 -toc: true weight: 130 +toc: true aliases: [/content/types] --- diff --git a/content/en/content-management/urls.md b/content/en/content-management/urls.md index f1c3af2a5..6736c9d57 100644 --- a/content/en/content-management/urls.md +++ b/content/en/content-management/urls.md @@ -7,8 +7,8 @@ menu: docs: parent: content-management weight: 180 -toc: true weight: 180 +toc: true aliases: [/extras/permalinks/,/extras/aliases/,/extras/urls/,/doc/redirects/,/doc/alias/,/doc/aliases/] --- diff --git a/content/en/contribute/_index.md b/content/en/contribute/_index.md index 77a5cdb4d..dc6ce01cb 100644 --- a/content/en/contribute/_index.md +++ b/content/en/contribute/_index.md @@ -2,7 +2,7 @@ title: Contribute to the Hugo project linkTitle: Overview description: Contribute to Hugo development and documentation. -categories: [contribute] +categories: [] keywords: [] menu: docs: diff --git a/content/en/contribute/themes.md b/content/en/contribute/themes.md index 0371f7f8c..d7844f130 100644 --- a/content/en/contribute/themes.md +++ b/content/en/contribute/themes.md @@ -9,8 +9,8 @@ menu: parent: contribute weight: 40 weight: 40 -aliases: [/contribute/theme/] toc: true +aliases: [/contribute/theme/] --- A collection of all themes created by the Hugo community, including screenshots and demos, can be found at [themes.gohugo.io]. Every theme in this list will automatically be added to the theme site. diff --git a/content/en/functions/collections/Group.md b/content/en/functions/collections/Group.md index cc919ca2a..b185389e9 100644 --- a/content/en/functions/collections/Group.md +++ b/content/en/functions/collections/Group.md @@ -1,6 +1,6 @@ --- title: collections.Group -description: Groups a list of pages. +description: Groups the given page collection by the given key. categories: [] keywords: [] action: diff --git a/content/en/functions/collections/Slice.md b/content/en/functions/collections/Slice.md index 1e372ce44..e24b394ca 100644 --- a/content/en/functions/collections/Slice.md +++ b/content/en/functions/collections/Slice.md @@ -1,6 +1,6 @@ --- title: collections.Slice -description: Creates a slice (array) of all passed arguments. +description: Creates a slice of all passed arguments. categories: [] keywords: [] action: diff --git a/content/en/functions/encoding/Jsonify.md b/content/en/functions/encoding/Jsonify.md index 09b181e31..af1995294 100644 --- a/content/en/functions/encoding/Jsonify.md +++ b/content/en/functions/encoding/Jsonify.md @@ -1,6 +1,6 @@ --- title: encoding.Jsonify -description: Encodes a given object to JSON. +description: Encodes the given object to JSON. categories: [] keywords: [] action: diff --git a/content/en/functions/global/site.md b/content/en/functions/global/site.md index 2ae36d957..a097e471b 100644 --- a/content/en/functions/global/site.md +++ b/content/en/functions/global/site.md @@ -1,6 +1,6 @@ --- title: site -description: Provides global access to the Site object. +description: Provides global access to the current Site object. categories: [] keywords: [] action: diff --git a/content/en/functions/go-template/range.md b/content/en/functions/go-template/range.md index 4c2c2e1c4..a3c488c04 100644 --- a/content/en/functions/go-template/range.md +++ b/content/en/functions/go-template/range.md @@ -21,7 +21,7 @@ toc: true ```go-html-template {{ $s := slice "foo" "bar" "baz" }} {{ range $var }} - {{ . }} → foo "bar" "baz" + {{ . }} → foo bar baz {{ end }} ``` diff --git a/content/en/functions/images/Config.md b/content/en/functions/images/Config.md index fafb5b024..0a4d225bc 100644 --- a/content/en/functions/images/Config.md +++ b/content/en/functions/images/Config.md @@ -25,7 +25,12 @@ See [image processing] for an overview of Hugo's image pipeline. Supported image formats include GIF, JPEG, PNG, TIFF, and WebP. {{% note %}} -This is a legacy function, superseded by the `.Width` and `.Height` methods for global, page, and remote resources. See the [image processing] section for details. +This is a legacy function, superseded by the [`Width`] and [`Height`] methods for [global], [page], and [remote] resources. See the [image processing] section for details. +[`Width`]: /methods/resource/width +[`Height`]: /methods/resource/height +[global]: /getting-started/glossary/#global-resource [image processing]: /content-management/image-processing +[page]: /getting-started/glossary/#page-resource +[remote]: /getting-started/glossary/#remote-resource {{% /note %}} diff --git a/content/en/functions/reflect/IsMap.md b/content/en/functions/reflect/IsMap.md index c2c441b5c..ada5a221d 100644 --- a/content/en/functions/reflect/IsMap.md +++ b/content/en/functions/reflect/IsMap.md @@ -1,6 +1,6 @@ --- title: reflect.IsMap -description: Reports whether the value is a map. +description: Reports whether the given value is a map. categories: [] keywords: [] action: diff --git a/content/en/functions/reflect/IsSlice.md b/content/en/functions/reflect/IsSlice.md index 13ab6e519..cda24a5e1 100644 --- a/content/en/functions/reflect/IsSlice.md +++ b/content/en/functions/reflect/IsSlice.md @@ -1,6 +1,6 @@ --- title: reflect.IsSlice -description: Reports whether the value is a slice. +description: Reports whether the given value is a slice. categories: [] keywords: [] action: diff --git a/content/en/functions/safe/CSS.md b/content/en/functions/safe/CSS.md index dc0539bde..de598835b 100644 --- a/content/en/functions/safe/CSS.md +++ b/content/en/functions/safe/CSS.md @@ -1,6 +1,6 @@ --- title: safe.CSS -description: Declares the provided string as safe CSS string. +description: Declares the given string as safe CSS string. categories: [] keywords: [] action: diff --git a/content/en/functions/safe/HTML.md b/content/en/functions/safe/HTML.md index 3cfb6ebdc..ecc4f1346 100644 --- a/content/en/functions/safe/HTML.md +++ b/content/en/functions/safe/HTML.md @@ -1,6 +1,6 @@ --- title: safe.HTML -description: Declares a provided string as a safeHTML string. +description: Declares the given string as a safeHTML string. categories: [] keywords: [] action: diff --git a/content/en/functions/safe/HTMLAttr.md b/content/en/functions/safe/HTMLAttr.md index 1ac8b294e..6e1fd2af7 100644 --- a/content/en/functions/safe/HTMLAttr.md +++ b/content/en/functions/safe/HTMLAttr.md @@ -1,6 +1,6 @@ --- title: safe.HTMLAttr -description: Declares the provided string as a safe HTML attribute. +description: Declares the given key/value pair as a safe HTML attribute. categories: [] keywords: [] action: diff --git a/content/en/functions/safe/JS.md b/content/en/functions/safe/JS.md index a33e19f0f..1e683e7af 100644 --- a/content/en/functions/safe/JS.md +++ b/content/en/functions/safe/JS.md @@ -1,6 +1,6 @@ --- title: safe.JS -description: Declares the provided string as a safe JavaScript string. +description: Declares the given string as a safe JavaScript expression. categories: [] keywords: [] action: diff --git a/content/en/functions/safe/JSStr.md b/content/en/functions/safe/JSStr.md index 762d2a0df..36d2b36fa 100644 --- a/content/en/functions/safe/JSStr.md +++ b/content/en/functions/safe/JSStr.md @@ -1,6 +1,6 @@ --- title: safe.JSStr -description: Declares the provided string as a known safe JavaScript string. +description: Declares the given string as a safe JavaScript string. categories: [] keywords: [] action: diff --git a/content/en/functions/safe/URL.md b/content/en/functions/safe/URL.md index 808aef2b1..f2413d68c 100644 --- a/content/en/functions/safe/URL.md +++ b/content/en/functions/safe/URL.md @@ -1,6 +1,6 @@ --- title: safe.URL -description: Declares the provided string as a safe URL or URL substring. +description: Declares the given string as a safe URL or URL substring. categories: [] keywords: [] action: diff --git a/content/en/functions/strings/FirstUpper.md b/content/en/functions/strings/FirstUpper.md index 557cac5cb..8826b4f18 100644 --- a/content/en/functions/strings/FirstUpper.md +++ b/content/en/functions/strings/FirstUpper.md @@ -1,6 +1,6 @@ --- title: strings.FirstUpper -description: Capitalizes the first character of a given string. +description: Returns the given string, capitalizing the first character. categories: [] keywords: [] action: diff --git a/content/en/functions/strings/ToLower.md b/content/en/functions/strings/ToLower.md index c15d030e0..3da047ae4 100644 --- a/content/en/functions/strings/ToLower.md +++ b/content/en/functions/strings/ToLower.md @@ -1,6 +1,6 @@ --- title: strings.ToLower -description: Converts all characters in the given string to lowercase. +description: Returns the given string, converting all characters to lowercase. categories: [] keywords: [] action: diff --git a/content/en/functions/strings/ToUpper.md b/content/en/functions/strings/ToUpper.md index 58d854b20..617e1e68a 100644 --- a/content/en/functions/strings/ToUpper.md +++ b/content/en/functions/strings/ToUpper.md @@ -1,6 +1,6 @@ --- title: strings.ToUpper -description: Converts all characters in the given string to uppercase. +description: Returns the given string, converting all characters to uppercase. categories: [] keywords: [] action: diff --git a/content/en/functions/templates/Exists.md b/content/en/functions/templates/Exists.md index f2692090a..c96726ff9 100644 --- a/content/en/functions/templates/Exists.md +++ b/content/en/functions/templates/Exists.md @@ -1,6 +1,6 @@ --- title: templates.Exists -description: Reports whether a template file exists under the given path relative to the `layouts` directory. +description: Reports whether a template file exists under the given path relative to the layouts directory. categories: [] keywords: [] action: diff --git a/content/en/functions/time/AsTime.md b/content/en/functions/time/AsTime.md index bf2e6a5c8..23e5304a5 100644 --- a/content/en/functions/time/AsTime.md +++ b/content/en/functions/time/AsTime.md @@ -1,6 +1,6 @@ --- title: time.AsTime -description: Converts a string representation of a date/time to a time.Time value. +description: Returns the given string representation of a date/time value as a time.Time value. categories: [] keywords: [] action: diff --git a/content/en/getting-started/_index.md b/content/en/getting-started/_index.md index 3265e1782..780b96a62 100644 --- a/content/en/getting-started/_index.md +++ b/content/en/getting-started/_index.md @@ -2,8 +2,8 @@ title: Getting started linkTitle: Overview description: Quick start and guides for installing Hugo on your preferred operating system. -categories: [getting started] -keywords: [usage,docs] +categories: [] +keywords: [] menu: docs: identifier: getting-started-overview diff --git a/content/en/getting-started/configuration-markup.md b/content/en/getting-started/configuration-markup.md index ef44766f1..8b064367a 100644 --- a/content/en/getting-started/configuration-markup.md +++ b/content/en/getting-started/configuration-markup.md @@ -1,7 +1,7 @@ --- title: Configure markup description: Configure rendering of markup to HTML. -categories: [fundamentals, getting started] +categories: [getting started,fundamentals] keywords: [configuration,highlighting] menu: docs: diff --git a/content/en/getting-started/configuration.md b/content/en/getting-started/configuration.md index dd2771734..9768594c7 100644 --- a/content/en/getting-started/configuration.md +++ b/content/en/getting-started/configuration.md @@ -2,15 +2,15 @@ title: Configure Hugo linkTitle: Configuration description: How to configure your Hugo site. -categories: [fundamentals,getting started] +categories: [getting started,fundamentals] keywords: [configuration,toml,yaml,json] menu: docs: parent: getting-started weight: 40 weight: 40 -aliases: [/overview/source-directory/,/overview/configuration/] toc: true +aliases: [/overview/source-directory/,/overview/configuration/] --- ## Configuration file diff --git a/content/en/getting-started/directory-structure.md b/content/en/getting-started/directory-structure.md index ea4b8a3b2..f91849375 100644 --- a/content/en/getting-started/directory-structure.md +++ b/content/en/getting-started/directory-structure.md @@ -1,15 +1,15 @@ --- title: Directory structure description: Each Hugo project is a directory, with subdirectories that contribute to the content, structure, behavior, and presentation of your site. -categories: [fundamentals,getting started] +categories: [getting started,fundamentals] keywords: [source, organization, directories] menu: docs: parent: getting-started weight: 30 weight: 30 -aliases: [/overview/source-directory/] toc: true +aliases: [/overview/source-directory/] --- ## Site skeleton diff --git a/content/en/getting-started/external-learning-resources/index.md b/content/en/getting-started/external-learning-resources/index.md index 4337c51a4..634439bc6 100644 --- a/content/en/getting-started/external-learning-resources/index.md +++ b/content/en/getting-started/external-learning-resources/index.md @@ -1,6 +1,7 @@ --- title: External learning resources description: A list of tutorials and books on Hugo. +categories: [getting started] keywords: [books, tutorials, learning, usage] menu: docs: diff --git a/content/en/getting-started/glossary.md b/content/en/getting-started/glossary.md index 07845b195..90ac2e8c6 100644 --- a/content/en/getting-started/glossary.md +++ b/content/en/getting-started/glossary.md @@ -1,6 +1,7 @@ --- title: Glossary of terms description: Terms commonly used throughout the documentation. +categories: [getting started] keywords: [glossary] menu: docs: diff --git a/content/en/getting-started/usage.md b/content/en/getting-started/usage.md index 479c9986e..f1d26edc2 100644 --- a/content/en/getting-started/usage.md +++ b/content/en/getting-started/usage.md @@ -8,8 +8,8 @@ menu: parent: getting-started weight: 30 weight: 30 -aliases: [/overview/usage/,/extras/livereload/,/doc/usage/,/usage/] toc: true +aliases: [/overview/usage/,/extras/livereload/,/doc/usage/,/usage/] --- ## Test your installation diff --git a/content/en/hosting-and-deployment/_index.md b/content/en/hosting-and-deployment/_index.md index 4329469a5..35fd3cf05 100644 --- a/content/en/hosting-and-deployment/_index.md +++ b/content/en/hosting-and-deployment/_index.md @@ -2,7 +2,7 @@ title: Hosting and deployment linkTitle: Overview description: Site builds, automated deployments, and popular hosting solutions. -categories: [hosting and deployment] +categories: [] keywords: [] menu: docs: diff --git a/content/en/hosting-and-deployment/deployment-with-rclone.md b/content/en/hosting-and-deployment/deployment-with-rclone.md index 6d45a0883..410851553 100644 --- a/content/en/hosting-and-deployment/deployment-with-rclone.md +++ b/content/en/hosting-and-deployment/deployment-with-rclone.md @@ -2,12 +2,12 @@ title: Deploy with Rclone description: If you have access to your web host with SFTP/FTP/SSH/HTTP(DAV), you can use rclone to incrementally deploy your entire Hugo website. categories: [hosting and deployment] -keywords: [rclone,sftp,deployment] +keywords: [deployment,rclone,sftp] menu: docs: parent: hosting-and-deployment -aliases: [/tutorials/deployment-with-rclone/] toc: true +aliases: [/tutorials/deployment-with-rclone/] --- ## Assumptions diff --git a/content/en/hosting-and-deployment/deployment-with-rsync.md b/content/en/hosting-and-deployment/deployment-with-rsync.md index b63b9a6cd..4af588616 100644 --- a/content/en/hosting-and-deployment/deployment-with-rsync.md +++ b/content/en/hosting-and-deployment/deployment-with-rsync.md @@ -2,12 +2,12 @@ title: Deploy with Rsync description: If you have access to your web host with SSH, you can use a simple rsync one-liner to incrementally deploy your entire Hugo website. categories: [hosting and deployment] -keywords: [rsync,deployment] +keywords: [deployment,rsync] menu: docs: parent: hosting-and-deployment -aliases: [/tutorials/deployment-with-rsync/] toc: true +aliases: [/tutorials/deployment-with-rsync/] --- ## Assumptions diff --git a/content/en/hosting-and-deployment/hosting-on-21yunbox.md b/content/en/hosting-and-deployment/hosting-on-21yunbox.md index d6dfb666d..2ab0a1964 100644 --- a/content/en/hosting-and-deployment/hosting-on-21yunbox.md +++ b/content/en/hosting-and-deployment/hosting-on-21yunbox.md @@ -2,7 +2,7 @@ title: Host on 21YunBox description: Host your Hugo site with 21YunBox's blazing fast Chinese CDN, fully-managed SSL and auto deploys from Gitee. categories: [hosting and deployment] -keywords: [21yunbox,hosting,deployment] +keywords: [hosting,21yunbox] menu: docs: parent: hosting-and-deployment diff --git a/content/en/hosting-and-deployment/hosting-on-aws-amplify.md b/content/en/hosting-and-deployment/hosting-on-aws-amplify.md index 0255c1723..43d75312a 100644 --- a/content/en/hosting-and-deployment/hosting-on-aws-amplify.md +++ b/content/en/hosting-and-deployment/hosting-on-aws-amplify.md @@ -2,7 +2,7 @@ title: Host on AWS Amplify description: Develop and deploy a cloud-powered web app with AWS Amplify. categories: [hosting and deployment] -keywords: [amplify,hosting,deployment] +keywords: [hosting,amplify] menu: docs: parent: hosting-and-deployment diff --git a/content/en/hosting-and-deployment/hosting-on-azure-static-web-apps.md b/content/en/hosting-and-deployment/hosting-on-azure-static-web-apps.md index ec8cd996f..922cbfef2 100644 --- a/content/en/hosting-and-deployment/hosting-on-azure-static-web-apps.md +++ b/content/en/hosting-and-deployment/hosting-on-azure-static-web-apps.md @@ -2,7 +2,7 @@ title: Host on Azure Static Web Apps description: Publish a Hugo site to Azure Static Web Apps. categories: [hosting and deployment] -keywords: [hosting,Azure Static Web Apps] +keywords: [hosting,azure] menu: docs: parent: hosting-and-deployment diff --git a/content/en/hosting-and-deployment/hosting-on-cloudflare-pages.md b/content/en/hosting-and-deployment/hosting-on-cloudflare-pages.md index 5c927ec99..e50143db7 100644 --- a/content/en/hosting-and-deployment/hosting-on-cloudflare-pages.md +++ b/content/en/hosting-and-deployment/hosting-on-cloudflare-pages.md @@ -2,6 +2,7 @@ title: Host on Cloudflare Pages description: Cloudflare Pages can host your Hugo site with CDN, continuous deployment, 1-click HTTPS, an admin GUI, and its own environment variables. categories: [hosting and deployment] +keywords: [hosting,cloudflare] menu: docs: parent: hosting-and-deployment diff --git a/content/en/hosting-and-deployment/hosting-on-github/index.md b/content/en/hosting-and-deployment/hosting-on-github/index.md index 9ef8a5f2c..b8aa638cd 100644 --- a/content/en/hosting-and-deployment/hosting-on-github/index.md +++ b/content/en/hosting-and-deployment/hosting-on-github/index.md @@ -2,7 +2,7 @@ title: Host on GitHub Pages description: Deploy Hugo as a GitHub Pages project or personal/organizational site and automate the whole process with GitHub Actions categories: [hosting and deployment] -keywords: [github,git,deployment,hosting] +keywords: [hosting,github] menu: docs: parent: hosting-and-deployment diff --git a/content/en/hosting-and-deployment/hosting-on-gitlab.md b/content/en/hosting-and-deployment/hosting-on-gitlab.md index ccf906b2e..35920a540 100644 --- a/content/en/hosting-and-deployment/hosting-on-gitlab.md +++ b/content/en/hosting-and-deployment/hosting-on-gitlab.md @@ -2,7 +2,7 @@ title: Host on GitLab Pages description: GitLab makes it easy to build, deploy, and host your Hugo website via their free GitLab Pages service, which provides native support for Hugo. categories: [hosting and deployment] -keywords: [hosting,deployment,git,gitlab] +keywords: [hosting,gitlab] menu: docs: parent: hosting-and-deployment diff --git a/content/en/hosting-and-deployment/hosting-on-keycdn.md b/content/en/hosting-and-deployment/hosting-on-keycdn.md index 4bf32833e..e81129981 100644 --- a/content/en/hosting-and-deployment/hosting-on-keycdn.md +++ b/content/en/hosting-and-deployment/hosting-on-keycdn.md @@ -2,7 +2,7 @@ title: Host on KeyCDN description: "Accelerate your Hugo site globally with a KeyCDN integration. This tutorial shows you how to set up your static site as a GitLab page behind a KeyCDN pull zone." categories: [hosting and deployment] -keywords: [keycdn,hosting,deployment,cdn] +keywords: [hosting,keycdn] menu: docs: parent: hosting-and-deployment diff --git a/content/en/hosting-and-deployment/hosting-on-netlify.md b/content/en/hosting-and-deployment/hosting-on-netlify.md index 91d044755..9b3dbd88b 100644 --- a/content/en/hosting-and-deployment/hosting-on-netlify.md +++ b/content/en/hosting-and-deployment/hosting-on-netlify.md @@ -2,7 +2,7 @@ title: Host on Netlify description: Netlify can host your Hugo site with CDN, continuous deployment, 1-click HTTPS, an admin GUI, and its own CLI. categories: [hosting and deployment] -keywords: [netlify,hosting,deployment] +keywords: [hosting,netlify] menu: docs: parent: hosting-and-deployment diff --git a/content/en/hosting-and-deployment/hosting-on-render.md b/content/en/hosting-and-deployment/hosting-on-render.md index 8965ad786..b43261c8d 100644 --- a/content/en/hosting-and-deployment/hosting-on-render.md +++ b/content/en/hosting-and-deployment/hosting-on-render.md @@ -2,7 +2,7 @@ title: Host on Render description: Host your Hugo site for free with Render's global CDN, fully-managed SSL and auto deploys from GitHub. categories: [hosting and deployment] -keywords: [hosting,deployment] +keywords: [hosting] menu: docs: parent: hosting-and-deployment diff --git a/content/en/hosting-and-deployment/hugo-deploy.md b/content/en/hosting-and-deployment/hugo-deploy.md index d2df9566f..11eff15bf 100644 --- a/content/en/hosting-and-deployment/hugo-deploy.md +++ b/content/en/hosting-and-deployment/hugo-deploy.md @@ -2,7 +2,7 @@ title: Hugo Deploy description: You can upload your site to GCS, S3, or Azure using the Hugo CLI. categories: [hosting and deployment] -keywords: [s3,gcs,azure,hosting,deployment] +keywords: [deployment,s3,gcs,azure] menu: docs: parent: hosting-and-deployment diff --git a/content/en/hugo-modules/_index.md b/content/en/hugo-modules/_index.md index 87dca37b8..cbff13ad0 100644 --- a/content/en/hugo-modules/_index.md +++ b/content/en/hugo-modules/_index.md @@ -2,16 +2,16 @@ title: Hugo Modules linkTitle: Overview description: How to use Hugo Modules. +categories: [] +keywords: [] menu: docs: identifier: hugo-modules-overview parent: modules weight: 10 weight: 10 -categories: [hugo modules] -keywords: [themes,modules] -aliases: [/themes/overview/,/themes/] toc: true +aliases: [/themes/overview/,/themes/] --- **Hugo Modules** are the core building blocks in Hugo. A _module_ can be your main project or a smaller module providing one or more of the 7 component types defined in Hugo: **static**, **content**, **layouts**, **data**, **assets**, **i18n**, and **archetypes**. diff --git a/content/en/hugo-modules/configuration.md b/content/en/hugo-modules/configuration.md index 6df6c41cd..d707e7498 100644 --- a/content/en/hugo-modules/configuration.md +++ b/content/en/hugo-modules/configuration.md @@ -2,7 +2,7 @@ title: Configure Hugo modules description: This page describes the configuration options for a module. categories: [hugo modules] -keywords: [themes, source, organization, directories] +keywords: [modules,themes] menu: docs: parent: modules diff --git a/content/en/hugo-modules/theme-components.md b/content/en/hugo-modules/theme-components.md index 0ea223b2b..947a0ff79 100644 --- a/content/en/hugo-modules/theme-components.md +++ b/content/en/hugo-modules/theme-components.md @@ -2,7 +2,7 @@ title: Theme components description: Hugo provides advanced theming support with Theme Components. categories: [hugo modules] -keywords: [themes, theme, source, organization, directories] +keywords: [modules,themes] menu: docs: parent: modules diff --git a/content/en/hugo-modules/use-modules.md b/content/en/hugo-modules/use-modules.md index 86018fa78..348d3d3c6 100644 --- a/content/en/hugo-modules/use-modules.md +++ b/content/en/hugo-modules/use-modules.md @@ -2,7 +2,7 @@ title: Use Hugo Modules description: How to use Hugo Modules to build and manage your site. categories: [hugo modules] -keywords: [install, themes, source, organization, directories,usage,modules] +keywords: [modules,themes] menu: docs: parent: modules diff --git a/content/en/hugo-pipes/_index.md b/content/en/hugo-pipes/_index.md index b649a5bf6..edc41b7a2 100755 --- a/content/en/hugo-pipes/_index.md +++ b/content/en/hugo-pipes/_index.md @@ -1,7 +1,7 @@ --- title: Hugo Pipes linkTitle: Overview -categories: [asset management] +categories: [] keywords: [] menu: docs: diff --git a/content/en/hugo-pipes/babel.md b/content/en/hugo-pipes/babel.md index 798bfc1f4..ffe2ed002 100755 --- a/content/en/hugo-pipes/babel.md +++ b/content/en/hugo-pipes/babel.md @@ -8,7 +8,7 @@ menu: parent: hugo-pipes weight: 70 weight: 70 -function: +action: aliases: [babel] returnType: resource.Resource signatures: ['resources.Babel [OPTIONS] RESOURCE'] diff --git a/content/en/hugo-pipes/bundling.md b/content/en/hugo-pipes/bundling.md index c3c11f473..7fc9fc9df 100755 --- a/content/en/hugo-pipes/bundling.md +++ b/content/en/hugo-pipes/bundling.md @@ -9,7 +9,7 @@ menu: parent: hugo-pipes weight: 90 weight: 90 -function: +action: aliases: [] returnType: resource.Resource signatures: ['resources.Concat TARGETPATH [RESOURCE...]'] diff --git a/content/en/hugo-pipes/fingerprint.md b/content/en/hugo-pipes/fingerprint.md index 18a1c9d36..68e41acd1 100755 --- a/content/en/hugo-pipes/fingerprint.md +++ b/content/en/hugo-pipes/fingerprint.md @@ -9,10 +9,10 @@ menu: parent: hugo-pipes weight: 100 weight: 100 -function: +action: aliases: [fingerprint] returnType: resource.Resource - signatures: ['resources.Fingerprint RESOURCE [ALGORITHM]'] + signatures: ['resources.Fingerprint [ALGORITHM] RESOURCE'] --- ## Usage diff --git a/content/en/hugo-pipes/js.md b/content/en/hugo-pipes/js.md index 1a5ea1edb..d4f07595e 100644 --- a/content/en/hugo-pipes/js.md +++ b/content/en/hugo-pipes/js.md @@ -9,7 +9,7 @@ menu: parent: hugo-pipes weight: 60 weight: 60 -function: +action: aliases: [] returnType: resource.Resource signatures: ['js.Build [OPTIONS] RESOURCE'] diff --git a/content/en/hugo-pipes/minification.md b/content/en/hugo-pipes/minification.md index fb1e3ba01..f8cedcde5 100755 --- a/content/en/hugo-pipes/minification.md +++ b/content/en/hugo-pipes/minification.md @@ -9,7 +9,7 @@ menu: parent: hugo-pipes weight: 80 weight: 80 -function: +action: aliases: [minify] returnType: resource.Resource signatures: [resources.Minify RESOURCE] diff --git a/content/en/hugo-pipes/postcss.md b/content/en/hugo-pipes/postcss.md index a05473532..5a9200ddf 100755 --- a/content/en/hugo-pipes/postcss.md +++ b/content/en/hugo-pipes/postcss.md @@ -7,9 +7,9 @@ menu: docs: parent: hugo-pipes weight: 40 -toc: true weight: 40 -function: +toc: true +action: aliases: [postCSS] returnType: resource.Resource signatures: ['resources.PostCSS [OPTIONS] RESOURCE'] diff --git a/content/en/hugo-pipes/postprocess.md b/content/en/hugo-pipes/postprocess.md index 94f2d0610..1aceae208 100755 --- a/content/en/hugo-pipes/postprocess.md +++ b/content/en/hugo-pipes/postprocess.md @@ -8,7 +8,7 @@ menu: parent: hugo-pipes weight: 50 weight: 50 -function: +action: aliases: [] returnType: postpub.PostPublishedResource signatures: [resources.PostProcess RESOURCE] diff --git a/content/en/hugo-pipes/resource-from-string.md b/content/en/hugo-pipes/resource-from-string.md index a2cdc0f05..53bcfff74 100755 --- a/content/en/hugo-pipes/resource-from-string.md +++ b/content/en/hugo-pipes/resource-from-string.md @@ -9,7 +9,7 @@ menu: parent: hugo-pipes weight: 110 weight: 110 -function: +action: aliases: [] returnType: resource.Resource signatures: [resources.FromString TARGETPATH STRING] diff --git a/content/en/hugo-pipes/resource-from-template.md b/content/en/hugo-pipes/resource-from-template.md index 730feb53f..1627fa7d4 100755 --- a/content/en/hugo-pipes/resource-from-template.md +++ b/content/en/hugo-pipes/resource-from-template.md @@ -9,10 +9,10 @@ menu: parent: hugo-pipes weight: 120 weight: 120 -function: +action: aliases: [] returnType: resource.Resource - signatures: [resources.ExecuteAsTemplate TARGETPATH CONTEXT RESOURCE'] + signatures: [resources.ExecuteAsTemplate TARGETPATH CONTEXT RESOURCE] --- ## Usage diff --git a/content/en/hugo-pipes/transpile-sass-to-css.md b/content/en/hugo-pipes/transpile-sass-to-css.md index 0a5d92675..c6a6f091a 100644 --- a/content/en/hugo-pipes/transpile-sass-to-css.md +++ b/content/en/hugo-pipes/transpile-sass-to-css.md @@ -10,8 +10,9 @@ menu: returnType: resource.Resource weight: 30 weight: 30 -function: +action: aliases: [toCSS] + returnType: resource.Resource signatures: ['resources.ToCSS [OPTIONS] RESOURCE'] toc: true aliases: [/hugo-pipes/transform-to-css/] diff --git a/content/en/installation/_index.md b/content/en/installation/_index.md index 2aa2f1323..ca405b755 100644 --- a/content/en/installation/_index.md +++ b/content/en/installation/_index.md @@ -3,8 +3,8 @@ title: Installation linkTitle: Overview description: Install Hugo on macOS, Linux, Windows, BSD, and on any machine that can run the Go compiler tool chain. aliases: [/getting-started/installing/] -categories: [installation] -keywords: [installation] +categories: [] +keywords: [] menu: docs: identifier: installation-overview diff --git a/content/en/installation/bsd.md b/content/en/installation/bsd.md index 677a0d358..a3b179d25 100644 --- a/content/en/installation/bsd.md +++ b/content/en/installation/bsd.md @@ -2,12 +2,13 @@ title: BSD description: Install Hugo on BSD derivatives. categories: [installation] +keywords: [] menu: docs: parent: installation weight: 50 -toc: true weight: 50 +toc: true --- {{% include "installation/_common/01-editions.md" %}} diff --git a/content/en/installation/linux.md b/content/en/installation/linux.md index 669e9dab8..695ffe910 100644 --- a/content/en/installation/linux.md +++ b/content/en/installation/linux.md @@ -2,12 +2,13 @@ title: Linux description: Install Hugo on Linux. categories: [installation] +keywords: [] menu: docs: parent: installation weight: 30 -toc: true weight: 30 +toc: true --- {{% include "installation/_common/01-editions.md" %}} diff --git a/content/en/installation/macos.md b/content/en/installation/macos.md index fd325010e..288eb5971 100644 --- a/content/en/installation/macos.md +++ b/content/en/installation/macos.md @@ -2,12 +2,13 @@ title: macOS description: Install Hugo on macOS. categories: [installation] +keywords: [] menu: docs: parent: installation weight: 20 -toc: true weight: 20 +toc: true --- {{% include "installation/_common/01-editions.md" %}} diff --git a/content/en/installation/windows.md b/content/en/installation/windows.md index 91466ca06..7ac54b6ad 100644 --- a/content/en/installation/windows.md +++ b/content/en/installation/windows.md @@ -2,12 +2,13 @@ title: Windows description: Install Hugo on Windows. categories: [installation] +keywords: [] menu: docs: parent: installation weight: 40 -toc: true weight: 40 +toc: true --- {{% include "installation/_common/01-editions.md" %}} diff --git a/content/en/maintenance/_index.md b/content/en/maintenance/_index.md index fd8828bb2..aaee3987d 100644 --- a/content/en/maintenance/_index.md +++ b/content/en/maintenance/_index.md @@ -1,8 +1,8 @@ --- title: Maintenance description: Some lists useful for the maintenance of the Hugo docs site. -categories: [maintenance] -keywords: [maintenance] +categories: [] +keywords: [] menu: docs: weight: 200 diff --git a/content/en/methods/time/Month.md b/content/en/methods/time/Month.md index 08815afbd..0a01d1a70 100644 --- a/content/en/methods/time/Month.md +++ b/content/en/methods/time/Month.md @@ -15,14 +15,14 @@ action: signatures: [TIME.Month] --- -To convert the time.Month value to a string: +To convert the `time.Month` value to a string: ```go-html-template {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} {{ $t.Month.String }} → January ``` -To convert the time.Month value to an integer. +To convert the `time.Month` value to an integer. ```go-html-template {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} diff --git a/content/en/methods/time/Weekday.md b/content/en/methods/time/Weekday.md index 9e2349c80..b2a95fe9c 100644 --- a/content/en/methods/time/Weekday.md +++ b/content/en/methods/time/Weekday.md @@ -10,14 +10,14 @@ action: signatures: [TIME.Weekday] --- -To convert the time.Weekday value to a string: +To convert the `time.Weekday` value to a string: ```go-html-template {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} {{ $t.Weekday.String }} → Friday ``` -To convert the time.Weekday value to an integer. +To convert the `time.Weekday` value to an integer. ```go-html-template {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} diff --git a/content/en/news/_index.md b/content/en/news/_index.md index 353accc3d..e37c33a3c 100644 --- a/content/en/news/_index.md +++ b/content/en/news/_index.md @@ -1,4 +1,4 @@ --- -title: "Hugo News" +title: Hugo News aliases: [/release-notes/] --- diff --git a/content/en/quick-reference/emojis.md b/content/en/quick-reference/emojis.md index df05eade0..56d063d1e 100644 --- a/content/en/quick-reference/emojis.md +++ b/content/en/quick-reference/emojis.md @@ -1,7 +1,7 @@ --- title: Emojis description: Include emoji shortcodes in your markdown, or use the emojify function in your templates. -categories: [] +categories: [quick reference] keywords: [emoji] menu: docs: diff --git a/content/en/quick-reference/functions.md b/content/en/quick-reference/functions.md index 24368a866..42eafedd3 100644 --- a/content/en/quick-reference/functions.md +++ b/content/en/quick-reference/functions.md @@ -1,7 +1,7 @@ --- title: Functions description: A quick reference guide to Hugo's functions, grouped by namespace. Aliases, if any, appear in parentheses to the right of the function name. -categories: [] +categories: [quick reference] keywords: [] menu: docs: diff --git a/content/en/quick-reference/methods.md b/content/en/quick-reference/methods.md index d89fce2d4..abd1db709 100644 --- a/content/en/quick-reference/methods.md +++ b/content/en/quick-reference/methods.md @@ -1,7 +1,7 @@ --- title: Methods description: A quick reference guide to Hugo's methods, grouped by object. -categories: [] +categories: [quick reference] keywords: [] menu: docs: diff --git a/content/en/templates/404.md b/content/en/templates/404.md index 3650d5a07..0ece78a85 100644 --- a/content/en/templates/404.md +++ b/content/en/templates/404.md @@ -3,7 +3,7 @@ title: Custom 404 page linkTitle: 404 page description: If you know how to create a single page template, you have unlimited options for creating a custom 404. categories: [templates] -keywords: [404, page not found] +keywords: ['404',page not found] menu: docs: parent: templates diff --git a/content/en/templates/_index.md b/content/en/templates/_index.md index 30243e63c..b2197d162 100644 --- a/content/en/templates/_index.md +++ b/content/en/templates/_index.md @@ -2,14 +2,14 @@ title: Templates linkTitle: Overview description: Go templating, template types and lookup order, shortcodes, and data. +categories: [] +keywords: [] menu: docs: identifier: templates-overview parent: templates weight: 10 weight: 10 -categories: [templates] -keywords: [] aliases: [/templates/overview/,/templates/content] --- diff --git a/content/en/templates/base.md b/content/en/templates/base.md index ec84f1a22..e6c8aa640 100644 --- a/content/en/templates/base.md +++ b/content/en/templates/base.md @@ -1,15 +1,15 @@ --- title: Base templates and blocks description: The base and block constructs allow you to define the outer shell of your master templates (i.e., the chrome of the page). -categories: [fundamentals,templates] +categories: [templates,fundamentals] keywords: [blocks,base] menu: docs: parent: templates weight: 40 weight: 40 -aliases: [/templates/blocks/,/templates/base-templates-and-blocks/] toc: true +aliases: [/templates/blocks/,/templates/base-templates-and-blocks/] --- 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. diff --git a/content/en/templates/data-templates.md b/content/en/templates/data-templates.md index 97da22db5..d4a4ddcc0 100644 --- a/content/en/templates/data-templates.md +++ b/content/en/templates/data-templates.md @@ -8,8 +8,8 @@ menu: parent: templates weight: 150 weight: 150 -aliases: [/extras/datafiles/,/extras/datadrivencontent/,/doc/datafiles/] toc: true +aliases: [/extras/datafiles/,/extras/datadrivencontent/,/doc/datafiles/] --- Hugo supports loading data from YAML, JSON, XML, and TOML files located in the `data` directory at the root of your Hugo project. diff --git a/content/en/templates/files.md b/content/en/templates/files.md index 2e82688c0..1847af9bc 100644 --- a/content/en/templates/files.md +++ b/content/en/templates/files.md @@ -8,8 +8,8 @@ menu: parent: templates weight: 180 weight: 180 -aliases: [/extras/localfiles/,/templates/local-files/] toc: true +aliases: [/extras/localfiles/,/templates/local-files/] --- ## Traverse local files diff --git a/content/en/templates/homepage.md b/content/en/templates/homepage.md index a176a51f2..8d3fcc5f0 100644 --- a/content/en/templates/homepage.md +++ b/content/en/templates/homepage.md @@ -8,8 +8,8 @@ menu: parent: templates weight: 70 weight: 70 -aliases: [/layout/homepage/,/templates/homepage-template/] toc: true +aliases: [/layout/homepage/,/templates/homepage-template/] --- Homepage is a `Page` and therefore has all the [page variables][pagevars] and [site variables][sitevars] available for use. diff --git a/content/en/templates/introduction.md b/content/en/templates/introduction.md index 549466992..f19144f8b 100644 --- a/content/en/templates/introduction.md +++ b/content/en/templates/introduction.md @@ -2,15 +2,15 @@ title: Templating linkTitle: Templating description: Hugo uses Go's `html/template` and `text/template` libraries as the basis for the templating. -categories: [fundamentals,templates] +categories: [templates,fundamentals] keywords: [go] menu: docs: parent: templates weight: 20 weight: 20 -aliases: [/layouts/introduction/,/layout/introduction/, /templates/go-templates/] toc: true +aliases: [/layouts/introduction/,/layout/introduction/, /templates/go-templates/] --- {{% note %}} diff --git a/content/en/templates/lists/index.md b/content/en/templates/lists/index.md index 7e95cc5bc..284c22424 100644 --- a/content/en/templates/lists/index.md +++ b/content/en/templates/lists/index.md @@ -9,8 +9,8 @@ menu: parent: templates weight: 60 weight: 60 -aliases: [/templates/list/,/layout/indexes/] toc: true +aliases: [/templates/list/,/layout/indexes/] --- ## What is a list page template? diff --git a/content/en/templates/lookup-order.md b/content/en/templates/lookup-order.md index b49c79524..2a24c03ac 100644 --- a/content/en/templates/lookup-order.md +++ b/content/en/templates/lookup-order.md @@ -1,7 +1,7 @@ --- title: Template lookup order description: Hugo uses the rules below to select a template for a given page, starting from the most specific. -categories: [fundamentals,templates] +categories: [templates,fundamentals] keywords: [templates] menu: docs: diff --git a/content/en/templates/menu-templates.md b/content/en/templates/menu-templates.md index 6b7532e29..cc5c15b0b 100644 --- a/content/en/templates/menu-templates.md +++ b/content/en/templates/menu-templates.md @@ -7,8 +7,8 @@ menu: docs: parent: templates weight: 140 -toc: true weight: 140 +toc: true aliases: [/templates/menus/] --- diff --git a/content/en/templates/output-formats.md b/content/en/templates/output-formats.md index 0fad84da4..c274d256f 100644 --- a/content/en/templates/output-formats.md +++ b/content/en/templates/output-formats.md @@ -1,15 +1,15 @@ --- title: Custom output formats description: Hugo can output content in multiple formats, including calendar events, e-book formats, Google AMP, and JSON search indexes, or any custom text format. -categories: [fundamentals,templates] +categories: [templates,fundamentals] keywords: ["amp", "outputs", "rss"] menu: docs: parent: templates weight: 210 weight: 210 -aliases: [/templates/outputs/,/extras/output-formats/,/content-management/custom-outputs/] toc: true +aliases: [/templates/outputs/,/extras/output-formats/,/content-management/custom-outputs/] --- This page describes how to properly configure your site with the media types and output formats, as well as where to create your templates for your custom outputs. diff --git a/content/en/templates/pagination.md b/content/en/templates/pagination.md index 6cd7f7435..0ac6509ca 100644 --- a/content/en/templates/pagination.md +++ b/content/en/templates/pagination.md @@ -8,8 +8,8 @@ menu: parent: templates weight: 100 weight: 100 -aliases: [/extras/pagination,/doc/pagination/] toc: true +aliases: [/extras/pagination,/doc/pagination/] --- The real power of Hugo pagination shines when combined with the [`where`] function and its SQL-like operators: [`first`], [`last`], and [`after`]. You can even [order the content][lists] the way you've become used to with Hugo. diff --git a/content/en/templates/partials.md b/content/en/templates/partials.md index d5fe5aade..d8182cbb9 100644 --- a/content/en/templates/partials.md +++ b/content/en/templates/partials.md @@ -8,8 +8,8 @@ menu: parent: templates weight: 120 weight: 120 -aliases: [/templates/partial/,/layout/chrome/,/extras/analytics/] toc: true +aliases: [/templates/partial/,/layout/chrome/,/extras/analytics/] --- {{< youtube pjS4pOLyB7c >}} diff --git a/content/en/templates/rss.md b/content/en/templates/rss.md index df97c437c..9a2ce9b3c 100644 --- a/content/en/templates/rss.md +++ b/content/en/templates/rss.md @@ -1,8 +1,8 @@ --- title: RSS templates description: Use the built-in RSS template, or create your own. -keywords: [rss, xml, templates] categories: [templates] +keywords: [rss,xml,templates] menu: docs: parent: templates diff --git a/content/en/templates/section-templates.md b/content/en/templates/section-templates.md index ed12b30a3..9c5a9530b 100644 --- a/content/en/templates/section-templates.md +++ b/content/en/templates/section-templates.md @@ -9,8 +9,8 @@ menu: parent: templates weight: 80 weight: 80 -aliases: [/templates/sections/] toc: true +aliases: [/templates/sections/] --- ## Add content and front matter to section templates diff --git a/content/en/templates/shortcode-templates.md b/content/en/templates/shortcode-templates.md index e90ab685a..7a8dca5c7 100644 --- a/content/en/templates/shortcode-templates.md +++ b/content/en/templates/shortcode-templates.md @@ -9,8 +9,8 @@ menu: parent: templates weight: 130 weight: 130 -toc: true aliases: [/functions/get] +toc: true --- Shortcodes are a means to consolidate templating into small, reusable snippets that you can embed directly inside your content. diff --git a/content/en/templates/single-page-templates.md b/content/en/templates/single-page-templates.md index 54efddc6e..2e469150f 100644 --- a/content/en/templates/single-page-templates.md +++ b/content/en/templates/single-page-templates.md @@ -8,8 +8,8 @@ menu: parent: templates weight: 50 weight: 50 -aliases: [/layout/content/] toc: true +aliases: [/layout/content/] --- ## Single page template lookup order diff --git a/content/en/templates/sitemap-template.md b/content/en/templates/sitemap-template.md index bccd37812..250c61e68 100644 --- a/content/en/templates/sitemap-template.md +++ b/content/en/templates/sitemap-template.md @@ -2,14 +2,14 @@ title: Sitemap templates description: Hugo provides built-in sitemap templates. categories: [templates] -keywords: [sitemap, xml, templates] +keywords: [sitemap,xml,templates] menu: docs: parent: templates weight: 170 weight: 170 -aliases: [/layout/sitemap/,/templates/sitemap/] toc: true +aliases: [/layout/sitemap/,/templates/sitemap/] --- ## Overview diff --git a/content/en/templates/taxonomy-templates.md b/content/en/templates/taxonomy-templates.md index ca96c6185..3a92e9c1d 100644 --- a/content/en/templates/taxonomy-templates.md +++ b/content/en/templates/taxonomy-templates.md @@ -8,8 +8,8 @@ menu: parent: templates weight: 90 weight: 90 -aliases: [/taxonomies/displaying/,/templates/terms/,/indexes/displaying/,/taxonomies/templates/,/indexes/ordering/, /templates/taxonomies/, /templates/taxonomy/] toc: true +aliases: [/taxonomies/displaying/,/templates/terms/,/indexes/displaying/,/taxonomies/templates/,/indexes/ordering/, /templates/taxonomies/, /templates/taxonomy/] ---