mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 10:21:46 +01:00
fix(config): site.DisqusShortname
and site.GoogleAnalytics
are deprecated (#952)
Remove deprecations. Fixes #895
This commit is contained in:
parent
188e49ef41
commit
f53fc128bd
1 changed files with 16 additions and 14 deletions
|
@ -5,6 +5,14 @@ paginate: 3
|
||||||
title: Example Site
|
title: Example Site
|
||||||
copyright: Example Person
|
copyright: Example Person
|
||||||
|
|
||||||
|
# Theme i18n support
|
||||||
|
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
|
||||||
|
DefaultContentLanguage: en
|
||||||
|
|
||||||
|
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
|
||||||
|
# This will make .Summary and .WordCount behave correctly for CJK languages.
|
||||||
|
hasCJKLanguage: false
|
||||||
|
|
||||||
languages:
|
languages:
|
||||||
en:
|
en:
|
||||||
languageName: English
|
languageName: English
|
||||||
|
@ -26,19 +34,13 @@ languages:
|
||||||
params:
|
params:
|
||||||
description: وصف تجريبي
|
description: وصف تجريبي
|
||||||
|
|
||||||
# Change it to your Disqus shortname before using
|
services:
|
||||||
disqusShortname: hugo-theme-stack
|
# Change it to your Disqus shortname before using
|
||||||
|
disqus:
|
||||||
# GA Tracking ID
|
shortname: "hugo-theme-stack"
|
||||||
googleAnalytics:
|
# GA Tracking ID
|
||||||
|
googleAnalytics:
|
||||||
# Theme i18n support
|
id:
|
||||||
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
|
|
||||||
DefaultContentLanguage: en
|
|
||||||
|
|
||||||
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
|
|
||||||
# This will make .Summary and .WordCount behave correctly for CJK languages.
|
|
||||||
hasCJKLanguage: false
|
|
||||||
|
|
||||||
permalinks:
|
permalinks:
|
||||||
post: /p/:slug/
|
post: /p/:slug/
|
||||||
|
@ -49,7 +51,7 @@ params:
|
||||||
- post
|
- post
|
||||||
featuredImageField: image
|
featuredImageField: image
|
||||||
rssFullContent: true
|
rssFullContent: true
|
||||||
favicon: # e.g.: favicon placed in `static/favicon.ico` of your site folder, then set this field to `/favicon.ico` (`/` is necessary)
|
favicon: # e.g.: favicon placed in `static/favicon.ico` of your site folder, then set this field to `/favicon.ico` (`/` is necessary)
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
since: 2020
|
since: 2020
|
||||||
|
|
Loading…
Reference in a new issue