Min version is now v0.124.0. Using site.Config.Services.GoogleAnalytics.ID, hugo.IsMultilingual and hugo.yaml etc.

This commit is contained in:
Fredrik Jonsson 2024-08-14 14:27:12 +02:00
commit 2ae8ee84ee

42
exampleSite/hugo.yaml Normal file
View 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"