Min version is now v0.124.0. Using site.Config.Services.GoogleAnalytics.ID, hugo.IsMultilingual and hugo.yaml etc.
This commit is contained in:
parent
ea9f10193a
commit
2ae8ee84ee
1 changed files with 9 additions and 10 deletions
42
exampleSite/hugo.yaml
Normal file
42
exampleSite/hugo.yaml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
title: "Hugo Zen theme"
|
||||
baseURL: "https://example.org/"
|
||||
theme: "zen"
|
||||
languageCode: "en-GB"
|
||||
defaultContentLanguage: "en"
|
||||
pluralizelisttitles: false
|
||||
removePathAccents: true
|
||||
paginate: 10
|
||||
paginatePath: "page"
|
||||
rssLimit: 20
|
||||
|
||||
outputFormats:
|
||||
SearchIndex:
|
||||
mediaType: "application/json"
|
||||
baseName: "searchindex"
|
||||
isPlainText: true
|
||||
notAlternative: true
|
||||
|
||||
outputs:
|
||||
home: ["HTML","RSS", "JSON", "SearchIndex"]
|
||||
section: ["HTML","RSS", "JSON"]
|
||||
|
||||
params:
|
||||
contact: "info@example.org"
|
||||
description: "The zen theme for Hugo example site."
|
||||
dateformat: "2 January, 2006"
|
||||
favicon: "apple-touch-icon.png"
|
||||
feedlinks: true
|
||||
icon: "apple-touch-icon.png"
|
||||
image: "apple-touch-icon.png"
|
||||
imageMaxWidth: 400
|
||||
logoWidth: 64
|
||||
mobileMenu: true
|
||||
poweredby: true
|
||||
realfavicongenerator: true
|
||||
sidebar: true
|
||||
submitted: true
|
||||
author:
|
||||
name: "Your Name"
|
||||
url: "https://example.org/somepage"
|
||||
avatar: "path/to/some-image.jpg"
|
||||
Loading…
Reference in a new issue