From 12bebaaea0ffdc19a8a324d916e110661e05e584 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Thu, 28 Mar 2024 21:58:00 +0100 Subject: [PATCH] Fixing typos --- content/en/about/features.md | 2 +- content/en/content-management/multilingual.md | 2 +- content/en/templates/introduction.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/about/features.md b/content/en/about/features.md index 39de1d84c..24ae0d8f7 100644 --- a/content/en/about/features.md +++ b/content/en/about/features.md @@ -95,7 +95,7 @@ toc: true : Reduce build time and cost by rendering a partial template once then cache the result, either globally or within a given context. For example, cache the result of an asset pipeline to prevent reprocessing on every rendered page. [Segmentation] -: Reduce build time and cost by partioning your sites into segments. For example, render the home page and the "news section" every hour, and render the entire site once a week. +: Reduce build time and cost by partitioning your sites into segments. For example, render the home page and the "news section" every hour, and render the entire site once a week. [Minification] : Minify HTML, CSS, and JavaScript to reduce file size, bandwidth consumption, and loading times. diff --git a/content/en/content-management/multilingual.md b/content/en/content-management/multilingual.md index 0e6edee8f..9a071b31f 100644 --- a/content/en/content-management/multilingual.md +++ b/content/en/content-management/multilingual.md @@ -587,7 +587,7 @@ To support Multilingual mode in your themes, some considerations must be taken f * Come from the built-in `.Permalink` or `.RelPermalink` * Be constructed with the [`relLangURL`] or [`absLangURL`] template function, or be prefixed with `{{ .LanguagePrefix }}` -If there is more than one language defined, the `LanguagePrefix` method will return `/en` (or whatever the current language is). If not enabled, it will be an empty string (and is therefor harmless for single-language Hugo websites). +If there is more than one language defined, the `LanguagePrefix` method will return `/en` (or whatever the current language is). If not enabled, it will be an empty string (and is therefore harmless for single-language Hugo websites). ## Generate multilingual content with `hugo new content` diff --git a/content/en/templates/introduction.md b/content/en/templates/introduction.md index 5d9a503f4..9998d3016 100644 --- a/content/en/templates/introduction.md +++ b/content/en/templates/introduction.md @@ -349,7 +349,7 @@ Some methods take an argument. Separate the argument from the method with a spac {{% note %}} Do not attempt to use HTML comment delimiters to comment out template code. -Hugo strips HTML comments when rendering a page, but first evaluates any template code within the HTML comment delimiters. Depending on the template code within the HTML comment delimeters, this could cause unexpected results or fail the build. +Hugo strips HTML comments when rendering a page, but first evaluates any template code within the HTML comment delimiters. Depending on the template code within the HTML comment delimiters, this could cause unexpected results or fail the build. {{% /note %}} Template comments are similar to template actions. Paired opening and closing braces represent the beginning and end of a comment. For example: