Skip to content

Commit 587cea6

Browse files
committed
first complete website
1 parent e957768 commit 587cea6

File tree

1 file changed

+305
-1
lines changed

1 file changed

+305
-1
lines changed

PersonalWebsite/hugo.yaml

Lines changed: 305 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,312 @@
11
baseURL: https://ragespin.github.io/
22
languageCode: en-us
3-
title: My New Hugo Site
3+
title: Stefano Giannini
4+
theme: toha
45

56
# Use Hugo modules to add theme
67
module:
78
imports:
89
- path: github.com/hugo-toha/toha/v4
10+
- path: github.com/hugo-toha/hugo-toha.github.io
11+
disable: false
12+
mounts:
13+
#- source: content
14+
# target: content
15+
- source: layouts
16+
target: layouts
17+
#- source: data
18+
# target: data
19+
- source: assets
20+
target: assets
21+
- source: static
22+
target: static
23+
mounts:
24+
- source: static/files
25+
target: static/files
26+
- source: ./node_modules/flag-icon-css/flags
27+
target: static/flags
28+
- source: ./node_modules/@fontsource/mulish/files
29+
target: static/files
30+
- source: ./node_modules/katex/dist/fonts
31+
target: static/fonts
32+
33+
# Manage languages
34+
# For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
35+
languages:
36+
en:
37+
languageCode: en
38+
languageName: English
39+
title: "Stefano's Blog"
40+
weight: 1
41+
bn:
42+
languageCode: it
43+
languageName: Italiano
44+
title: "Blog di Stefano"
45+
weight: 2
46+
47+
# default language for the content
48+
defaultContentLanguage: en
49+
50+
# Allow raw html in markdown file
51+
markup:
52+
goldmark:
53+
renderer:
54+
unsafe: true
55+
tableOfContents:
56+
startLevel: 2
57+
endLevel: 6
58+
ordered: false
59+
60+
# At least HTML and JSON are required for the main HTML content and
61+
# client-side JavaScript search
62+
outputs:
63+
home:
64+
- HTML
65+
- RSS
66+
- JSON
67+
68+
# Enable global emoji support
69+
enableEmoji: true
70+
71+
# Site parameters
72+
params:
73+
# Background image of the landing page
74+
background: /images/site/background.jpg
75+
76+
# Provide logos for your site. The inverted logo will be used in the initial
77+
# transparent navbar and the main logo will be used in the non-transparent navbar.
78+
logo:
79+
main: /images/site/main-logo.png
80+
inverted: /images/site/inverted-logo.png
81+
favicon: /images/site/favicon.png
82+
83+
# GitHub repo of your site
84+
gitRepo: https://github.com/hugo-toha/hugo-toha.github.io
85+
# Default branch of your Git repo
86+
gitBranch: main
87+
88+
# Configure the number of section title visible in the top navbar
89+
topNavbar:
90+
maxVisibleSections: 5
91+
92+
# Configure various features of this theme
93+
features:
94+
95+
# Enable dark theme
96+
darkMode:
97+
enable: true
98+
99+
# Enable and configure portfolio
100+
portfolio:
101+
enable: true
102+
103+
# Enable and configure blog posts
104+
blog:
105+
enable: true
106+
showAuthor: true
107+
# Share post on different social media
108+
shareButtons:
109+
facebook: true
110+
twitter: true
111+
linkedin: true
112+
reddit: true
113+
whatsapp: true
114+
email: true
115+
# tumblr: true
116+
# pocket: true
117+
# diaspora: true
118+
# mastodon: true
119+
120+
# Enable & configure "Notes" features
121+
notes:
122+
enable: true
123+
124+
# Enable comment feature. There, should be only one of them.
125+
comment:
126+
enable: false
127+
services:
128+
disqus:
129+
shortName: toha-example-site
130+
# valine:
131+
# appId: HTV6askWxVo3vOxlqjjaq2hd-MsYXbMMI
132+
# appKey: pVrT3C85KGIuk27t07eh6bUC
133+
# avatar: retro
134+
# placeholder: Share your thought.
135+
# lang: en
136+
# recordIP: true
137+
# enableQQ: true
138+
# utteranc:
139+
# repo: github.com/hugo-toha/hugo-toha.github.io
140+
# issueTerm: title
141+
# theme: github-light
142+
# giscus:
143+
# repo: your-repo/name
144+
# repoID: your-repo-id
145+
# category: your-category
146+
# categoryID: your-category-id
147+
# theme: light
148+
# map: url
149+
# reaction: 1
150+
# metadata: 0
151+
# inputPosition: bottom
152+
# crossOrigin: anonymous
153+
# commento:
154+
# serverURL: cdn.commento.io
155+
# autoInit: true
156+
# hideDeleted: false
157+
158+
# Enable Analytics
159+
analytics:
160+
enabled: false
161+
services:
162+
# cloudflare web analytics
163+
# cloudflare:
164+
# token: "<token>"
165+
# Google Analytics
166+
google:
167+
id: G-H4LBG7NDFZ
168+
# # CounterDev
169+
# counterDev:
170+
# id: <your counterdev id>
171+
# # GoatCounter
172+
# goatCounter:
173+
# code: <your goat counter code>
174+
# # Matomo / Piwik
175+
# matomo:
176+
# instance: matomo.example.com
177+
# siteId: 1 # Or any other number
178+
# # Umami
179+
# umami:
180+
# scheme: https
181+
# instance: umami.example.com
182+
# id: <your umami site id>
183+
184+
# Enable Support
185+
support:
186+
enable: false
187+
services:
188+
kofi:
189+
user: hossainemruz
190+
text: Tip Me
191+
textColor: '#f9fafc'
192+
backgroundColor: '#248aaa'
193+
# buymeacoffee:
194+
# user: <your buymeacoffee.com user>
195+
# text: Support me on Buy me a coffee!
196+
# info: Buy me a coffee!
197+
# color: '#FFDD00'
198+
199+
# specify whether you want to show Table of Contents in reading page
200+
toc:
201+
enable: true
202+
203+
# Show tags under the post title
204+
tags:
205+
enable: true
206+
on_card: true # enables tags in post cards
207+
208+
# Specify whether to show flag in the language selector. Default is true.
209+
flags:
210+
enable: true
211+
# # If you want to use different country flag for a language, specify them here.
212+
# flagOverwrites:
213+
# - languageCode: en
214+
# countryCode: us
215+
216+
# Enable this to use `embed-pdf` shortcode.
217+
embedpdf:
218+
enable: false
219+
220+
# Enable this to create flowcharts using shortcodes.
221+
flowchart:
222+
enable: false
223+
services:
224+
# Uncomment for `mermaid` shortcode.
225+
mermaid:
226+
# For config options, see: https://mermaid-js.github.io/mermaid/#/Setup?id=configuration
227+
# theme: dark
228+
229+
# Enable this to create mathematic expressions using `$$` blocks
230+
math:
231+
enable: true
232+
services:
233+
# https://katex.org/docs/autorender.html#api for more configurations
234+
katex:
235+
delimiters:
236+
- left: $$
237+
right: $$
238+
display: true
239+
- left: \\[
240+
right: \\]
241+
display: true
242+
- left: $
243+
right: $
244+
display: false
245+
- left: \\(
246+
right: \\)
247+
display: false
248+
249+
# Enable to use custom syntax highlight
250+
# Please note, Hugo comes with it's own html based syntax highlighter.
251+
# Your code block will still be syntax highlighted by hugo.
252+
# For more details: https://gohugo.io/content-management/syntax-highlighting/
253+
# To disable Hugo's builtin syntax highlight,
254+
# see: https://gohugo.io/getting-started/configuration-markup#highlight
255+
# ```
256+
# # config.yaml
257+
# markup:
258+
# # this disables hugo's syntax highlighting.
259+
# codeFences: false
260+
# ```
261+
syntaxHighlight:
262+
enable: true
263+
services:
264+
hljs:
265+
# see: https://highlightjs.readthedocs.io/en/latest/api.html#configure
266+
noHighlightRe: /^no-highlight$/i
267+
268+
# Enable to use `video-player` shortcode
269+
videoPlayer:
270+
enable: false
271+
services:
272+
# convert .js-player class into video player via https://plyr.io/
273+
# Can play HTML5 Video, Audio, Youtube, Vimeo.
274+
# For more info on setup: https://github.com/sampotts/plyr#quick-setup
275+
plyr:
276+
# options doc: https://github.com/sampotts/plyr#options
277+
# fullscreen: true
278+
279+
# Enable reading time support in post cards and in post pages
280+
readingTime:
281+
enable: true
282+
283+
284+
# Provide footer configuration.
285+
footer:
286+
enable: true
287+
# You can provide your custom footer template using this option.
288+
# Put your template in "layouts/partials" folder of your repo.
289+
template: footer.html
290+
# Show/hide navigation in the footer. Default is "true".
291+
navigation:
292+
enable: true
293+
# show custom menus in the footer
294+
customMenus: true
295+
# Show/hide "Contact Me" section in the footer. Default is "true".
296+
contactMe:
297+
enable: true
298+
# Show/hide credentials section in the footer. Default is "true".
299+
credentials:
300+
enable: true
301+
302+
# Show/hide newsletter section in the footer. Default is "true".
303+
# Currently, it supports "mailchimp".
304+
newsletter:
305+
enable: true
306+
provider: mailchimp
307+
mailchimpURL: https://github.us1.list-manage.com/subscribe/post?u=19de52a4603135aae97163fd8&amp;id=094a24c76e
308+
309+
# Show/hide disclaimer notice in the footer. Default is "false".
310+
disclaimer:
311+
enable: true
312+

0 commit comments

Comments
 (0)