Skip to content

Commit

Permalink
Adjust front matter of shared Markdown snippets
Browse files Browse the repository at this point in the history
Closes #2773
  • Loading branch information
jmooring committed Nov 20, 2024
1 parent da5bd70 commit fa5313e
Show file tree
Hide file tree
Showing 33 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion content/en/content-management/_common/page-kinds.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

| Kind | Description | Example |
Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/_common/glob-patterns.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

Path|Pattern|Match
Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/_common/go-html-template-package.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/_common/locales.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

{{% note %}}
Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/_common/regular-expressions.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/_common/time-layout-string.md
Original file line number Diff line number Diff line change
@@ -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]:
Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/fmt/_common/fmt-layout.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/go-template/_common/text-template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

See Go's [text/template] documentation for more information.
Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/go-template/_common/truthy-falsy.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/images/_common/apply-image-filter.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

Apply the filter using the [`images.Filter`] function:
Expand Down
Original file line number Diff line number Diff line change
@@ -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].
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

Format|Time zone
Expand Down
2 changes: 1 addition & 1 deletion content/en/functions/urls/_common/anchorize-vs-urlize.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

The [`anchorize`] and [`urlize`] functions are similar:
Expand Down
2 changes: 1 addition & 1 deletion content/en/installation/_common/01-editions.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion content/en/installation/_common/02-prerequisites.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

## Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion content/en/installation/_common/03-prebuilt-binaries.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

## Prebuilt binaries
Expand Down
2 changes: 1 addition & 1 deletion content/en/installation/_common/04-build-from-source.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

## Build from source
Expand Down
2 changes: 1 addition & 1 deletion content/en/installation/_common/homebrew.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

### Homebrew
Expand Down
2 changes: 1 addition & 1 deletion content/en/methods/menu-entry/_common/pre-post.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion content/en/methods/page/_common/definition-of-section.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion content/en/methods/page/_common/next-and-prev.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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].

Expand Down
2 changes: 1 addition & 1 deletion content/en/methods/page/_common/output-format-methods.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

Get IDENTIFIER
Expand Down
2 changes: 1 addition & 1 deletion content/en/methods/page/_common/scratch-methods.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

## Methods
Expand Down
2 changes: 1 addition & 1 deletion content/en/methods/pages/_common/group-sort-order.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion content/en/methods/pages/_common/next-and-prev.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

{{% note %}}
Expand Down
2 changes: 1 addition & 1 deletion content/en/methods/resource/_common/processing-spec.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

## Process specification
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion content/en/render-hooks/_common/pageinner.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

## PageInner details
Expand Down
2 changes: 1 addition & 1 deletion content/en/templates/_common/filter-sort-group.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---

{{% note %}}
Expand Down

0 comments on commit fa5313e

Please sign in to comment.