Skip to content

Commit

Permalink
Rename config file to hugo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Jan 17, 2024
1 parent 069b103 commit 75b174b
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exampleSite/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.hugo_build.lock
public/
1 change: 1 addition & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ copyright = "© Athul"
pygmentsstyle = "monokai"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true

[params]
mode="auto"
useCDN=false
Expand Down
50 changes: 50 additions & 0 deletions exampleSite/hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
baseURL = "https://example.com"
languageCode = "en-us"
title = "Archie"
theme="archie"
copyright = "© Athul"
pygmentsstyle = "monokai"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true

ignoreErrors = ['error-missing-instagram-accesstoken']

[params]
mode="auto"
useCDN=false
subtitle = "Minimal and Clean [blog theme for Hugo](https://github.com/athul/archie)"

[[params.social]]
name = "GitHub"
icon = "github"
url = "https://github.com/athul/archie"

[[params.social]]
name = "Twitter"
icon = "twitter"
url = "https://twitter.com/athulcajay/"

[[params.social]]
name = "GitLab"
icon = "gitlab"
url = "https://gitlab.com/athul/"

[[menu.main]]
name = "Home"
url = "/"
weight = 1

[[menu.main]]
name = "All posts"
url = "/posts"
weight = 2

[[menu.main]]
name = "About"
url = "/about"
weight = 3

[[menu.main]]
name = "Tags"
url = "/tags"
weight = 4

0 comments on commit 75b174b

Please sign in to comment.