Adjust front matter of shared Markdown snippets

This commit is contained in:
Joe Mooring 2024-11-19 18:02:30 -08:00 committed by GitHub
parent da5bd70d18
commit 1985886bd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
33 changed files with 33 additions and 33 deletions

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
| Kind | Description | Example |

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Path|Pattern|Match

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Hugo uses Go's [text/template] and [html/template] packages.

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
{{% note %}}

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
When specifying the regular expression, use a raw [string literal] (backticks) instead of an interpreted string literal (double quotes) to simplify the syntax. With an interpreted string literal you must escape backslashes.

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Format a `time.Time` value based on [Go's reference time]:

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
The documentation for Go's [fmt] package describes the structure and content of the format string.

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
See Go's [text/template] documentation for more information.

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
The falsy values are `false`, `0`, any `nil` pointer or interface value, any array, slice, map, or string of length zero, and zero `time.Time` values.

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Apply the filter using the [`images.Filter`] function:

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
If you are a Windows user, and the path to your project contains a space, you must place the PostCSS configuration within the package.json file. See [this example] and issue [#7333].

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Format|Time zone

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
The [`anchorize`] and [`urlize`] functions are similar:

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Hugo is available in three editions: standard, extended, and extended/deploy. While the standard edition provides core functionality, the extended and extended/deploy editions offer advanced features.

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
## Prerequisites

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
## Prebuilt binaries

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
## Build from source

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
### Homebrew

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
In this site configuration we enable rendering of [emoji shortcodes], and add emoji shortcodes before (pre) and after (post) each menu entry:

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
A _section_ is a top-level content directory, or any content directory with an _index.md file.

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Hugo determines the _next_ and _previous_ page by sorting the site's collection of regular pages according to this sorting hierarchy:

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Hugo determines the _next_ and _previous_ page by sorting the current section's regular pages according to this sorting hierarchy:

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Hugo generates one or more files per page when building a site. For example, when rendering home, [section], [taxonomy], and [term] pages, Hugo generates an HTML file and an RSS file. Both HTML and RSS are built-in _output formats_. Create multiple output formats, and control generation based on [page kind], or by enabling one or more output formats for one or more pages. See [details].

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Get IDENTIFIER

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
## Methods

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
For the optional sort order, specify either `asc` for ascending order, or `desc` for descending order.

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Hugo determines the _next_ and _previous_ page by sorting the page collection according to this sorting hierarchy:

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
{{% note %}}

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
## Process specification

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
Before we can use a `Taxonomy` method, we need to capture a `Taxonomy` object.

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
An ordered taxonomy is a slice, where each element is an object that contains the term and a slice of its weighted pages.

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
## PageInner details

View File

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
{{% note %}}