Update config, menu and sidebar

This commit is contained in:
Salar Rahmanian 2022-10-15 18:20:48 -07:00
parent d51269a9cf
commit bd7902f127
17 changed files with 166 additions and 167 deletions

View file

@ -18,19 +18,14 @@ DefaultContentLanguage = "en"
# [menus]
# config/_default/menus/menu.xx.toml
# [outputs]
# home = ["HTML", "RSS", "JSON"]
# page = ["html"]
[taxonomies]
category = "categories"
tag = "tags"
series = "series"
[outputs]
home = ["html", "jsonfeed","rss"]
page = ["html"]
[outputFormats]
[outputFormats.jsonfeed]
mediaType = "application/json"
baseName = "feed"
isPlainText = true
home = ["HTML", "RSS", "JSON"]
page = ["html"]
[sitemap]
changefreq = "weekly"

View file

@ -2,11 +2,6 @@ timeout = 30000
enableInlineShortcodes = true
footnoteReturnLinkContents = "^"
[taxonomies]
category = "categories"
tag = "tags"
series = "series"
[privacy]
[privacy.vimeo]

View file

@ -1,6 +1,6 @@
[en]
title = "Clarity"
title = "Salar Rahmanian"
LanguageName = "English"
weight = 1

View file

@ -1,7 +1,7 @@
[[main]]
name = "Salar Rahmanian"
url = ""
weight = -110
# [[main]]
# name = "Home"
# url = ""
# weight = -110
[[main]]
name = "About"
@ -66,12 +66,16 @@
weight = 5
url = "https://softin.io/youtube"
[[social]]
name = "mastedon"
name = "matrix"
weight = 6
url = "https://matrix.to/#/@softinio:matrix.org"
[[social]]
name = "mastedon"
weight = 7
url = "https://fosstodon.org/@softinio"
[[social]]
name = "rss"
weight = 7
weight = 8
url = "index.xml"
# other supported social links

View file

@ -13,9 +13,6 @@ keywords = ["Salar", "Rahmanian", "Salar Rahmanian", "Blog", "python", "scala",
# Google analytics Id
ga_analytics = "G-XZR9K3MDHX"
# Matomo ID
matomo_site_id = "2"
# limit the number of taxonomies links shown on the sidebar of each page by default.
numberOfTagsShown = 14 # Applies for all other default & custom taxonomies. e.g categories, brands see https://gohugo.io/content-management/taxonomies#what-is-a-taxonomy
@ -37,7 +34,7 @@ usePageBundles = false
# the originals to get the files included with Hugo Clarity.
#
# Images:
imagesDir = "img/" # without a leading forward slash
imagesDir = "images/" # without a leading forward slash
# Icons:
iconsDir = "icons/" # without a leading forward slash
# Fonts:
@ -140,10 +137,11 @@ websiteDomain = "example.com" # domain name of your website, most cases same as
# scritpName = "plausible" # default is set to plausible, only required if using a custome name for script
[matomo_analytics]
enable = false # To enable matomo analytics change to `true`.
websiteDomain = "example.com" # Set the domain name of your website, in most cases same as your base URL this is required.
matomoDomain = "matomo.example.com" # Set to Matomo domain
matomoSiteID = "1" # Default is set to 1, change this to the siteid being tracked
enable = true # To enable matomo analytics change to `true`.
websiteDomain = "www.softinio.com" # Set the domain name of your website, in most cases same as your base URL this is required.
matomoDomain = "softinio.dev/matomo/" # Set to Matomo domain
matomoSiteID = "2" # Default is set to 1, change this to the siteid being tracked
[giscus]
enable = true