aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-11-18 10:11:18 +0100
committerBjørn Erik Pedersen <[email protected]>2024-11-18 10:11:18 +0100
commitbbbfeb340ad1f7f721938d4bae5c1f46be7c1c29 (patch)
tree44af4209c5075bcf2748549b634b644f70f784ed /docs
parent6bde8abaad9827f45f5f6c5497ffbe583562ad46 (diff)
parent838bd312b1a287bb33962ad478dbc54737654f35 (diff)
downloadhugo-bbbfeb340ad1f7f721938d4bae5c1f46be7c1c29.tar.gz
hugo-bbbfeb340ad1f7f721938d4bae5c1f46be7c1c29.zip
Merge commit '838bd312b1a287bb33962ad478dbc54737654f35'
Diffstat (limited to 'docs')
-rw-r--r--docs/content/en/content-management/archetypes.md8
-rw-r--r--docs/content/en/content-management/mathematics.md2
-rw-r--r--docs/content/en/functions/lang/FormatNumberCustom.md2
-rw-r--r--docs/content/en/getting-started/configuration-markup.md4
-rw-r--r--docs/content/en/hugo-pipes/transpile-sass-to-css.md2
-rw-r--r--docs/content/en/methods/duration/Truncate.md1
-rw-r--r--docs/content/en/methods/shortcode/Inner.md5
7 files changed, 12 insertions, 12 deletions
diff --git a/docs/content/en/content-management/archetypes.md b/docs/content/en/content-management/archetypes.md
index f89c3f6b3..acf101fda 100644
--- a/docs/content/en/content-management/archetypes.md
+++ b/docs/content/en/content-management/archetypes.md
@@ -86,9 +86,9 @@ Type
Site
: (`page.Site`) The current site object. See [details](/methods/site/).
-## Alternate date format
+## Date format
-To insert date and time with an alternate format, use the [`time.Now`] function:
+To insert date and time with a different format, use the [`time.Now`] function:
[`time.Now`]: /functions/time/now/
@@ -169,9 +169,9 @@ content/
└── _index.md
```
-## Use alternate archetype
+## Specify archetype
-Use the `--kind` command line flag to specify an alternate archetype when creating content.
+Use the `--kind` command line flag to specify an archetype when creating content.
For example, let's say your site has two sections: articles and tutorials. Create an archetype for each content type:
diff --git a/docs/content/en/content-management/mathematics.md b/docs/content/en/content-management/mathematics.md
index a01a166dc..3212fe251 100644
--- a/docs/content/en/content-management/mathematics.md
+++ b/docs/content/en/content-management/mathematics.md
@@ -137,7 +137,7 @@ These are block equations:
a^*=x-b^*
\]
-These are block equations using alternate delimiters:
+These are also block equations:
$$a^*=x-b^*$$
diff --git a/docs/content/en/functions/lang/FormatNumberCustom.md b/docs/content/en/functions/lang/FormatNumberCustom.md
index 5b24aa2c1..603f42087 100644
--- a/docs/content/en/functions/lang/FormatNumberCustom.md
+++ b/docs/content/en/functions/lang/FormatNumberCustom.md
@@ -15,7 +15,7 @@ action:
aliases: ['/functions/numfmt/']
---
-This function formats a number with the given precision. The first options parameter is a space-delimited string of characters to represent negativity, the decimal point, and grouping. The default value is `- . ,`. The second options parameter defines an alternate delimiting character.
+This function formats a number with the given precision. The first options parameter is a space-delimited string of characters to represent negativity, the decimal point, and grouping. The default value is `- . ,`. The second options parameter defines an alternative delimiting character.
Note that numbers are rounded up at 5 or greater. So, with precision set to 0, 1.5 becomes 2, and 1.4 becomes&nbsp;1.
diff --git a/docs/content/en/getting-started/configuration-markup.md b/docs/content/en/getting-started/configuration-markup.md
index bcc997519..3853a3a6a 100644
--- a/docs/content/en/getting-started/configuration-markup.md
+++ b/docs/content/en/getting-started/configuration-markup.md
@@ -21,7 +21,7 @@ Hugo uses [Goldmark] to render Markdown to HTML.
defaultMarkdownHandler = 'goldmark'
{{< /code-toggle >}}
-Files with the `.md` or `.markdown` extension are processed as Markdown, provided that you have not specified a different [content format] using the `markup` field in front matter.
+Files with a `.md`, `.mdown`, or `.markdown` extension are processed as Markdown, provided that you have not specified a different [content format] using the `markup` field in front matter.
To use a different renderer for Markdown files, specify one of `asciidocext`, `org`, `pandoc`, or `rst` in your site configuration.
@@ -36,7 +36,7 @@ defaultMarkdownHandler|Description
To use AsciiDoc, Pandoc, or reStructuredText you must install the relevant renderer and update your [security policy].
{{% note %}}
-Unless you need a unique capability provided by one of the alternate Markdown handlers, we strongly recommend that you use the default setting. Goldmark is fast, well maintained, conforms to the [CommonMark] specification, and is compatible with [GitHub Flavored Markdown] (GFM).
+Unless you need a unique capability provided by one of the alternative Markdown handlers, we strongly recommend that you use the default setting. Goldmark is fast, well maintained, conforms to the [CommonMark] specification, and is compatible with [GitHub Flavored Markdown] (GFM).
[commonmark]: https://spec.commonmark.org/0.30/
[github flavored markdown]: https://github.github.com/gfm/
diff --git a/docs/content/en/hugo-pipes/transpile-sass-to-css.md b/docs/content/en/hugo-pipes/transpile-sass-to-css.md
index df7eaa2a9..67ef4b7cd 100644
--- a/docs/content/en/hugo-pipes/transpile-sass-to-css.md
+++ b/docs/content/en/hugo-pipes/transpile-sass-to-css.md
@@ -62,7 +62,7 @@ precision
enableSourceMap
: (`bool`) If `true`, generates a source map.
-sourceMapIncludeSources {{< new-in 0.108.0 >}}
+sourceMapIncludeSources
: (`bool`) If `true`, embeds sources in the generated source map. Not applicable to LibSass.
includePaths
diff --git a/docs/content/en/methods/duration/Truncate.md b/docs/content/en/methods/duration/Truncate.md
index 795fcad76..78cddc27a 100644
--- a/docs/content/en/methods/duration/Truncate.md
+++ b/docs/content/en/methods/duration/Truncate.md
@@ -5,7 +5,6 @@ categories: []
keywords: []
action:
related:
- related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: time.Duration
diff --git a/docs/content/en/methods/shortcode/Inner.md b/docs/content/en/methods/shortcode/Inner.md
index a428720d7..2814bcc2a 100644
--- a/docs/content/en/methods/shortcode/Inner.md
+++ b/docs/content/en/methods/shortcode/Inner.md
@@ -11,6 +11,7 @@ action:
- methods/shortcode/InnerDeindent
returnType: template.HTML
signatures: [SHORTCODE.Inner]
+toc: true
---
This content:
@@ -56,7 +57,7 @@ In the example above, the value returned by `Inner` is Markdown, but it was rend
{{% /note %}}
-## Use the RenderString method
+## Use RenderString
Let's modify the example above to pass the value returned by `Inner` through the [`RenderString`] method on the `Page` object:
@@ -89,7 +90,7 @@ You can use the [`markdownify`] function instead of the `RenderString` method, b
[details]: /methods/page/renderstring/
[`markdownify`]: /functions/transform/markdownify/
-## Use alternate notation
+## Alternative notation
Instead of calling the shortcode with the `{{</* */>}}` notation, use the `{{%/* */%}}` notation: