diff --git a/.cspell.json b/.cspell.json index 6596a160c..8d51085ab 100644 --- a/.cspell.json +++ b/.cspell.json @@ -68,6 +68,7 @@ "# ----------------------------------------------------------------------", "# cspell: ignore hugo terminology", "# ----------------------------------------------------------------------", + "alignx", "attrlink", "canonify", "codeowners", @@ -85,6 +86,7 @@ "stringifier", "struct", "toclevels", + "unmarshal", "unpublishdate", "zgotmplz", "# ----------------------------------------------------------------------", @@ -158,6 +160,8 @@ "# cspell: ignore miscellaneous", "# ----------------------------------------------------------------------", "achristie", + "ccpa", + "crpa", "ddmaurier", "dring", "fleqn", @@ -171,6 +175,7 @@ "rsmith", "tdewolff", "tjones", + "vcard", "wcag", "xfeff" ] diff --git a/content/en/quick-reference/glossary/action.md b/content/en/quick-reference/glossary/action.md index b38df744f..ced877327 100644 --- a/content/en/quick-reference/glossary/action.md +++ b/content/en/quick-reference/glossary/action.md @@ -2,4 +2,4 @@ title: action --- -See [template action](g). +See [_template action_](g). diff --git a/content/en/quick-reference/glossary/array.md b/content/en/quick-reference/glossary/array.md index b75f5ca2e..0df45f212 100644 --- a/content/en/quick-reference/glossary/array.md +++ b/content/en/quick-reference/glossary/array.md @@ -1,5 +1,6 @@ --- title: array +reference: https://go.dev/ref/spec#Array_types --- An _array_ is a numbered sequence of [_elements_](g). Unlike Go's [_slice_](g) data type, an array has a fixed length. Elements within an array can be [_scalars_](g), slices, [_maps_](g), pages, or other arrays. diff --git a/content/en/quick-reference/glossary/bool.md b/content/en/quick-reference/glossary/bool.md index 7fd7628ca..a4f33b5b9 100644 --- a/content/en/quick-reference/glossary/bool.md +++ b/content/en/quick-reference/glossary/bool.md @@ -2,4 +2,4 @@ title: bool --- -See [boolean](g). +See [_boolean_](g). diff --git a/content/en/quick-reference/glossary/chain.md b/content/en/quick-reference/glossary/chain.md index b54c09315..bbbc14f49 100644 --- a/content/en/quick-reference/glossary/chain.md +++ b/content/en/quick-reference/glossary/chain.md @@ -2,4 +2,4 @@ title: chain --- -Within a template, to connect one or more [identifiers](g) with a dot. An identifier can represent a method, object, or field. For example, `.Site.Params.author.name` or `.Date.UTC.Hour`. +To _chain_ is to connect one or more [_identifiers_](g) with a dot. An identifier can represent a [_method_](g), [_object_](g), or [_field_](g). For example, `.Site.Params.author.name` or `.Date.UTC.Hour`. diff --git a/content/en/quick-reference/glossary/cjk.md b/content/en/quick-reference/glossary/cjk.md index 16bd226cb..05a294d44 100644 --- a/content/en/quick-reference/glossary/cjk.md +++ b/content/en/quick-reference/glossary/cjk.md @@ -2,4 +2,4 @@ title: CJK --- -A collective term for the Chinese, Japanese, and Korean languages. +_CJK_ is a collective term for the Chinese, Japanese, and Korean languages. diff --git a/content/en/quick-reference/glossary/cli.md b/content/en/quick-reference/glossary/cli.md index 11602f7e3..61269dc8e 100644 --- a/content/en/quick-reference/glossary/cli.md +++ b/content/en/quick-reference/glossary/cli.md @@ -2,4 +2,4 @@ title: CLI --- -Command line interface. +_CLI_ is an abbreviation of Command Line Interface. diff --git a/content/en/quick-reference/glossary/collection.md b/content/en/quick-reference/glossary/collection.md index 8ff962447..30e1ef805 100644 --- a/content/en/quick-reference/glossary/collection.md +++ b/content/en/quick-reference/glossary/collection.md @@ -2,4 +2,4 @@ title: collection --- -An [array](g), [slice](g), or [map](g). +A _collection_ is an [_array_](g), [_slice_](g), or [_map_](g). diff --git a/content/en/quick-reference/glossary/content-adapter.md b/content/en/quick-reference/glossary/content-adapter.md index 88f51668b..974e61dca 100644 --- a/content/en/quick-reference/glossary/content-adapter.md +++ b/content/en/quick-reference/glossary/content-adapter.md @@ -3,4 +3,4 @@ title: content adapter reference: /content-management/content-adapters --- -A template that dynamically creates pages when building a site. For example, use a content adapter to create pages from a remote data source such as JSON, TOML, YAML, or XML. +A _content adapter_ is a template that dynamically creates pages when building a site. For example, use a content adapter to create pages from a remote data source such as JSON, TOML, YAML, or XML. diff --git a/content/en/quick-reference/glossary/content-format.md b/content/en/quick-reference/glossary/content-format.md index 2d69acdba..ea459deb7 100644 --- a/content/en/quick-reference/glossary/content-format.md +++ b/content/en/quick-reference/glossary/content-format.md @@ -3,4 +3,4 @@ title: content format reference: /content-management/formats --- -A markup language for creating content. Typically Markdown, but may also be HTML, AsciiDoc, Org, Pandoc, or reStructuredText. +A _content format_ is a markup language for creating content. Typically Markdown, but may also be HTML, AsciiDoc, Org, Pandoc, or reStructuredText. diff --git a/content/en/quick-reference/glossary/content-type.md b/content/en/quick-reference/glossary/content-type.md index 6e29e7fa3..b7ebc5be4 100644 --- a/content/en/quick-reference/glossary/content-type.md +++ b/content/en/quick-reference/glossary/content-type.md @@ -3,4 +3,4 @@ title: content type reference: /content-management/types --- -A classification of content inferred from the top-level directory name or the `type` set in [front matter](g). Pages in the root of the `content` directory, including the home page, are of type "page". Accessed via `.Page.Type` in [templates](g). +A _content type_ is a classification of content inferred from the top-level directory name or the `type` set in [front matter](g). Pages in the root of the `content` directory, including the home page, are of type "page". Accessed via `.Page.Type` in [_templates_](g). diff --git a/content/en/quick-reference/glossary/content-view.md b/content/en/quick-reference/glossary/content-view.md index 20230f924..009981cb5 100644 --- a/content/en/quick-reference/glossary/content-view.md +++ b/content/en/quick-reference/glossary/content-view.md @@ -3,4 +3,4 @@ title: content view reference: /templates/content-view --- -A template called with the `.Page.Render` method. +A _content view_ is a template called with the [`Render`](/methods/page/render/) method on a `Page` object. diff --git a/content/en/quick-reference/glossary/context.md b/content/en/quick-reference/glossary/context.md index 7589399f9..ec39216c4 100644 --- a/content/en/quick-reference/glossary/context.md +++ b/content/en/quick-reference/glossary/context.md @@ -3,4 +3,4 @@ title: context reference: /templates/introduction/#context --- -Represented by a dot "." within a [template action](g), context is the current location in a data structure. For example, while iterating over a [collection](g) of pages, the context within each iteration is the page's data structure. The context received by each template depends on template type and/or how it was called. +Represented by a dot "." within a [_template action_](g), _context_ is the current location in a data structure. For example, while iterating over a [_collection_](g) of pages, the context within each iteration is the page's data structure. The context received by each template depends on template type and/or how it was called. diff --git a/content/en/quick-reference/glossary/default-sort-order.md b/content/en/quick-reference/glossary/default-sort-order.md index c0f55fbf6..2b5588d56 100644 --- a/content/en/quick-reference/glossary/default-sort-order.md +++ b/content/en/quick-reference/glossary/default-sort-order.md @@ -2,4 +2,4 @@ title: default sort order --- -The default sort order for page collections. Hugo sorts by [weight](g), then by date (descending), then by link title, and then by file path. +The _default sort order_ is the default order in which Hugo sorts page collections: by [_weight_](g), then by date (descending), then by link title, and then by file path. diff --git a/content/en/quick-reference/glossary/embedded-template.md b/content/en/quick-reference/glossary/embedded-template.md index b514040d3..3a0871690 100644 --- a/content/en/quick-reference/glossary/embedded-template.md +++ b/content/en/quick-reference/glossary/embedded-template.md @@ -2,4 +2,4 @@ title: embedded template --- -An _embedded template_ is a built-in component within the Hugo application. This includes features like [partials](g), [shortcodes](g), and [render hooks](g) that provide pre-defined structures or functionalities for creating website content. +An _embedded template_ is a built-in component within the Hugo application. This includes features like [_partials_](g), [_shortcodes_](g), and [_render hooks_](g) that provide pre-defined structures or functionalities for creating website content. diff --git a/content/en/quick-reference/glossary/environment.md b/content/en/quick-reference/glossary/environment.md index 9479605cd..6605c2263 100644 --- a/content/en/quick-reference/glossary/environment.md +++ b/content/en/quick-reference/glossary/environment.md @@ -2,7 +2,7 @@ title: environment --- -Typically one of `development`, `staging`, or `production`, each environment may exhibit different behavior depending on configuration and template logic. For example, in a production environment you might minify and fingerprint CSS, but that probably doesn't make sense in a development environment. +Typically one of `development`, `staging`, or `production`, each _environment_ may exhibit different behavior depending on configuration and template logic. For example, in a production environment you might minify and fingerprint CSS, but that probably doesn't make sense in a development environment. When running the built-in development server with the `hugo server` command, the environment is set to `development`. When building your site with the `hugo` command, the environment is set to `production`. To override the environment value, use the `--environment` command line flag or the `HUGO_ENVIRONMENT` environment variable. diff --git a/content/en/quick-reference/glossary/flag.md b/content/en/quick-reference/glossary/flag.md index d23936745..e7b6c5746 100644 --- a/content/en/quick-reference/glossary/flag.md +++ b/content/en/quick-reference/glossary/flag.md @@ -3,4 +3,4 @@ title: flag reference: /commands/hugo --- -An option passed to a command-line program, beginning with one or two hyphens. +A _flag_ is an option passed to a command-line program, beginning with one or two hyphens. diff --git a/content/en/quick-reference/glossary/floating-point.md b/content/en/quick-reference/glossary/floating-point.md index cdf5a2294..38ba9f012 100644 --- a/content/en/quick-reference/glossary/floating-point.md +++ b/content/en/quick-reference/glossary/floating-point.md @@ -2,4 +2,4 @@ title: floating point --- -A numeric data type with a fractional component. For example, `3.14159`. +The term _floating point_ refers to a numeric data type with a fractional component. For example, `3.14159`. diff --git a/content/en/quick-reference/glossary/fragment.md b/content/en/quick-reference/glossary/fragment.md index b1e3fd7eb..57ef1b4ef 100644 --- a/content/en/quick-reference/glossary/fragment.md +++ b/content/en/quick-reference/glossary/fragment.md @@ -2,4 +2,4 @@ title: fragment --- -The final segment of a URL, beginning with a hash (`#`) mark, that references an `id` attribute of an HTML element on the page. +A _fragment_ is the final segment of a URL, beginning with a hash (`#`) mark, that references an `id` attribute of an HTML element on the page. diff --git a/content/en/quick-reference/glossary/front-matter.md b/content/en/quick-reference/glossary/front-matter.md index f7faab409..5a3cd3040 100644 --- a/content/en/quick-reference/glossary/front-matter.md +++ b/content/en/quick-reference/glossary/front-matter.md @@ -3,4 +3,4 @@ title: front matter reference: /content-management/front-matter --- -Metadata at the beginning of each content page, separated from the content by format-specific delimiters. +The term _front matter_ refers to the metadata at the beginning of each content page, separated from the content by format-specific delimiters. diff --git a/content/en/quick-reference/glossary/function.md b/content/en/quick-reference/glossary/function.md index 8aaee0473..a7da52cd2 100644 --- a/content/en/quick-reference/glossary/function.md +++ b/content/en/quick-reference/glossary/function.md @@ -3,4 +3,4 @@ title: function reference: /functions --- -Used within a [template action](g), a function takes one or more [arguments](g) and returns a value. Unlike [methods](g), functions are not associated with an [object](g). +Used within a [_template action_](g), a _function_ takes one or more [_arguments_](g) and returns a value. Unlike [_methods_](g), functions are not associated with an [_object_](g). diff --git a/content/en/quick-reference/glossary/global-resource.md b/content/en/quick-reference/glossary/global-resource.md index 1ca42a6ec..a4df65f67 100644 --- a/content/en/quick-reference/glossary/global-resource.md +++ b/content/en/quick-reference/glossary/global-resource.md @@ -2,9 +2,4 @@ title: global resource --- -A file within the `assets` directory, or within any directory mounted to the `assets` directory. Capture one or more global resources using the [`resources.Get`], [`resources.GetMatch`], [`resources.Match`], or [`resources.ByType`] functions. - -[`resources.Get`]: /functions/resources/get/ -[`resources.GetMatch`]: /functions/resources/getmatch/ -[`resources.Match`]: /functions/resources/match/ -[`resources.ByType`]: /functions/resources/byType/ +A _global resource_ is file within the `assets` directory, or within any directory mounted to the `assets` directory. diff --git a/content/en/quick-reference/glossary/headless-bundle.md b/content/en/quick-reference/glossary/headless-bundle.md index 60da816af..229d30894 100644 --- a/content/en/quick-reference/glossary/headless-bundle.md +++ b/content/en/quick-reference/glossary/headless-bundle.md @@ -1,5 +1,6 @@ --- title: headless bundle +reference: /content-management/build-options/ --- -An unpublished leaf or branch bundle whose content and resources you can include in other pages. See [build options](/content-management/build-options/). +A _headless bundle_ is an unpublished leaf or branch bundle whose content and resources you can include in other pages. diff --git a/content/en/quick-reference/glossary/i18n.md b/content/en/quick-reference/glossary/i18n.md new file mode 100644 index 000000000..168828aa8 --- /dev/null +++ b/content/en/quick-reference/glossary/i18n.md @@ -0,0 +1,5 @@ +--- +title: i18n +--- + +See [_internationalization_](g). diff --git a/content/en/quick-reference/glossary/identifier.md b/content/en/quick-reference/glossary/identifier.md index eeb17dbf5..f53472fa7 100644 --- a/content/en/quick-reference/glossary/identifier.md +++ b/content/en/quick-reference/glossary/identifier.md @@ -2,4 +2,4 @@ title: identifier --- -A string that represents a variable, method, object, or field. It must conform to Go's [language specification](https://go.dev/ref/spec#Identifiers), beginning with a letter or underscore, followed by zero or more letters, digits, or underscores. +An _identifier_ is a string that represents a variable, method, object, or field. It must conform to Go's [language specification](https://go.dev/ref/spec#Identifiers), beginning with a letter or underscore, followed by zero or more letters, digits, or underscores. diff --git a/content/en/quick-reference/glossary/int.md b/content/en/quick-reference/glossary/int.md index 1077ee5e0..0896f1ce7 100644 --- a/content/en/quick-reference/glossary/int.md +++ b/content/en/quick-reference/glossary/int.md @@ -2,4 +2,4 @@ title: int --- -See [integer](g). +See [_integer_](g). diff --git a/content/en/quick-reference/glossary/integer.md b/content/en/quick-reference/glossary/integer.md index aa61f248f..0af821300 100644 --- a/content/en/quick-reference/glossary/integer.md +++ b/content/en/quick-reference/glossary/integer.md @@ -2,4 +2,4 @@ title: integer --- -A numeric data type without a fractional component. For example, `42`. +An _integer_ is a numeric data type without a fractional component. For example, `42`. diff --git a/content/en/quick-reference/glossary/internationalization.md b/content/en/quick-reference/glossary/internationalization.md index aa65f8ffb..4e8b0199c 100644 --- a/content/en/quick-reference/glossary/internationalization.md +++ b/content/en/quick-reference/glossary/internationalization.md @@ -2,4 +2,4 @@ title: internationalization --- -Software design and development efforts that enable [localization](g). See the [W3C definition](https://www.w3.org/International/questions/qa-i18n). Abbreviated i18n. +The term _internationalization_ refers to software design and development efforts that enable [_localization_](g). diff --git a/content/en/quick-reference/glossary/interpreted-string-literal.md b/content/en/quick-reference/glossary/interpreted-string-literal.md index 714593dfa..a5d2cd326 100644 --- a/content/en/quick-reference/glossary/interpreted-string-literal.md +++ b/content/en/quick-reference/glossary/interpreted-string-literal.md @@ -1,5 +1,6 @@ --- title: interpreted string literal +reference: https://go.dev/ref/spec#String_literals --- -An _interpreted string literal_ is a character sequences between double quotes, as in "foo". Within the quotes, any character may appear except a newline and an unescaped double quote. The text between the quotes forms the value of the literal, with backslash escapes interpreted. See [details](https://go.dev/ref/spec#String_literals). +An _interpreted string literal_ is a character sequences between double quotes, as in "foo". Within the quotes, any character may appear except a newline and an unescaped double quote. The text between the quotes forms the value of the literal, with backslash escapes interpreted. diff --git a/content/en/quick-reference/glossary/interval.md b/content/en/quick-reference/glossary/interval.md index ad19a402e..f1ce7bc93 100644 --- a/content/en/quick-reference/glossary/interval.md +++ b/content/en/quick-reference/glossary/interval.md @@ -2,10 +2,10 @@ title: interval --- -An [interval](https://en.wikipedia.org/wiki/Interval_(mathematics)) is a range of numbers between two endpoints: closed, open, or half-open. +An [_interval_](https://en.wikipedia.org/wiki/Interval_(mathematics)) is a range of numbers between two endpoints: closed, open, or half-open. -- A _closed_ interval, denoted by brackets, includes its endpoints. For example, [0, 1] is the interval where `0 <= x <= 1`. +- A _closed interval_, denoted by brackets, includes its endpoints. For example, [0, 1] is the interval where `0 <= x <= 1`. -- An _open_ interval, denoted by parentheses, excludes its endpoints. For example, (0, 1) is the interval where `0 < x < 1`. +- An _open interval_, denoted by parentheses, excludes its endpoints. For example, (0, 1) is the interval where `0 < x < 1`. -- A _half-open_ interval includes only one of its endpoints. For example, (0, 1] is the _left-open_ interval where `0 < x <= 1`, while [0, 1) is the _right-open_ interval where `0 <= x < 1`. +- A _half-open interval_ includes only one of its endpoints. For example, (0, 1] is the _left-open_ interval where `0 < x <= 1`, while [0, 1) is the _right-open_ interval where `0 <= x < 1`. diff --git a/content/en/quick-reference/glossary/kind.md b/content/en/quick-reference/glossary/kind.md index 1434e55c5..a214dfbf1 100644 --- a/content/en/quick-reference/glossary/kind.md +++ b/content/en/quick-reference/glossary/kind.md @@ -2,4 +2,4 @@ title: kind --- -See [page kind](g). +See [_page kind_](g). diff --git a/content/en/quick-reference/glossary/l10n.md b/content/en/quick-reference/glossary/l10n.md new file mode 100644 index 000000000..013d0ab55 --- /dev/null +++ b/content/en/quick-reference/glossary/l10n.md @@ -0,0 +1,5 @@ +--- +title: l10n +--- + +See [_localization_](g). diff --git a/content/en/quick-reference/glossary/layout.md b/content/en/quick-reference/glossary/layout.md index 706e9439d..a4e6b33f1 100644 --- a/content/en/quick-reference/glossary/layout.md +++ b/content/en/quick-reference/glossary/layout.md @@ -2,4 +2,4 @@ title: layout --- -See [template](g). +See [_template_](g). diff --git a/content/en/quick-reference/glossary/leaf-bundle.md b/content/en/quick-reference/glossary/leaf-bundle.md index 664976296..a8eb03433 100644 --- a/content/en/quick-reference/glossary/leaf-bundle.md +++ b/content/en/quick-reference/glossary/leaf-bundle.md @@ -1,5 +1,6 @@ --- title: leaf bundle +reference: /content-management/page-bundles/ --- -A directory that contains an `index.md` file and zero or more [resources](g). Analogous to a physical leaf, a leaf bundle is at the end of a branch. It has no descendants. See [details](/content-management/page-bundles/). +A _leaf bundle_ is a directory that contains an `index.md` file and zero or more [_resources_](g). Analogous to a physical leaf, a leaf bundle is at the end of a branch. It has no descendants. diff --git a/content/en/quick-reference/glossary/lexer.md b/content/en/quick-reference/glossary/lexer.md index 93d2ed6c5..a46223148 100644 --- a/content/en/quick-reference/glossary/lexer.md +++ b/content/en/quick-reference/glossary/lexer.md @@ -2,4 +2,4 @@ title: lexer --- -A software component that identifies keywords, identifiers, operators, numbers, and other basic building blocks of a programming language within the input text. +A _lexer_ is a software component that identifies keywords, identifiers, operators, numbers, and other basic building blocks of a programming language within the input text. diff --git a/content/en/quick-reference/glossary/list-page.md b/content/en/quick-reference/glossary/list-page.md index f17e0ac69..b58ee4a35 100644 --- a/content/en/quick-reference/glossary/list-page.md +++ b/content/en/quick-reference/glossary/list-page.md @@ -2,4 +2,4 @@ title: list page --- -Any [page kind](g) that receives a page [collection](g) in [context](g). This includes the home page, [section pages](g), [taxonomy pages](g), and [term pages](g). +A list page is any [_page kind_](g) that receives a page [_collection_](g) in [_context_](g). This includes the home page, [section pages](g), [taxonomy pages](g), and [term pages](g). diff --git a/content/en/quick-reference/glossary/list-template.md b/content/en/quick-reference/glossary/list-template.md index e3283ff71..9a12a275f 100644 --- a/content/en/quick-reference/glossary/list-template.md +++ b/content/en/quick-reference/glossary/list-template.md @@ -2,4 +2,4 @@ title: list template --- -Any template that renders a [list page](g). This includes [home](/templates/types/#home), [section](/templates/types/#section), [taxonomy](/templates/types/#taxonomy), and [term](/templates/types/#term) templates. +A _list template_ is any [_template_](g) that renders a [_list page_](g). This includes home, [_section_](g), [_taxonomy_](g), and [_term_](g) templates. diff --git a/content/en/quick-reference/glossary/localization.md b/content/en/quick-reference/glossary/localization.md index d03dedd9e..01f450635 100644 --- a/content/en/quick-reference/glossary/localization.md +++ b/content/en/quick-reference/glossary/localization.md @@ -1,5 +1,6 @@ --- title: localization +reference: /content-management/multilingual/ --- -Adaptation of a site to meet language and regional requirements. This includes translations, language-specific media, date and currency formats, etc. See [details](/content-management/multilingual/) and the [W3C definition](https://www.w3.org/International/questions/qa-i18n). Abbreviated l10n. +The term _localization_ refers to the process of adapting a site to meet language and regional requirements. This includes translations, date formats, number formats, currency formats, and collation order. diff --git a/content/en/quick-reference/glossary/logical-path.md b/content/en/quick-reference/glossary/logical-path.md index e5b732cde..aa5ce9374 100644 --- a/content/en/quick-reference/glossary/logical-path.md +++ b/content/en/quick-reference/glossary/logical-path.md @@ -1,7 +1,8 @@ --- title: logical path +reference: /methods/page/path/#examples --- {{< new-in 0.123.0 />}} -A page or page resource identifier derived from the file path, excluding its extension and language identifier. This value is neither a file path nor a URL. Starting with a file path relative to the `content` directory, Hugo determines the logical path by stripping the file extension and language identifier, converting to lower case, then replacing spaces with hyphens. See [examples](/methods/page/path/#examples). +A _logical path_ is a page or page resource identifier derived from the file path, excluding its extension and language identifier. This value is neither a file path nor a URL. Starting with a file path relative to the `content` directory, Hugo determines the logical path by stripping the file extension and language identifier, converting to lower case, then replacing spaces with hyphens. diff --git a/content/en/quick-reference/glossary/map.md b/content/en/quick-reference/glossary/map.md index aa80357d9..b4605d20b 100644 --- a/content/en/quick-reference/glossary/map.md +++ b/content/en/quick-reference/glossary/map.md @@ -1,5 +1,6 @@ --- title: map +reference: https://go.dev/ref/spec#Map_types --- -An unordered group of elements, each indexed by a unique key. See the [Go documentation](https://go.dev/ref/spec#Map_types) for details. +A _map_ is an unordered group of elements, each indexed by a unique key. diff --git a/content/en/quick-reference/glossary/markdown-attribute.md b/content/en/quick-reference/glossary/markdown-attribute.md index 2e355999e..ccbcefd66 100644 --- a/content/en/quick-reference/glossary/markdown-attribute.md +++ b/content/en/quick-reference/glossary/markdown-attribute.md @@ -3,4 +3,4 @@ title: Markdown attribute reference: /content-management/markdown-attributes/ --- -A list of attributes, containing one or more key-value pairs, separated by spaces or commas, and wrapped by braces. Apply Markdown attributes to images and block-level elements including blockquotes, fenced code blocks, headings, horizontal rules, lists, paragraphs, and tables. +A _Markdown attribute_ is a key-value pair attached to a Markdown element. These attributes are commonly used to add HTML attributes, like `class` and `id`, to the element when it's rendered into HTML. They provide a way to extend the basic Markdown syntax and add more semantic meaning or styling hooks to your content. diff --git a/content/en/quick-reference/glossary/marshal.md b/content/en/quick-reference/glossary/marshal.md index 73c59e8b7..3bb1623f5 100644 --- a/content/en/quick-reference/glossary/marshal.md +++ b/content/en/quick-reference/glossary/marshal.md @@ -1,5 +1,6 @@ --- title: marshal +reference: /functions/transform/remarshal/ --- -To transform a data structure into a serialized object. For example, transforming a [map](g) into a JSON string. See [unmarshal](g). +To _marshal_ is to transform a data structure into a serialized object. For example, transforming a [_map_](g) into a JSON string. diff --git a/content/en/quick-reference/glossary/method.md b/content/en/quick-reference/glossary/method.md index 960488b4e..b7618bbf9 100644 --- a/content/en/quick-reference/glossary/method.md +++ b/content/en/quick-reference/glossary/method.md @@ -2,4 +2,4 @@ title: method --- -Used within a [template action](g) and associated with an [object](g), a method takes zero or more [arguments](g) and either returns a value or performs an action. For example, `.IsHome` is a method on the `.Page` object which returns `true` if the current page is the home page. See also [function](g). +Used within a [_template action_](g) and associated with an [_object_](g), a _method_ takes zero or more [_arguments_](g) and either returns a value or performs an action. For example, `.IsHome` is a method on the `.Page` object which returns `true` if the current page is the home page. See also [_function_](g). diff --git a/content/en/quick-reference/glossary/module.md b/content/en/quick-reference/glossary/module.md index 13a3945ab..90c8ff80b 100644 --- a/content/en/quick-reference/glossary/module.md +++ b/content/en/quick-reference/glossary/module.md @@ -1,5 +1,6 @@ --- title: module +reference: /hugo-modules/ --- -Like a [theme](g), a module is a packaged combination of [archetypes](g), assets, content, data, [templates](g), translation tables, static files, or configuration settings. A module may serve as the basis for a new site, or to augment an existing site. See [details](/hugo-modules/). +A _module_ is a packaged combination of [_archetypes_](g), assets, content, data, [_templates_](g), translation tables, static files, or configuration settings. A module may serve as the basis for a new site, or to augment an existing site. diff --git a/content/en/quick-reference/glossary/node.md b/content/en/quick-reference/glossary/node.md index 2cd1e7b1f..b722e07c8 100644 --- a/content/en/quick-reference/glossary/node.md +++ b/content/en/quick-reference/glossary/node.md @@ -2,4 +2,4 @@ title: node --- -A class of [page kinds](g) including `home`, `section`, `taxonomy`, and `term`. +A _node_ is a class of [_page kinds_](g) including `home`, `section`, `taxonomy`, and `term`. diff --git a/content/en/quick-reference/glossary/object.md b/content/en/quick-reference/glossary/object.md index ea19987c7..216609d0d 100644 --- a/content/en/quick-reference/glossary/object.md +++ b/content/en/quick-reference/glossary/object.md @@ -2,4 +2,4 @@ title: object --- -A data structure with or without associated [methods](g). +An _object_ is a data structure with or without associated [_methods_](g). diff --git a/content/en/quick-reference/glossary/ordered-taxonomy.md b/content/en/quick-reference/glossary/ordered-taxonomy.md index 7df5ebfe1..7e0e2763d 100644 --- a/content/en/quick-reference/glossary/ordered-taxonomy.md +++ b/content/en/quick-reference/glossary/ordered-taxonomy.md @@ -2,7 +2,7 @@ title: ordered taxonomy --- -Created by invoking the [`Alphabetical`] or [`ByCount`] method on a [`Taxonomy`](g) object, which is a [map](g), an _ordered taxonomy_ is a [slice](g), where each element is an object that contains the [term](g) and a slice of its [weighted pages](g). +Created by invoking the [`Alphabetical`] or [`ByCount`] method on a [`Taxonomy`](g) object, which is a [_map_](g), an _ordered taxonomy_ is a [_slice_](g), where each element is an object that contains the [_term_](g) and a slice of its [weighted pages](g). [`Alphabetical`]: /methods/taxonomy/alphabetical/ [`ByCount`]: /methods/taxonomy/bycount/ diff --git a/content/en/quick-reference/glossary/output-format.md b/content/en/quick-reference/glossary/output-format.md index b4bab9ce7..9004dc223 100644 --- a/content/en/quick-reference/glossary/output-format.md +++ b/content/en/quick-reference/glossary/output-format.md @@ -1,7 +1,6 @@ --- title: output format +reference: /templates/output-formats/ --- -Hugo generates one or more files per page when building a site. For example, when rendering home, [section](g), [taxonomy](g), and [term](g) 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](g), or by enabling one or more output formats for one or more pages. See [details]. - -[details]: /templates/output-formats/ +An _output format_ is a collection of settings that defines how Hugo renders a file when building a site. For example, `html`, `rss`, and `json` are built-in output formats. You can create multiple output formats and control their generation based on [page kind](g), or by enabling one or more output formats for specific pages. diff --git a/content/en/quick-reference/glossary/page-bundle.md b/content/en/quick-reference/glossary/page-bundle.md index a82a3d257..af76da2aa 100644 --- a/content/en/quick-reference/glossary/page-bundle.md +++ b/content/en/quick-reference/glossary/page-bundle.md @@ -1,5 +1,6 @@ --- title: page bundle +reference: /content-management/page-bundles/ --- -A directory that encapsulates both content and associated [resources](g). There are two types of page bundles: [leaf bundles](g) and [branch bundles](g). See [details](/content-management/page-bundles/). +A _page bundle_ is a directory that encapsulates both content and associated [_resources_](g). There are two types of page bundles: [_leaf bundles_](g) and [_branch bundles_](g). diff --git a/content/en/quick-reference/glossary/page-collection.md b/content/en/quick-reference/glossary/page-collection.md index 13f9eb990..f078ecf27 100644 --- a/content/en/quick-reference/glossary/page-collection.md +++ b/content/en/quick-reference/glossary/page-collection.md @@ -2,4 +2,4 @@ title: page collection --- -A slice of `Page` objects. +A _page collection_ is a slice of `Page` objects. diff --git a/content/en/quick-reference/glossary/page-kind.md b/content/en/quick-reference/glossary/page-kind.md index a71dbd6b2..ee47fe010 100644 --- a/content/en/quick-reference/glossary/page-kind.md +++ b/content/en/quick-reference/glossary/page-kind.md @@ -1,7 +1,6 @@ --- title: page kind +reference: /methods/page/kind/ --- -A classification of pages, one of `home`, `page`, `section`, `taxonomy`, or `term`. See [details](/methods/page/kind/). - -Note that there are also `RSS`, `sitemap`, `robotsTXT`, and `404` page kinds, but these are only available during the rendering of each of these respective page's kind and therefore *not* available in any of the `Pages` collections. +A _page kind_ is a classification of pages, one of `home`, `page`, `section`, `taxonomy`, or `term`. diff --git a/content/en/quick-reference/glossary/page-resource.md b/content/en/quick-reference/glossary/page-resource.md index 324f09470..dab119eb4 100644 --- a/content/en/quick-reference/glossary/page-resource.md +++ b/content/en/quick-reference/glossary/page-resource.md @@ -2,6 +2,4 @@ title: page resource --- -A file within a [page bundle](g). Capture one or more page resources using any of the [`Resources`] methods on a `Page` object. - -[`Resources`]: /methods/page/resources/#methods +A _page resource_ is a file within a [_page bundle_](g). diff --git a/content/en/quick-reference/glossary/pager.md b/content/en/quick-reference/glossary/pager.md index 206f81204..f58874e4a 100644 --- a/content/en/quick-reference/glossary/pager.md +++ b/content/en/quick-reference/glossary/pager.md @@ -2,4 +2,4 @@ title: pager --- -Created during [pagination](g), a pager contains a subset of a list page and navigation links to other pagers. +Created during [_pagination_](g), a _pager_ contains a subset of a list page and navigation links to other pagers. diff --git a/content/en/quick-reference/glossary/paginate.md b/content/en/quick-reference/glossary/paginate.md index 1a0b54f1e..d2467e098 100644 --- a/content/en/quick-reference/glossary/paginate.md +++ b/content/en/quick-reference/glossary/paginate.md @@ -2,4 +2,4 @@ title: paginate --- -To split a list page into two or more subsets. +To _paginate_ is to split a list page into two or more subsets. diff --git a/content/en/quick-reference/glossary/pagination.md b/content/en/quick-reference/glossary/pagination.md index 4cde7dd77..136341dbf 100644 --- a/content/en/quick-reference/glossary/pagination.md +++ b/content/en/quick-reference/glossary/pagination.md @@ -3,4 +3,4 @@ title: pagination reference: /templates/pagination --- -The process of [paginating](g) a list page. +The term _pagination_ refers to the process of [_paginating_](g) a list page. diff --git a/content/en/quick-reference/glossary/paginator.md b/content/en/quick-reference/glossary/paginator.md index 0358a5ab7..4d197348d 100644 --- a/content/en/quick-reference/glossary/paginator.md +++ b/content/en/quick-reference/glossary/paginator.md @@ -2,4 +2,4 @@ title: paginator --- -A collection of [pagers](g). +A _paginator_ is a collection of [_pagers_](g). diff --git a/content/en/quick-reference/glossary/parameter.md b/content/en/quick-reference/glossary/parameter.md index 24adcd60e..f1a45ea34 100644 --- a/content/en/quick-reference/glossary/parameter.md +++ b/content/en/quick-reference/glossary/parameter.md @@ -2,4 +2,4 @@ title: parameter --- -Typically, a user-defined key-value pair at the site or page level, but may also refer to a configuration setting or an [argument](g). See also [field](g). +A _parameter_ is typically a user-defined key-value pair at the site or page level, but may also refer to a configuration setting or an [_argument_](g). diff --git a/content/en/quick-reference/glossary/partial.md b/content/en/quick-reference/glossary/partial.md index e4405d9d9..a5dd5e51a 100644 --- a/content/en/quick-reference/glossary/partial.md +++ b/content/en/quick-reference/glossary/partial.md @@ -2,4 +2,4 @@ title: partial --- -A [template](g) called from any other template including [shortcodes](g), [render hooks](g), and other partials. A partial either renders something or returns something. A partial can also call itself, for example, to [walk](g) a data structure. +A _partial_ is a [_template_](g) called from any other template including [_shortcodes_](g), [render hooks](g), and other partials. A partial either renders something or returns something. A partial can also call itself, for example, to [_walk_](g) a data structure. diff --git a/content/en/quick-reference/glossary/permalink.md b/content/en/quick-reference/glossary/permalink.md index ac3601b26..45651de83 100644 --- a/content/en/quick-reference/glossary/permalink.md +++ b/content/en/quick-reference/glossary/permalink.md @@ -2,4 +2,4 @@ title: permalink --- -The absolute URL of a published resource or a rendered page, including scheme and host. +A _permalink_ is the absolute URL of a published resource or a rendered page, including scheme and host. diff --git a/content/en/quick-reference/glossary/pipe.md b/content/en/quick-reference/glossary/pipe.md index 4daab1999..f587eeccf 100644 --- a/content/en/quick-reference/glossary/pipe.md +++ b/content/en/quick-reference/glossary/pipe.md @@ -2,4 +2,4 @@ title: pipe --- -See [pipeline](g). +See [_pipeline_](g). diff --git a/content/en/quick-reference/glossary/pipeline.md b/content/en/quick-reference/glossary/pipeline.md index dc62af363..2bb3fa3b7 100644 --- a/content/en/quick-reference/glossary/pipeline.md +++ b/content/en/quick-reference/glossary/pipeline.md @@ -2,6 +2,6 @@ title: pipeline --- -Within a [template action](g), a pipeline is a possibly chained sequence of values, [function](g) calls, or [method](g) calls. Functions and methods in the pipeline may take multiple [arguments](g). +Within a [_template action_](g), a _pipeline_ is a possibly chained sequence of values, [_function_](g) calls, or [_method_](g) calls. Functions and methods in the pipeline may take multiple [_arguments_](g). -A pipeline may be *chained* by separating a sequence of commands with pipeline characters "|". In a chained pipeline, the result of each command is passed as the last argument to the following command. The output of the final command in the pipeline is the value of the pipeline. +A pipeline may be *chained* by separating a sequence of commands with pipeline characters (`|`). In a chained pipeline, the result of each command is passed as the last argument to the following command. The output of the final command in the pipeline is the value of the pipeline. diff --git a/content/en/quick-reference/glossary/publish.md b/content/en/quick-reference/glossary/publish.md index 1a7a491af..743e87a3e 100644 --- a/content/en/quick-reference/glossary/publish.md +++ b/content/en/quick-reference/glossary/publish.md @@ -2,4 +2,4 @@ title: publish --- -See [build](g). +See [_build_](g). diff --git a/content/en/quick-reference/glossary/raw-string-literal.md b/content/en/quick-reference/glossary/raw-string-literal.md index 76e0d418c..7465c6837 100644 --- a/content/en/quick-reference/glossary/raw-string-literal.md +++ b/content/en/quick-reference/glossary/raw-string-literal.md @@ -1,5 +1,6 @@ --- 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. diff --git a/content/en/quick-reference/glossary/regular-page.md b/content/en/quick-reference/glossary/regular-page.md index 265a9cbc0..084408e57 100644 --- a/content/en/quick-reference/glossary/regular-page.md +++ b/content/en/quick-reference/glossary/regular-page.md @@ -2,4 +2,4 @@ title: regular page --- -Content with the "page" [page kind](g). See also [section page](g). +A _regular page_ is a page with the "page" [_page kind_](g). See also [_section page_](g). diff --git a/content/en/quick-reference/glossary/relative-permalink.md b/content/en/quick-reference/glossary/relative-permalink.md index 73d676f1b..a272133a3 100644 --- a/content/en/quick-reference/glossary/relative-permalink.md +++ b/content/en/quick-reference/glossary/relative-permalink.md @@ -2,4 +2,4 @@ title: relative permalink --- -The host-relative URL of a published resource or a rendered page. +A _relative permalink_ is the host-relative URL of a published resource or a rendered page. diff --git a/content/en/quick-reference/glossary/remote-resource.md b/content/en/quick-reference/glossary/remote-resource.md index d0d00eae5..163749763 100644 --- a/content/en/quick-reference/glossary/remote-resource.md +++ b/content/en/quick-reference/glossary/remote-resource.md @@ -2,4 +2,4 @@ title: remote resource --- -A file on a remote server, accessible via HTTP or HTTPS with the [`resources.GetRemote`](/functions/resources/getremote) function. +A _remote resource_ is a file on a remote server, accessible via HTTP or HTTPS. diff --git a/content/en/quick-reference/glossary/render-hook.md b/content/en/quick-reference/glossary/render-hook.md index 28985754b..2cdb98e05 100644 --- a/content/en/quick-reference/glossary/render-hook.md +++ b/content/en/quick-reference/glossary/render-hook.md @@ -3,4 +3,4 @@ title: render hook reference: /render-hooks --- -A [template](g) that overrides standard Markdown rendering. +A _render hook_ is a [_template_](g) that overrides standard Markdown rendering. diff --git a/content/en/quick-reference/glossary/resource-type.md b/content/en/quick-reference/glossary/resource-type.md index d2543dd04..64d9c27ab 100644 --- a/content/en/quick-reference/glossary/resource-type.md +++ b/content/en/quick-reference/glossary/resource-type.md @@ -2,7 +2,7 @@ title: resource type --- -The main type of a resource's [media type]. Content files such as Markdown, HTML, AsciiDoc, Pandoc, reStructuredText, and Emacs Org Mode have resource type `page`. Other resource types include `image`, `video`, etc. Retrieve the resource type using the [`ResourceType`] method on a `Resource` object. +A _resource type_ is the main type of a resource's [media type]. Content files such as Markdown, HTML, AsciiDoc, Pandoc, reStructuredText, and Emacs Org Mode have resource type `page`. Other resource types include `image`, `video`, etc. Retrieve the resource type using the [`ResourceType`] method on a `Resource` object. [media type]: /methods/resource/mediatype/ [`ResourceType`]: /methods/resource/resourcetype/ diff --git a/content/en/quick-reference/glossary/resource.md b/content/en/quick-reference/glossary/resource.md index 6de626a4e..bd3a9d10d 100644 --- a/content/en/quick-reference/glossary/resource.md +++ b/content/en/quick-reference/glossary/resource.md @@ -2,6 +2,6 @@ title: resource --- -Any file consumed by the build process to augment or generate content, structure, behavior, or presentation. For example: images, videos, content snippets, CSS, Sass, JavaScript, and data. +A _resource_ is any file consumed by the build process to augment or generate content, structure, behavior, or presentation. For example: images, videos, content snippets, CSS, Sass, JavaScript, and data. -Hugo supports three types of resources: [global resources](g), [page resources](g), and [remote resources](g). +Hugo supports three types of resources: [_global resources_](g), [_page resources_](g), and [_remote resources_](g). diff --git a/content/en/quick-reference/glossary/scalar.md b/content/en/quick-reference/glossary/scalar.md index d1e3cd26c..63ae27d3f 100644 --- a/content/en/quick-reference/glossary/scalar.md +++ b/content/en/quick-reference/glossary/scalar.md @@ -2,4 +2,4 @@ title: scalar --- -A _scalar_ is a single value, one of [string](g), [integer](g), [floating point](g), or [boolean](g). +A _scalar_ is a single value, one of [_string_](g), [_integer_](g), [floating point](g), or [_boolean_](g). diff --git a/content/en/quick-reference/glossary/scope.md b/content/en/quick-reference/glossary/scope.md index 36a59c14a..5a13312a6 100644 --- a/content/en/quick-reference/glossary/scope.md +++ b/content/en/quick-reference/glossary/scope.md @@ -2,4 +2,4 @@ title: scope --- -The term _scope_ refers to the specific region of code where a [_variable_](g) or [_object_](g) is accessible. For example, a variable initialized in one template is not available within another. +The term _scope_ refers to the specific region of code where a [_variable_](g) or [_object_](g) is accessible. For example, a variable initialized in one [template](g) is not available within another. diff --git a/content/en/quick-reference/glossary/scratch-pad.md b/content/en/quick-reference/glossary/scratch-pad.md index fe1fc65a9..f94d4fd5b 100644 --- a/content/en/quick-reference/glossary/scratch-pad.md +++ b/content/en/quick-reference/glossary/scratch-pad.md @@ -2,7 +2,7 @@ title: scratch pad --- -Conceptually, a [map](g) with [methods](g) to set, get, update, and delete values. Attach the data structure to a `Page` or `Site` object using the [`Store`] method, or create a locally scoped scratch pad using the [`newScratch`] function. +Conceptually, a _scratch pad_ is a [_map_](g) with [_methods_](g) to set, get, update, and delete values. Attach the data structure to a `Page` or `Site` object using the [`Store`] method, or create a locally scoped scratch pad using the [`newScratch`] function. [`Store`]: /methods/page/store/ [`newScratch`]: /functions/collections/newscratch/ diff --git a/content/en/quick-reference/glossary/section-page.md b/content/en/quick-reference/glossary/section-page.md index 060527015..fd84ed5f2 100644 --- a/content/en/quick-reference/glossary/section-page.md +++ b/content/en/quick-reference/glossary/section-page.md @@ -2,4 +2,4 @@ title: section page --- -Content with the "section" [page kind](g). Typically a listing of [regular pages](g) and/or other section pages within the current [section](g). +A _section page_ is a page with the "section" [_page kind_](g). Typically a listing of [_regular pages_](g) and/or other section pages within the current [_section_](g). diff --git a/content/en/quick-reference/glossary/segment.md b/content/en/quick-reference/glossary/segment.md index 745e196de..5851a8825 100644 --- a/content/en/quick-reference/glossary/segment.md +++ b/content/en/quick-reference/glossary/segment.md @@ -2,4 +2,4 @@ title: segment --- -A _segment_ is a subset of a site, filtered by [_logical path_](g), language, [_page kind_](g), and [_output format_](g). +A _segment_ is a subset of a site, filtered by [_logical path_](g), language, [_page kind_](g), or [_output format_](g). diff --git a/content/en/quick-reference/glossary/slice.md b/content/en/quick-reference/glossary/slice.md index fa6bc3cc0..5d83bed6b 100644 --- a/content/en/quick-reference/glossary/slice.md +++ b/content/en/quick-reference/glossary/slice.md @@ -1,5 +1,6 @@ --- title: slice +reference: https://go.dev/ref/spec#Slice_types --- -A numbered sequence of elements. Unlike Go's [array](g) data type, slices are dynamically sized. [Elements](g) within a slice can be [scalars](g), [arrays](g), [maps](g), pages, or other slices. See the [Go documentation](https://go.dev/ref/spec#Slice_types) for details. +A _slice_ is a numbered sequence of elements. Unlike Go's [_array_](g) data type, slices are dynamically sized. [_Elements_](g) within a slice can be [_scalars_](g), [_arrays_](g), [_maps_](g), pages, or other slices. diff --git a/content/en/quick-reference/glossary/string.md b/content/en/quick-reference/glossary/string.md index daa3a4d9d..54ed4c1d1 100644 --- a/content/en/quick-reference/glossary/string.md +++ b/content/en/quick-reference/glossary/string.md @@ -2,4 +2,4 @@ title: string --- -A sequence of bytes. For example, `"What is 6 times 7?"`. +A _string_ is a sequence of bytes. For example, `"What is 6 times 7?"`. diff --git a/content/en/quick-reference/glossary/taxonomic-weight.md b/content/en/quick-reference/glossary/taxonomic-weight.md index c828c7fd3..682bc056c 100644 --- a/content/en/quick-reference/glossary/taxonomic-weight.md +++ b/content/en/quick-reference/glossary/taxonomic-weight.md @@ -3,4 +3,4 @@ title: taxonomic weight reference: content-management/taxonomies/#order-taxonomies --- -Defined in front matter and unique to each taxonomy, this [weight](g) determines the sort order of page collections contained within a [`Taxonomy`](g) object. +Defined in front matter and unique to each taxonomy, a _taxonomic weight_ is a [_weight_](g) that determines the sort order of page collections contained within a [`Taxonomy`](g) object. diff --git a/content/en/quick-reference/glossary/taxonomy-object.md b/content/en/quick-reference/glossary/taxonomy-object.md index 31315b988..590490377 100644 --- a/content/en/quick-reference/glossary/taxonomy-object.md +++ b/content/en/quick-reference/glossary/taxonomy-object.md @@ -2,4 +2,4 @@ title: taxonomy object --- -A [map](g) of [terms](g) and the [weighted pages](g) associated with each term. +A _taxonomy object_ is a [_map_](g) of [_terms_](g) and the [weighted pages](g) associated with each term. diff --git a/content/en/quick-reference/glossary/taxonomy-page.md b/content/en/quick-reference/glossary/taxonomy-page.md index bf1b4aafb..6b62f0912 100644 --- a/content/en/quick-reference/glossary/taxonomy-page.md +++ b/content/en/quick-reference/glossary/taxonomy-page.md @@ -2,4 +2,4 @@ title: taxonomy page --- -Content with the "taxonomy" [page kind](g). Typically a listing of [terms](g) within a given [taxonomy](g). +A _taxonomy page_ is a page with the "taxonomy" [_page kind_](g). Typically a listing of [_terms_](g) within a given [_taxonomy_](g). diff --git a/content/en/quick-reference/glossary/taxonomy.md b/content/en/quick-reference/glossary/taxonomy.md index 4037b4b29..ce35a634c 100644 --- a/content/en/quick-reference/glossary/taxonomy.md +++ b/content/en/quick-reference/glossary/taxonomy.md @@ -2,5 +2,4 @@ title: taxonomy reference: /content-management/taxonomies --- - -A group of related [terms](g) used to classify content. For example, a "colors" taxonomy might include the terms "red", "green", and "blue". +A _taxonomy_ is a group of related [_terms_](g) used to classify content. For example, a "colors" taxonomy might include the terms "red", "green", and "blue". diff --git a/content/en/quick-reference/glossary/template-action.md b/content/en/quick-reference/glossary/template-action.md index ac5fad85e..d9a6c635c 100644 --- a/content/en/quick-reference/glossary/template-action.md +++ b/content/en/quick-reference/glossary/template-action.md @@ -1,5 +1,6 @@ --- title: template action +reference: https://pkg.go.dev/text/template#hdr-Actions --- -A data evaluation or control structure within a [template](g), delimited by "{{" and "}}". See the [Go documentation](https://pkg.go.dev/text/template#hdr-Actions) for details. +A data evaluation or control structure within a [_template_](g), delimited by "{{" and "}}". diff --git a/content/en/quick-reference/glossary/template.md b/content/en/quick-reference/glossary/template.md index b8b046092..d442c0a22 100644 --- a/content/en/quick-reference/glossary/template.md +++ b/content/en/quick-reference/glossary/template.md @@ -1,5 +1,6 @@ --- title: template +reference: /templates --- -A file with [template actions](g), located within the `layouts` directory of a project, theme, or module. See [details](/templates/). +A _template_ is a file with [_template actions_](g), located within the `layouts` directory of a project, theme, or module. diff --git a/content/en/quick-reference/glossary/term-page.md b/content/en/quick-reference/glossary/term-page.md index ed9bfec0d..78eabc11f 100644 --- a/content/en/quick-reference/glossary/term-page.md +++ b/content/en/quick-reference/glossary/term-page.md @@ -2,4 +2,4 @@ title: term page --- -Content with the "term" [page kind](g). Typically a listing of [regular pages](g) and [section pages](g) with a given [term](g). +A _term page_ is a page with the "term" [_page kind_](g). Typically a listing of [_regular pages_](g) and [_section pages_](g) with a given [_term_](g). diff --git a/content/en/quick-reference/glossary/term.md b/content/en/quick-reference/glossary/term.md index d04f58b80..cafd92585 100644 --- a/content/en/quick-reference/glossary/term.md +++ b/content/en/quick-reference/glossary/term.md @@ -1,5 +1,6 @@ --- title: term +reference: /content-management/taxonomies --- -A member of a [taxonomy](g), used to classify content. See [details](/content-management/taxonomies/). +A _term_ is a member of a [_taxonomy_](g), used to classify content. diff --git a/content/en/quick-reference/glossary/theme.md b/content/en/quick-reference/glossary/theme.md index e5c6ee951..84b9c684a 100644 --- a/content/en/quick-reference/glossary/theme.md +++ b/content/en/quick-reference/glossary/theme.md @@ -2,4 +2,4 @@ title: theme --- -A packaged combination of [archetypes](g), assets, content, data, [templates](g), translation tables, static files, or configuration settings. A theme may serve as the basis for a new site, or to augment an existing site. See also [module](g). +A _theme_ is a packaged combination of [_archetypes_](g), assets, content, data, [_templates_](g), translation tables, static files, or configuration settings. A theme may serve as the basis for a new site, or to augment an existing site. diff --git a/content/en/quick-reference/glossary/token.md b/content/en/quick-reference/glossary/token.md index 0a5ac22f6..f8c12d570 100644 --- a/content/en/quick-reference/glossary/token.md +++ b/content/en/quick-reference/glossary/token.md @@ -2,4 +2,4 @@ title: token --- -An identifier within a format string, beginning with a colon and replaced with a value when rendered. For example, use tokens in format strings for both [permalinks](/content-management/urls/#permalinks) and [dates](/functions/time/format/#localization). +A _token_ is an identifier within a format string, beginning with a colon and replaced with a value when rendered. For example, use tokens in format strings for both [permalinks](/content-management/urls/#permalinks) and [dates](/functions/time/format/#localization). diff --git a/content/en/quick-reference/glossary/unmarshal.md b/content/en/quick-reference/glossary/unmarshal.md index 15db995f0..0ed548a21 100644 --- a/content/en/quick-reference/glossary/unmarshal.md +++ b/content/en/quick-reference/glossary/unmarshal.md @@ -1,5 +1,6 @@ --- title: unmarshal +reference: /functions/transform/unmarshal/ --- -To transform a serialized object into a data structure. For example, transforming a JSON file into a [map](g) that you can access within a template. See [marshal](g). +To _unmarshal_ is to transform a serialized object into a data structure. For example, transforming a JSON file into a [_map_](g) that you can access within a template. diff --git a/content/en/quick-reference/glossary/variable.md b/content/en/quick-reference/glossary/variable.md index 5a80f4e0a..f8139a41f 100644 --- a/content/en/quick-reference/glossary/variable.md +++ b/content/en/quick-reference/glossary/variable.md @@ -2,4 +2,4 @@ title: variable --- -A user-defined [identifier](g) prepended with a `$` symbol, representing a value of any data type, initialized or assigned within a [template action](g). For example, `$foo` and `$bar` are variables. +A _variable_ is a user-defined [_identifier_](g) prepended with a `$` symbol, representing a value of any data type, initialized or assigned within a [_template action_](g). For example, `$foo` and `$bar` are variables. diff --git a/content/en/quick-reference/glossary/walk.md b/content/en/quick-reference/glossary/walk.md index 811495187..09f9ecb20 100644 --- a/content/en/quick-reference/glossary/walk.md +++ b/content/en/quick-reference/glossary/walk.md @@ -2,4 +2,4 @@ title: walk --- -To recursively traverse a nested data structure. For example, rendering a multilevel menu. +To _walk_ is to recursively traverse a nested data structure. For example, rendering a multilevel menu. diff --git a/content/en/quick-reference/glossary/weight.md b/content/en/quick-reference/glossary/weight.md index 5c04e6ef7..deb9e6dc0 100644 --- a/content/en/quick-reference/glossary/weight.md +++ b/content/en/quick-reference/glossary/weight.md @@ -2,4 +2,4 @@ title: weight --- -Used to position an element within a collection sorted by weight. Assign weights using non-zero integers. Lighter items float to the top, while heavier items sink to the bottom. Unweighted or zero-weighted elements are placed at the end of the collection. Weights are typically assigned to pages, menu entries, languages, and output formats. +A _weight_ is a numeric value used to position an element within a sorted [collection](g). Assign weights using non-zero integers. Lighter items float to the top, while heavier items sink to the bottom. Unweighted or zero-weighted elements are placed at the end of the collection. Weights are typically assigned to pages, menu entries, languages, and output formats. diff --git a/content/en/quick-reference/glossary/weighted-page.md b/content/en/quick-reference/glossary/weighted-page.md index 88ec816da..e6cf8d6db 100644 --- a/content/en/quick-reference/glossary/weighted-page.md +++ b/content/en/quick-reference/glossary/weighted-page.md @@ -2,4 +2,4 @@ title: weighted page --- -Contained within a [`Taxonomy`](g) object, a weighted page is a [map](g) with two elements: a `Page` object, and its [taxonomic weight](g) as defined in front matter. Access the elements using the `Page` and `Weight` keys. +Contained within a [_taxonomy object_](g), a _weighted page_ is a [_map_](g) with two [_elements_](g): a `Page` object, and its [_taxonomic weight_](g) as defined in front matter. Access the elements using the `Page` and `Weight` keys.