Skip to content

Commit

Permalink
Fix grammatical error
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring authored Nov 14, 2024
1 parent c889827 commit 019ff77
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions content/en/content-management/archetypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion content/en/content-management/mathematics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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^*$$

Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/lang/FormatNumberCustom.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.

Expand Down
2 changes: 1 addition & 1 deletion content/en/getting-started/configuration-markup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
5 changes: 3 additions & 2 deletions content/en/methods/shortcode/Inner.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ action:
- methods/shortcode/InnerDeindent
returnType: template.HTML
signatures: [SHORTCODE.Inner]
toc: true
---

This content:
Expand Down Expand Up @@ -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:

Expand Down Expand Up @@ -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:

Expand Down

0 comments on commit 019ff77

Please sign in to comment.