Configured the theme
This commit is contained in:
@ -2,3 +2,10 @@ baseURL = "https://nicolabelluti.me/"
|
||||
|
||||
# https://github.com/nunocoracao/blowfish
|
||||
theme = "blowfish"
|
||||
|
||||
[outputs]
|
||||
home = [
|
||||
"HTML", # Enable the website
|
||||
"RSS", # Enable the RSS feed
|
||||
"JSON", # Enable the search
|
||||
]
|
||||
|
@ -1 +1,28 @@
|
||||
title = "Nicola's Blog"
|
||||
|
||||
languageName = "English"
|
||||
|
||||
[params]
|
||||
displayName = "EN"
|
||||
isoCode = "en"
|
||||
|
||||
copyright = """ \
|
||||
Made by **Nicola Belluti** with ❤️ | \
|
||||
[*GNU AGPLv3.0 license*](https://git.nicolabelluti.me/nicolabelluti/blog/src/branch/main/LICENSE) \
|
||||
"""
|
||||
|
||||
[author]
|
||||
name = "Nicola Belluti"
|
||||
image = "/img/avatar.jpg"
|
||||
headline = "Coding while listening to good music 🧑🏻💻"
|
||||
bio = """ \
|
||||
An IT guy in love with the open source world. \
|
||||
[***About me...***](/about-me) \
|
||||
"""
|
||||
links = [
|
||||
{ code = "https://git.nicolabelluti.me/nicolabelluti" },
|
||||
{ email = "mailto:nicolabelluti@protonmail.com" },
|
||||
{ telegram = "https://t.me/nicolabelluti" },
|
||||
{ mug-hot = "https://buymeacoffee.com/nicolabelluti" },
|
||||
{ rss = "/index.xml" },
|
||||
]
|
||||
|
5
config/_default/markup.toml
Normal file
5
config/_default/markup.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[highlight]
|
||||
noClasses = false
|
32
config/_default/menus.en.toml
Normal file
32
config/_default/menus.en.toml
Normal file
@ -0,0 +1,32 @@
|
||||
[[main]]
|
||||
name = "Blog"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "Posts"
|
||||
pageRef = "/posts"
|
||||
weight = 11
|
||||
parent = "Blog"
|
||||
|
||||
[[main]]
|
||||
name = "Categories"
|
||||
pageRef = "/categories"
|
||||
weight = 12
|
||||
parent = "Blog"
|
||||
|
||||
[[main]]
|
||||
name = "Series"
|
||||
pageRef = "/series"
|
||||
weight = 13
|
||||
parent = "Blog"
|
||||
|
||||
[[main]]
|
||||
name = "About me"
|
||||
pageRef = "/about-me"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
identifier = "rss"
|
||||
pre = "rss"
|
||||
url = "/index.xml"
|
||||
weight = 30
|
69
config/_default/params.toml
Normal file
69
config/_default/params.toml
Normal file
@ -0,0 +1,69 @@
|
||||
# Default article background image
|
||||
# Credits: https://unsplash.com/photos/macbook-pro-JO_S6ewBqAk
|
||||
defaultBackgroundImage = "/img/home-bg.jpg"
|
||||
|
||||
# Theme
|
||||
colorScheme = "blowfish"
|
||||
defaultAppearance = "dark"
|
||||
autoSwitchAppearance = "false"
|
||||
enableSearch = true
|
||||
|
||||
# Article settings
|
||||
enableCodeCopy = true
|
||||
smartTOC = true
|
||||
smartTOCHideUnfocusedChildren = true
|
||||
|
||||
[header]
|
||||
layout = "fixed"
|
||||
|
||||
[homepage]
|
||||
# Show the background
|
||||
# Credits: https://unsplash.com/photos/macbook-pro-JO_S6ewBqAk
|
||||
layout = "background"
|
||||
layoutBackgroundBlur = true
|
||||
homepageImage = "/img/home-bg.jpg"
|
||||
|
||||
# Show recent posts
|
||||
showRecent = true
|
||||
cardView = true
|
||||
showRecentItems = 9
|
||||
showMoreLink = true
|
||||
showMoreLinkDest = "/posts"
|
||||
|
||||
[article]
|
||||
# Show the author
|
||||
showAuthor = true
|
||||
showAuthorBottom = true
|
||||
|
||||
# Show the background
|
||||
showHero = true
|
||||
heroStyle = "background"
|
||||
layoutBackgroundBlur = true
|
||||
layoutBackgroundHeaderSpace = true
|
||||
|
||||
# Show the button to see the source code
|
||||
showEdit = true
|
||||
editURL = "https://git.nicolabelluti.me/nicolabelluti/blog/src/branch/main/content"
|
||||
|
||||
# Show the sharing links
|
||||
sharingLinks = [
|
||||
"linkedin",
|
||||
"twitter",
|
||||
"reddit",
|
||||
"whatsapp",
|
||||
"telegram",
|
||||
"pinterest",
|
||||
"facebook",
|
||||
"email",
|
||||
]
|
||||
|
||||
# Misc
|
||||
showHeadingAnchors = true
|
||||
showPagination = true
|
||||
showReadingTime = true
|
||||
showTableOfContents = true
|
||||
showTaxonomies = true
|
||||
showZenMode = true
|
||||
|
||||
[list]
|
||||
cardView = true
|
3
config/_default/taxonomies.toml
Normal file
3
config/_default/taxonomies.toml
Normal file
@ -0,0 +1,3 @@
|
||||
category = "categories"
|
||||
series = "series"
|
||||
tag = "tags"
|
Reference in New Issue
Block a user