Initial setup
This commit is contained in:
14
config/_default/config.toml
Normal file
14
config/_default/config.toml
Normal file
@ -0,0 +1,14 @@
|
||||
# Change baseurl before deploy
|
||||
baseurl = "https://www.akumatic.eu"
|
||||
theme = "stack"
|
||||
|
||||
# Theme i18n support
|
||||
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar
|
||||
defaultContentLanguage = "en"
|
||||
|
||||
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
|
||||
# This will make .Summary and .WordCount behave correctly for CJK languages.
|
||||
hasCJKLanguage = false
|
||||
|
||||
[pagination]
|
||||
pagerSize = 5
|
31
config/_default/languages.toml
Normal file
31
config/_default/languages.toml
Normal file
@ -0,0 +1,31 @@
|
||||
[en]
|
||||
languageName = "English"
|
||||
languagedirection = "ltr"
|
||||
title = "Akumatic"
|
||||
weight = 1
|
||||
|
||||
[en.params.sidebar]
|
||||
subtitle = ""
|
||||
|
||||
[en.params.footer]
|
||||
customText = ""
|
||||
|
||||
[en.params.dateFormat]
|
||||
published = "Jan 02, 2006"
|
||||
lastUpdated = "Jan 02, 2006"
|
||||
|
||||
[de]
|
||||
languageName = "Deutsch"
|
||||
languagedirection = "ltr"
|
||||
title = "Akumatic"
|
||||
weight = 2
|
||||
|
||||
[de.params.sidebar]
|
||||
subtitle = ""
|
||||
|
||||
[de.params.footer]
|
||||
customText = ""
|
||||
|
||||
[de.params.dateFormat]
|
||||
published = "02. January 2006"
|
||||
lastUpdated = "02. January 2006"
|
26
config/_default/markup.toml
Normal file
26
config/_default/markup.toml
Normal file
@ -0,0 +1,26 @@
|
||||
# Markdown renderer configuration
|
||||
[goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[goldmark.extensions.passthrough]
|
||||
enable = true
|
||||
|
||||
# LaTeX math support
|
||||
# https://gohugo.io/content-management/mathematics/
|
||||
[goldmark.extensions.passthrough.delimiters]
|
||||
block = [['\[', '\]'], ['$$', '$$']]
|
||||
inline = [['\(', '\)']]
|
||||
|
||||
[tableOfContents]
|
||||
endLevel = 4
|
||||
ordered = true
|
||||
startLevel = 2
|
||||
|
||||
[highlight]
|
||||
noClasses = false
|
||||
codeFences = true
|
||||
guessSyntax = true
|
||||
lineNoStart = 1
|
||||
lineNos = true
|
||||
lineNumbersInTable = true
|
||||
tabWidth = 4
|
24
config/_default/menu.toml
Normal file
24
config/_default/menu.toml
Normal file
@ -0,0 +1,24 @@
|
||||
# Configure main menu and social menu
|
||||
#[[main]]
|
||||
#identifier = "home"
|
||||
#name = "Home"
|
||||
#url = "/"
|
||||
#[main.params]
|
||||
#icon = "home"
|
||||
#newtab = true
|
||||
|
||||
[[social]]
|
||||
identifier = "github"
|
||||
name = "GitHub"
|
||||
url = "https://github.com/Akumatic"
|
||||
|
||||
[social.params]
|
||||
icon = "brand-github"
|
||||
|
||||
[[social]]
|
||||
identifier = "reddit"
|
||||
name = "Reddit"
|
||||
url = "https://www.reddit.com/user/aku-matic/"
|
||||
|
||||
[social.params]
|
||||
icon = "brand-reddit"
|
90
config/_default/params.toml
Normal file
90
config/_default/params.toml
Normal file
@ -0,0 +1,90 @@
|
||||
# Pages placed under these sections will be shown on homepage and archive page.
|
||||
mainSections = ["post"]
|
||||
# Output page's full content in RSS.
|
||||
rssFullContent = true
|
||||
favicon = "/favicon.png"
|
||||
|
||||
[footer]
|
||||
since = ""
|
||||
|
||||
[dateFormat]
|
||||
published = "Jan 02, 2006"
|
||||
lastUpdated = "Jan 02, 2006 15:04 MST"
|
||||
|
||||
[sidebar]
|
||||
compact = "false"
|
||||
#emoji = "👾"
|
||||
|
||||
[sidebar.avatar]
|
||||
enabled = true
|
||||
local = true
|
||||
src = "img/avatar.png"
|
||||
|
||||
[article]
|
||||
headingAnchor = false
|
||||
math = false
|
||||
readingTime = true
|
||||
|
||||
[article.license]
|
||||
enabled = true
|
||||
default = "Licensed under CC BY-NC-SA 4.0"
|
||||
|
||||
## Widgets
|
||||
[[widgets.homepage]]
|
||||
type = "search"
|
||||
|
||||
[[widgets.homepage]]
|
||||
type = "archives"
|
||||
|
||||
[widgets.homepage.params]
|
||||
limit = 5
|
||||
|
||||
[[widgets.homepage]]
|
||||
type = "categories"
|
||||
|
||||
[widgets.homepage.params]
|
||||
limit = 10
|
||||
|
||||
[[widgets.homepage]]
|
||||
type = "tag-cloud"
|
||||
|
||||
[widgets.homepage.params]
|
||||
limit = 10
|
||||
|
||||
[[widgets.page]]
|
||||
type = "toc"
|
||||
|
||||
[opengraph.twitter]
|
||||
site = ""
|
||||
card = "summary_large_image"
|
||||
|
||||
[defaultImage.opengraph]
|
||||
enabled = false
|
||||
local = false
|
||||
src = ""
|
||||
|
||||
[colorScheme]
|
||||
toggle = true
|
||||
default = "auto"
|
||||
|
||||
[imageProcessing.cover]
|
||||
enabled = true
|
||||
|
||||
[imageProcessing.content]
|
||||
enabled = true
|
||||
|
||||
## Comments
|
||||
[comments]
|
||||
enabled = true
|
||||
provider = "giscus"
|
||||
|
||||
[comments.giscus]
|
||||
repo = "akumatic/blog"
|
||||
repoID = "R_kgDOMwMYrA"
|
||||
category = "Comments"
|
||||
categoryID = "DIC_kwDOMwMYrM4CiY1e"
|
||||
mapping = "pathname"
|
||||
lightTheme = "light"
|
||||
darkTheme = "dark_dimmed"
|
||||
reactionsEnabled = 1
|
||||
emitMetadata = 0
|
3
config/_default/permalinks.toml
Normal file
3
config/_default/permalinks.toml
Normal file
@ -0,0 +1,3 @@
|
||||
# Permalinks format of each content section
|
||||
post = "/p/:slug/"
|
||||
page = "/:slug/"
|
12
config/_default/related.toml
Normal file
12
config/_default/related.toml
Normal file
@ -0,0 +1,12 @@
|
||||
# Related contents configuration
|
||||
includeNewer = true
|
||||
threshold = 60
|
||||
toLower = false
|
||||
|
||||
[[indices]]
|
||||
name = "tags"
|
||||
weight = 100
|
||||
|
||||
[[indices]]
|
||||
name = "categories"
|
||||
weight = 200
|
Reference in New Issue
Block a user