Skip to content

Commit

Permalink
Update theme + rename config.yaml to hugo.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
  • Loading branch information
hossainemruz committed May 10, 2024
1 parent f137fe7 commit bb35918
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion assets/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"baseUrl": ".",
"paths": {
"*": [
"../../../../../../tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/hugo-toha/toha/v4@v4.4.1-0.20240425113647-5b1248da4d04/assets/*"
"../../toha/assets/*"
]
}
}
Expand Down
3 changes: 0 additions & 3 deletions data/en/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,3 @@ openGraph:
description: Portfolio and personal blog of John Doe.
image: images/author/john.png
url: https://hugo-toha.github.io

# specify the title appearing on the navbar.
navBarTitle: "Toha"
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/hugo-toha/hugo-toha.github.io

go 1.19

require github.com/hugo-toha/toha/v4 v4.4.1-0.20240425113647-5b1248da4d04 // indirect
require github.com/hugo-toha/toha/v4 v4.4.1-0.20240510202123-a959cb174de6 // indirect

// replace(
// github.com/hugo-toha/toha/v4 => ../toha
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/hugo-toha/toha/v4 v4.4.1-0.20240425113647-5b1248da4d04 h1:/E5grwDB7FTzwBTbj1nvwBOR2HG3miVePe8clJlauWw=
github.com/hugo-toha/toha/v4 v4.4.1-0.20240425113647-5b1248da4d04/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ=
github.com/hugo-toha/toha/v4 v4.4.1-0.20240510202123-a959cb174de6 h1:f0wW2Y/+A06+8hexwPOvc3oMiyGpTLezf5kBQiii8Kg=
github.com/hugo-toha/toha/v4 v4.4.1-0.20240510202123-a959cb174de6/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ=
12 changes: 8 additions & 4 deletions config.yaml → hugo.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
baseURL: https://hugo-toha.github.io

languageCode: en-us
languageCode: bn
title: "John's Blog"

# Use Hugo modules to add theme
Expand All @@ -21,14 +21,18 @@ module:
# For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
languages:
en:
languageCode: en
languageName: English
title: "John's Blog"
weight: 1
bn:
languageCode: bn
languageName: বাংলা
weight: 3
title: জনের ব্লগ
weight: 2
# default language for the content
defaultContentLanguage: en

# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
# DefaultContentLanguage: bn

# Allow raw html in markdown file
markup:
Expand Down

0 comments on commit bb35918

Please sign in to comment.