107 lines
2.9 KiB
TOML
107 lines
2.9 KiB
TOML
baseURL= "https://fosscat.com/"
|
|
defaultContentLanguage = "en-us"
|
|
title = "Foss Cat"
|
|
theme = "gokarna"
|
|
enableRobotsTXT= true
|
|
enableEmoji = true
|
|
# pygmentsStyle = "catppuccin-frappe"
|
|
|
|
[params]
|
|
accentColor = "#D8B56D"
|
|
socialIcons = [
|
|
{name = "gitea", url = "https://git.fosscat.com/n8r"},
|
|
{name = "twitch", url = "https://twitch.tv/fosscat"},
|
|
{name = "youtube", url = ""},
|
|
{name = "rss", url = "https://fosscat.com/index.xml"},
|
|
]
|
|
# <link> tags for favicon support
|
|
customHeadHTML = '''
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
<!-- Maple Mono font via fontsource CDN -->
|
|
<style>
|
|
@font-face {
|
|
font-family: 'Maple Mono';
|
|
font-style: normal;
|
|
font-display: swap;
|
|
font-weight: 400;
|
|
src: url(https://cdn.jsdelivr.net/fontsource/fonts/maple-mono@latest/latin-400-normal.woff2) format('woff2'),
|
|
url(https://cdn.jsdelivr.net/fontsource/fonts/maple-mono@latest/latin-400-normal.woff) format('woff');
|
|
}
|
|
@font-face {
|
|
font-family: 'Maple Mono';
|
|
font-style: normal;
|
|
font-display: swap;
|
|
font-weight: 700;
|
|
src: url(https://cdn.jsdelivr.net/fontsource/fonts/maple-mono@latest/latin-700-normal.woff2) format('woff2'),
|
|
url(https://cdn.jsdelivr.net/fontsource/fonts/maple-mono@latest/latin-700-normal.woff) format('woff');
|
|
}
|
|
@font-face {
|
|
font-family: 'Maple Mono';
|
|
font-style: italic;
|
|
font-display: swap;
|
|
font-weight: 400;
|
|
src: url(https://cdn.jsdelivr.net/fontsource/fonts/maple-mono@latest/latin-400-italic.woff2) format('woff2'),
|
|
url(https://cdn.jsdelivr.net/fontsource/fonts/maple-mono@latest/latin-400-italic.woff) format('woff');
|
|
}
|
|
html, body, code, pre, .post-content, .post-title {
|
|
font-family: 'Maple Mono', monospace !important;
|
|
}
|
|
</style>
|
|
'''
|
|
# customFooterHTML = '<p>foot123</p>'
|
|
togglePreviousAndNextButtons = "true"
|
|
avatarUrl = "/images/fosscat_icon.png"
|
|
avatarSize = "size-s"
|
|
numberPostsOnHomePage = 5
|
|
showPostsOnHomePage = "recent"
|
|
|
|
[params.meta]
|
|
favicon = true
|
|
svg = false
|
|
|
|
# Show table of contents
|
|
[markup]
|
|
[markup.tableOfContents]
|
|
startLevel = 1
|
|
endLevel = 3
|
|
ordered = false
|
|
[markup.highlight]
|
|
noClasses = false
|
|
|
|
[menu]
|
|
[[menu.main]]
|
|
name = "Home"
|
|
url = "/"
|
|
weight = 1
|
|
[[menu.main]]
|
|
name = "Posts"
|
|
url = "/posts/"
|
|
weight = 2
|
|
[[menu.main]]
|
|
name = "Projects"
|
|
url = "/projects/"
|
|
weight = 4
|
|
[[menu.main]]
|
|
name = "Tags"
|
|
url= "/tags/"
|
|
weight= 5
|
|
[[menu.main]]
|
|
identifier = "Gitea"
|
|
url = "https://git.fosscat.com/n8r/fosscat-site"
|
|
weight = 6
|
|
# Add Icon
|
|
pre = "<span data-feather='code'></span>"
|
|
[[menu.main]]
|
|
identifier = "RSS"
|
|
url = "https://fosscat.com/index.xml"
|
|
weight = 6
|
|
# Add Icon
|
|
pre = "<span data-feather='rss'></span>"
|
|
|
|
# Enable raw HTML
|
|
[markup.goldmark.renderer]
|
|
unsafe=true
|