-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhugo.toml
More file actions
134 lines (111 loc) · 4.68 KB
/
hugo.toml
File metadata and controls
134 lines (111 loc) · 4.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
title = "Johan Rin"
baseURL = 'https://johanrin.com/'
# This is what goes in <html lang="">
languageCode = 'en-us'
# Enable emojis globally
enableEmoji = true
# Use git commit dates for .Lastmod (improves sitemap and structured data)
enableGitInfo = true
theme = "hugo-blog-awesome"
[services]
# To enable Google Analytics 4 (gtag.js) provide G-MEASUREMENT_ID below.
# To disable Google Analytics, simply leave the field empty or remove the next two lines
[services.googleAnalytics]
id = 'G-C049S0YKDD' # G-MEASUREMENT_ID
# To enable Disqus comments, provide Disqus Shortname below.
# To disable Disqus comments, simply leave the field empty or remove the next two lines
[services.disqus]
shortname = ''
# set markup.highlight.noClasses=false to enable code highlight
[markup]
[markup.highlight]
noClasses = false
[markup.goldmark.renderer]
unsafe = true
[markup.tableOfContents]
startLevel = 2 # ToC starts from H2
endLevel = 4 # ToC ends at H4
ordered = false # generates <ul> instead of <ol>
###################################################################
[menu]
[[menu.main]]
# The page reference (pageRef) is useful for menu highlighting
# When pageRef is set, setting `url` is optional; it will be used as a fallback if the page is not found.
pageRef="/"
name = 'Home'
url = '/'
weight = 10
[[menu.main]]
pageRef="posts"
name = 'Posts'
url = '/posts/'
weight = 20
[[menu.main]]
pageRef="about"
name = 'About'
url = '/about/'
weight = 30
###################################################################
[params]
github = "Johan Rin"
sitename = "Johan Rin"
defaultColor = "dark" # set color mode: dark, light, auto
# Setting it to 'auto' applies the color scheme based on the visitor's device color preference.If you don't specify anything, ignore this parameter, or leave it blank,
# the default value is set to 'auto'.
# You can take a look at layouts/index.html for more information.
description = "Architecting the future with AI & Cloud | Microsoft Foundry | Strategic insights from multiple cloud journeys"
images = ['cover.png']
ogimage = "cover.png" # Default Open Graph image for social sharing
mainSections = ['posts']
toc = true # set to false to disable table of contents 'globally'
tocOpen = false # set to true to open table of contents by default
goToTop = true # set to false to disable 'go to top' button
dateFormat = "" # date format used to show dates on various pages. If nothing is specified, then "2 Jan 2006" format is used.
# See https://gohugo.io/functions/time/format/ for available date formats.
rssFeedDescription = "full" # available options: 1) summary 2) full
# summary - includes a short summary of the blog post in the RSS feed. Generated using Hugo .Summary .
# full - includes full blog post in the RSS feed. Generated using Hugo .Content .
# By default (or if nothing is specified), summary is used.
[params.author]
avatar = "avatar.jpg" # put the file in assets folder; also ensure that image has same height and width
# Note: image is not rendered if the resource(avatar image) is not found. No error is displayed.
intro = "Johan Rin"
name = "Johan Rin"
description = "Architecting the future with AI & Cloud | Microsoft Foundry | Strategic insights from multiple cloud journeys"
# Allow to override webmanifest options
[params.webmanifest]
name = "Johan Rin"
short_name = "Johan Rin"
start_url = "/" # will use homepage url by default
theme_color = "#434648" # default is "#434648" (base color of text). Also will override html `<meta name="theme-color" />`
background_color = "#fff" # by default depend on "params.defaultColor" for "light" or "auto" will be set to "#fff" for dark will be "#131418" (color of dark mode background)
display = "standalone"
# Allow to override `browserconfig.xml` params (configuration for windows embedded browsers)
[params.browserconfig]
TileColor = "#2d89ef" # default windows 10 blue tile color
[[params.socialIcons]]
name = "github"
url = "https://github.com/johanrin"
[[params.socialIcons]]
name = "x"
url = "https://x.com/johanrin"
[[params.socialIcons]]
name = "linkedin"
url = "https://www.linkedin.com/in/johanrin/"
[[params.socialIcons]]
name = "Rss"
url = "/index.xml"
###################################################################
# Set image cache directory for GitHub Pages hosting
[caches]
[caches.images]
dir = ':cacheDir/images'
# Sitemap configuration for search engine crawlers
[sitemap]
changefreq = "weekly"
priority = 0.5
# Generate robots.txt using custom template in layouts/robots.txt
enableRobotsTXT = true
# Include robots.txt in homepage outputs (theme only sets html + rss)
[outputs]
home = ['html', 'rss', 'robots']