Update toha theme to v4
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Marko Korhonen 2024-01-26 22:28:35 +02:00
parent 00bb334293
commit 7bdd8253d3
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
15 changed files with 4362 additions and 350 deletions

View file

@ -1,11 +1,8 @@
baseURL = 'https://korhonen.cc'
languageCode = 'en-us'
title = 'Marko Korhonen'
theme = 'toha'
enableEmoji = true
enableGitInfo = true
urls = ['.*']
staticDir = "assets"

View file

@ -0,0 +1,18 @@
[[imports]]
path = "github.com/hugo-toha/toha/v4"
[[mounts]]
source = "static/files"
target = "static/files"
[[mounts]]
source = "./node_modules/flag-icon-css/flags"
target = "static/flags"
[[mounts]]
source = "./node_modules/@fontsource/mulish/files"
target = "static/files"
[[mounts]]
source = "./node_modules/katex/dist/fonts"
target = "static/fonts"

View file

@ -1,6 +1,4 @@
enableBlogPost = true
enableTOC = true
background = "images/vincentiu-solomon-ln5drpv_ImI-unsplash.jpg"
background = "/images/vincentiu-solomon-ln5drpv_ImI-unsplash.jpg"
description = "Personal website and portfolio"
gitRepo = "https://git.korhonen.cc/FunctionalHacker/korhonen.cc"
@ -10,20 +8,20 @@ gitForge = "gitea"
[newsletter]
enable = false
[darkMode]
provider = "darkreader"
enable = true
default = "system"
[logo]
main = "images/marko.png"
inverted = "images/marko.png"
favicon = "favicon-32x32.png"
main = "/images/marko.png"
inverted = "/images/marko.png"
favicon = "/favicon-32x32.png"
[features.toc]
enable = true
[features.darkMode]
enable = true
[features.comment]
enable = true
[features.comment.giscus]
[features.comment.services.giscus]
repo = "FunctionalHacker/korhonen.cc"
repoID = "R_kgDOHfIUew"
category = "Announcements"
@ -31,11 +29,10 @@ categoryID = "DIC_kwDOHfIUe84CPnO-"
theme = "preferred_color_scheme"
[features.support]
enabled = true
enabled = false
[features.blog]
enable = true
[features.blog.sharebuttons]
facebook = true
twitter = true