diff --git a/content/en/content-management/markdown-attributes.md b/content/en/content-management/markdown-attributes.md index e59e1c56d..9c62c4fba 100644 --- a/content/en/content-management/markdown-attributes.md +++ b/content/en/content-management/markdown-attributes.md @@ -68,7 +68,7 @@ You may add [global HTML attributes], or HTML attributes specific to the current [global HTML attributes]: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes -The attribute list consists of one or more key/value pairs, separated by spaces or commas, wrapped by braces. You must quote string values that contain spaces. Unlike HTML, boolean attributes must have both key and value. +The attribute list consists of one or more key-value pairs, separated by spaces or commas, wrapped by braces. You must quote string values that contain spaces. Unlike HTML, boolean attributes must have both key and value. For example: diff --git a/content/en/content-management/page-resources.md b/content/en/content-management/page-resources.md index d4c7d552d..6f746488c 100644 --- a/content/en/content-management/page-resources.md +++ b/content/en/content-management/page-resources.md @@ -134,7 +134,7 @@ title : Sets the value returned in `Title` params -: A map of custom key/values. +: A map of custom key-value pairs. ### Resources metadata example diff --git a/content/en/functions/resources/FromString.md b/content/en/functions/resources/FromString.md index 6f742e029..b1447cc6e 100644 --- a/content/en/functions/resources/FromString.md +++ b/content/en/functions/resources/FromString.md @@ -47,7 +47,7 @@ Place this in your baseof.html template: The example above: -1. Creates a map with the relevant key/value pairs using the [`dict`] function +1. Creates a map with the relevant key-value pairs using the [`dict`] function 2. Encodes the map as a JSON string using the [`jsonify`] function 3. Creates a resource from the JSON string using the `resources.FromString` function 4. Publishes the file to the root of the public directory using the resource's `.Publish` method diff --git a/content/en/functions/resources/ToCSS.md b/content/en/functions/resources/ToCSS.md index 4fcf62b64..c82651a74 100644 --- a/content/en/functions/resources/ToCSS.md +++ b/content/en/functions/resources/ToCSS.md @@ -46,7 +46,7 @@ targetPath : (`string`) If not set, the transformed resource's target path will be the original path of the asset file with its extension replaced by `.css`. vars -: (`map`) A map of key/value pairs that will be available in the `hugo:vars` namespace. Useful for [initializing Sass variables from Hugo templates](https://discourse.gohugo.io/t/42053/). +: (`map`) A map of key-value pairs that will be available in the `hugo:vars` namespace. Useful for [initializing Sass variables from Hugo templates](https://discourse.gohugo.io/t/42053/). ```scss // LibSass diff --git a/content/en/functions/safe/HTMLAttr.md b/content/en/functions/safe/HTMLAttr.md index 198fc8ff3..d827b603a 100644 --- a/content/en/functions/safe/HTMLAttr.md +++ b/content/en/functions/safe/HTMLAttr.md @@ -1,6 +1,6 @@ --- title: safe.HTMLAttr -description: Declares the given key/value pair as a safe HTML attribute. +description: Declares the given key-value pair as a safe HTML attribute. categories: [] keywords: [] action: diff --git a/content/en/getting-started/configuration-markup.md b/content/en/getting-started/configuration-markup.md index 7c3185f62..f5b546003 100644 --- a/content/en/getting-started/configuration-markup.md +++ b/content/en/getting-started/configuration-markup.md @@ -192,7 +192,7 @@ This is the default configuration for the AsciiDoc renderer: ###### attributes -(`map`) A map of key/value pairs, each a document attributes,See Asciidoctor’s [attributes]. +(`map`) A map of key-value pairs, each a document attributes,See Asciidoctor’s [attributes]. [attributes]: https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#attributes-and-substitutions diff --git a/content/en/getting-started/glossary.md b/content/en/getting-started/glossary.md index 020738000..e31f45187 100644 --- a/content/en/getting-started/glossary.md +++ b/content/en/getting-started/glossary.md @@ -126,7 +126,7 @@ To determine the current environment within a template, use the [`hugo.Environme ###### field -A predefined key/value pair in front matter such as `date` or `title`. See also [parameter](#parameter). +A predefined key-value pair in front matter such as `date` or `title`. See also [parameter](#parameter). ###### flag @@ -224,7 +224,7 @@ An unordered group of elements, each indexed by a unique key. See the [Go d ###### Markdown attribute -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. See [details](/getting-started/configuration-markup/#goldmark). +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. See [details](/getting-started/configuration-markup/#goldmark). ###### marshal @@ -295,7 +295,7 @@ The process of [paginating](#paginate) a [section](#section) list. ###### 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](#argument). See also [field](#field). +Typically, a user-defined key-value pair at the site or page level, but may also refer to a configuration setting or an [argument](#argument). See also [field](#field). ###### partial diff --git a/content/en/hugo-pipes/transpile-sass-to-css.md b/content/en/hugo-pipes/transpile-sass-to-css.md index f49b596e7..5413220b6 100644 --- a/content/en/hugo-pipes/transpile-sass-to-css.md +++ b/content/en/hugo-pipes/transpile-sass-to-css.md @@ -43,7 +43,7 @@ targetPath : (`string`) If not set, the transformed resource's target path will be the original path of the asset file with its extension replaced by `.css`. vars {{< new-in 0.109.0 >}} -: (`map`) A map of key/value pairs that will be available in the `hugo:vars` namespace. Useful for [initializing Sass variables from Hugo templates](https://discourse.gohugo.io/t/42053/). +: (`map`) A map of key-value pairs that will be available in the `hugo:vars` namespace. Useful for [initializing Sass variables from Hugo templates](https://discourse.gohugo.io/t/42053/). ```scss // LibSass