aboutsummaryrefslogtreecommitdiff
path: root/config/_default
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2023-09-22 09:19:27 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2023-09-22 09:19:27 +0200
commit27341812d3401337c8c7e45b8d9686a3db91fd04 (patch)
tree0ab1386b49b568e37bc52135230f88b82dd7e8ba /config/_default
feat: Use lowkey theme
Diffstat (limited to 'config/_default')
-rw-r--r--config/_default/hugo.toml20
-rw-r--r--config/_default/menus.toml50
-rw-r--r--config/_default/params.toml30
3 files changed, 100 insertions, 0 deletions
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml
new file mode 100644
index 0000000..ee95858
--- /dev/null
+++ b/config/_default/hugo.toml
@@ -0,0 +1,20 @@
+baseURL = 'http://example.org/'
+copyright = "{year}" # To make 2007 - 2022. Just add before {year} example: 2007 - {year}
+languageCode = 'en-us'
+theme = 'lowkey'
+title = 'Lowkey Hugo'
+enableRobotsTXT = true
+
+# List Config
+summaryLength= 15
+paginate = 5
+
+[markup.highlight]
+ codeFences = false
+ guessSyntax = false
+ hl_Lines = ""
+ lineNoStart = 1
+ lineNos = false
+ lineNumbersInTable = false
+ tabWidth = 4
+ noClasses = false
diff --git a/config/_default/menus.toml b/config/_default/menus.toml
new file mode 100644
index 0000000..04d6ff2
--- /dev/null
+++ b/config/_default/menus.toml
@@ -0,0 +1,50 @@
+[[main]]
+ identifier = "home"
+ name = "Home"
+ url = "/"
+ weight = 1
+
+[[main]]
+ identifier = "posts"
+ name = "Posts"
+ url = "/posts"
+ weight = 2
+
+[[main]]
+ identifier = "categories"
+ name = "Categories"
+ url = "/categories"
+ weight = 3
+
+[[main]]
+ identifier = "tags"
+ name = "Tags"
+ url = "/tags"
+ weight = 4
+
+[[main]]
+ identifier = "donate"
+ name = "Donate"
+ url = "https://ko-fi.com/nixentric"
+ weight = 5
+
+
+# Social Media Configuration
+
+[[social]]
+ identifier = "twitter"
+ name = "Twitter"
+ url = "#"
+ weight = 1
+
+[[social]]
+ identifier = "instagram"
+ name = "Instagram"
+ url = "#"
+ weight = 2
+
+[[social]]
+ identifier = "github"
+ name = "GitHub"
+ url = "#"
+ weight = 3 \ No newline at end of file
diff --git a/config/_default/params.toml b/config/_default/params.toml
new file mode 100644
index 0000000..995e343
--- /dev/null
+++ b/config/_default/params.toml
@@ -0,0 +1,30 @@
+# Homepage Config
+isSinglePage = true
+
+# Meta Config
+description = "Hello"
+
+# Header Configuration
+avatar = "img/profile-picture.jpg"
+
+# disqus is a comment system. see https://disqus.com
+disqusShortname = ""
+
+[emoji]
+enableEmoji = true
+
+ # giscus is a comment system based on GitHub Discussions. see https://giscus.app
+[giscus]
+ enable = false
+ repo = ""
+ repoId = ""
+ category = "Announcements"
+ categoryId = ""
+ # mapping = "pathname" # comment value is the default value
+ # strict = 0
+ # reactionsEnabled = 1
+ # emitMetadata = 0
+ # inputPosition = "top"
+ # theme = "light"
+ # lang = "zh-CN"
+ # lazyLoading = true \ No newline at end of file