-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
92 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
title: Configure Services | ||
description: How to configure your site services. | ||
date: 2022-07-14 | ||
categories: [getting started,fundamentals] | ||
keywords: [configuration,services] | ||
weight: 67 | ||
sections_weight: 67 | ||
toc: true | ||
--- | ||
|
||
Configuration for all the relevant services in Hugo. | ||
{{< new-in "0.41.0" >}} | ||
|
||
The default settings for all site services supported by Hugo are as follows: | ||
|
||
{{< code-toggle config="services" />}} | ||
|
||
## Disqus | ||
|
||
Settings relevant to the Disqus template: | ||
|
||
shortname | ||
: The unique identifier assigned to a Disqus site. | ||
|
||
## GoogleAnalytics | ||
|
||
Settings relevant to the Google Analytics (GA) template: | ||
|
||
ID | ||
: The GA tracking ID. | ||
|
||
|
||
Settings relevant to Instagram shortcodes: | ||
|
||
disableInlineCSS | ||
: The Simple variant of the Instagram is decorated with Bootstrap card classes. | ||
Disable inline CSS if you want to provide your own CSS. | ||
|
||
accessToken | ||
: App or client access token. | ||
|
||
|
||
Settings relevant to the Twitter shortcodes: | ||
|
||
disableInlineCSS | ||
: The Simple variant of Twitter is decorated with a basic set of inline styles. | ||
Disable inline CSS if you want to provide your own CSS. | ||
|
||
## RSS | ||
|
||
Settings relevant to RSS feeds: | ||
|
||
limit | ||
: Limit the number of pages. Default value: -1 (unlimited). | ||
|
||
## Privacy config | ||
|
||
The services settings are also relevant to privacy settings. For details, see [Hugo and the GDPR][]. | ||
|
||
[Hugo and the GDPR]: /about/hugo-and-gdpr/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters