Files
hugo/docs/content/en/configuration/services.md
T
Bjørn Erik Pedersen 30a20122b7 Merge commit '8f3c066d23f431fb2c53d97ea489e4c28b42bd82'
# Conflicts:
#	docs/data/docs.yaml
2026-02-14 12:14:33 +01:00

1.5 KiB

title, linkTitle, description, categories, keywords
title linkTitle description categories keywords
Configure services Services Configure embedded templates.

Hugo provides embedded templates to simplify site and content creation. Some of these templates are configurable. For example, the embedded Google Analytics template requires a Google tag ID.

This is the default configuration:

{{< code-toggle config=services />}}

disqus.shortname
(string) The shortname used with the Disqus commenting system. See details. To access this value from a template:
{{ .Site.Config.Services.Disqus.Shortname }}
googleAnalytics.id
(string) The Google tag ID for Google Analytics 4 properties. See details. To access this value from a template:
{{ .Site.Config.Services.GoogleAnalytics.ID }}
rss.limit
(int) The maximum number of items to include in an RSS feed. Set to -1 for no limit. Default is -1. See details. To access this value from a template:
{{ .Site.Config.Services.RSS.Limit }}
x.disableInlineCSS
(bool) Whether to disable the inline CSS rendered by the embedded x shortode. See details. Default is false. To access this value from a template:
{{ .Site.Config.Services.X.DisableInlineCSS }}