From 27341812d3401337c8c7e45b8d9686a3db91fd04 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 22 Sep 2023 09:19:27 +0200 Subject: feat: Use lowkey theme --- config/_default/hugo.toml | 20 ++++++++++++++++++ config/_default/menus.toml | 50 +++++++++++++++++++++++++++++++++++++++++++++ config/_default/params.toml | 30 +++++++++++++++++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 config/_default/hugo.toml create mode 100644 config/_default/menus.toml create mode 100644 config/_default/params.toml (limited to 'config') 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 -- cgit v1.3