]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
Squashed 'docs/' changes from 159c843fd..227aab619
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 18 Nov 2024 09:11:17 +0000 (10:11 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 18 Nov 2024 09:11:17 +0000 (10:11 +0100)
227aab619 Update configuration-markup.md
019ff776c Fix grammatical error
c889827bf Remove old new-in
39807c5bc Remove duplicate yaml key

git-subtree-dir: docs
git-subtree-split: 227aab61905c0f778d173ed9e38621df4d7c429a

content/en/content-management/archetypes.md
content/en/content-management/mathematics.md
content/en/functions/lang/FormatNumberCustom.md
content/en/getting-started/configuration-markup.md
content/en/hugo-pipes/transpile-sass-to-css.md
content/en/methods/duration/Truncate.md
content/en/methods/shortcode/Inner.md

index f89c3f6b3854bd3557136399fb29851312ee48e9..acf101fda15d35e68cfe16e92c0f3c9552350f2c 100644 (file)
@@ -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:
 
index a01a166dce1b944b24e4886c9f0e07218809eb25..3212fe251c16d76eafc9137f1ceb695d5f3a2226 100644 (file)
@@ -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^*$$
 
index 5b24aa2c1169825b1f440e0a61fe6a8ca2c5e831..603f42087139c660436ce387a382dc0110811e6f 100644 (file)
@@ -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.
 
index bcc997519276cb4424ab1f9aeca0af535c30232b..3853a3a6a26c66439f16d69ab5a5f0dd0ff00c47 100644 (file)
@@ -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/
index df7eaa2a913e249b597a5995114e77b8cf0e5449..67ef4b7cdc7a00ae8702cdbbf83d9b8d74bdf348 100644 (file)
@@ -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
index 795fcad769552063c23362ae9ce4239dc7443bb2..78cddc27a94b6fc581138bb299d82464481e4c7a 100644 (file)
@@ -4,7 +4,6 @@ description: Returns the result of rounding DURATION1 toward zero to a multiple
 categories: []
 keywords: []
 action:
-  related:
   related:
     - functions/time/Duration
     - functions/time/ParseDuration
index a428720d739e8badffc89846ccf11bd62b6edf82..2814bcc2aba2d35102c75a481e8e6530961b0b76 100644 (file)
@@ -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: