Skip to content

Commit

Permalink
update hugo config
Browse files Browse the repository at this point in the history
  • Loading branch information
mirmousaviii committed Oct 29, 2023
1 parent bfac138 commit bf3e184
Showing 1 changed file with 43 additions and 38 deletions.
81 changes: 43 additions & 38 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
title = "Mostafa Mirmousavi"
baseURL = 'https://mirmousavi.com/'
title = "Mostafa Mirmousavi"

theme = 'mostafa-hugo-theme'

# Generate the robots.txt file for SEO
enableRobotsTXT = true

# Change to one of your content languages defined at the end.
DefaultContentLanguage = "en"

# Enable / Disable Google Analytics statistics for your site
# Enable / Disable Google Analytics statistics
googleAnalytics = "G-LDWY8DT7E9"

# Generate the robots.txt file for SEO
enableRobotsTXT = true


[params]
# Custom CSS / JS modules that will be imported by the template.
# Files are relative to the static/ directory or a URL.
Expand All @@ -24,18 +25,11 @@ googleAnalytics = "G-LDWY8DT7E9"

# Description and meta data for the search engines
author = "Mostafa Mirmousavi"
description = "A software engineer with many non-technical hobbies like flying, cooking and gardening!"
keywords = "mostafa,mirmousavi,coderconf,persianlug"
description = "Software Engineer"
keywords = "mostafa,mirmousavi,coderconf,persianlug,مصطفی,میرموسوی,پرشین‌لاگ"

subtitle = "A software engineer with many non-technical hobbies like flying, cooking and gardening!"

#avatarEmail = "[email protected]"

# set an path to the image file you want to use | overwrites avatar by email
customImage = "avatar.jpg"

# define the icon you want to use for the overlay for the customImage or avatar.
overlayIcon = "fa-home"

# How many articles should be displayed at once?
paginate = 10
Expand All @@ -46,11 +40,10 @@ googleAnalytics = "G-LDWY8DT7E9"
# even if the image has the correct sizes.
resizeImages = true

# always display the top navigation (with pages and search) on non-mobile screens
#permanentTopNav = true

# always display the top navigation when scrolling
# works only with permanentTopNav = true
#TODO: Fix this
#stickyNav = true

# show a language chooser in the header
Expand Down Expand Up @@ -111,7 +104,7 @@ googleAnalytics = "G-LDWY8DT7E9"
tocMinWordCount = 400

# Footer configuration
#showFooter = true
showFooter = true

# How many articles should be displayed at latest posts in the footer?
# Set to -1 to hide the 'Latest Posts' column
Expand All @@ -122,7 +115,8 @@ googleAnalytics = "G-LDWY8DT7E9"
amountCategoriesInFooter = 10

# show a language chooser in the footer
showFooterLanguageChooser = false
#TODO: Fix this
#showFooterLanguageChooser = false

# social media profile urls for the footer links
showSocialMedia = true
Expand All @@ -135,7 +129,6 @@ googleAnalytics = "G-LDWY8DT7E9"
{ name = "Linkedin", link = "https://linkedin.com/in/mirmousavi/en", icon = "fab fa-linkedin" },
{ name = "Instagram", link = "https://www.instagram.com/mirmousaviii/", icon = "fab fa-instagram" },
{ name = "Twitter / X", link = "https://twitter.com/mirmousaviii", icon = "fab fa-twitter" },
# { name = "RSS", link = "/index.xml", icon = "fa fa-rss" },
]

otherLinks = [
Expand All @@ -160,25 +153,36 @@ otherLinks = [

# customize your available languages for your multi-lingual site
# or delete one of the [Languages.xx] blocks to use the theme with only one supported language
#[Languages]
# [Languages.en]
# weight = 1
# languageCode = 'en-US'
# languageDirection = 'ltr'
# languageName = 'English'
# title = "Mostafa's Blog"
# subtitle = "A software engineer with many non-technical hobbies like flying, cooking and gardening!"
# [languages.en.params]
# subtitle = "A software engineer with many non-technical hobbies like flying, cooking and gardening!"
# [Languages.fa]
# weight = 2
# languageCode = 'fa-IR'
# languageDirection = 'rtl'
# languageName = 'Persian'
# title = "مصطفی میرموسوی"
# subtitle = "یک برنامه‌نویس با کلی سرگرمی غیر‌فنی"
# [languages.fa.params]
# subtitle = "یک برنامه‌نویس با کلی سرگرمی غیر‌فنی"



[Languages]
[Languages.en]
weight = 1
languageCode = 'en-US'
languageDirection = 'ltr'
languageName = 'English'
title = "Mostafa Mirmousavi"
[Languages.en.params]
subtitle = "Software Engineer"
[Languages.de]
weight = 2
languageCode = 'de-DE'
languageDirection = 'ltr'
languageName = 'German'
title = "Mostafa Mirmousavi"
[Languages.de.params]
subtitle = "Softwareentwickler"
[Languages.fa]
weight = 3
languageCode = 'fa-IR'
languageDirection = 'rtl'
languageName = 'Persian'
title = "مصطفی میرموسوی"
[Languages.fa.params]
subtitle = "یک برنامه‌نویس با کلی سرگرمی غیر‌فنی"



[markup]
defaultMarkdownHandler = 'goldmark'
Expand All @@ -192,6 +196,7 @@ otherLinks = [
ordered = false
startLevel = 2


# do NOT change anything below
[taxonomies]
author = "author"
Expand Down

0 comments on commit bf3e184

Please sign in to comment.