diff --git a/content/en/methods/time/Round.md b/content/en/methods/time/Round.md index 816d41b44..afda0e294 100644 --- a/content/en/methods/time/Round.md +++ b/content/en/methods/time/Round.md @@ -15,7 +15,7 @@ The `Round` method operates on TIME as an absolute duration since the [zero time ```go-html-template {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} -{{ $d := time.ParseDuration "1h"}} +{{ $d := time.ParseDuration "1h" }} {{ ($t.Round $d).Format "2006-01-02T15:04:05-00:00" }} → 2023-01-28T00:00:00-00:00 ``` diff --git a/content/en/methods/time/Truncate.md b/content/en/methods/time/Truncate.md index b797afec0..b90c3847f 100644 --- a/content/en/methods/time/Truncate.md +++ b/content/en/methods/time/Truncate.md @@ -13,7 +13,7 @@ The `Truncate` method operates on TIME as an absolute duration since the [zero t ```go-html-template {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} -{{ $d := time.ParseDuration "1h"}} +{{ $d := time.ParseDuration "1h" }} {{ ($t.Truncate $d).Format "2006-01-02T15:04:05-00:00" }} → 2023-01-27T23:00:00-00:00 ``` diff --git a/content/en/quick-reference/glossary/raw-string-literal.md b/content/en/quick-reference/glossary/raw-string-literal.md index 7465c6837..a3ceabe10 100644 --- a/content/en/quick-reference/glossary/raw-string-literal.md +++ b/content/en/quick-reference/glossary/raw-string-literal.md @@ -3,4 +3,4 @@ title: raw string literal reference: https://go.dev/ref/spec#String_literals --- -A _raw string literal_ is a character sequences between backticks, as in \`bar\`. Within the backticks, any character may appear except a backtick. Backslashes have no special meaning and the string may contain newlines. Carriage return characters (`\r`) inside raw string literals are discarded from the raw string value. +A _raw string literal_ is a character sequence between backticks, as in \`bar\`. Within the backticks, any character may appear except a backtick. Backslashes have no special meaning and the string may contain newlines. Carriage return characters (`\r`) inside raw string literals are discarded from the raw string value. diff --git a/data/page_filters.yaml b/data/page_filters.yaml index 82de6168e..e515f843d 100644 --- a/data/page_filters.yaml +++ b/data/page_filters.yaml @@ -1,4 +1,4 @@ -# Do not delete. Required for layouts/shortcodes/list-pages-in-section.html. +# Do not delete. Required for layouts/_shortcodes/list-pages-in-section.html. # # When calling the list-pages-in-section shortcode, you can specify a page # filter, and whether the pages in the filter should be included or excluded