Split configuration, add ko-fi floating button
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
5340631b41
commit
f9b99e3444
68
config.toml
68
config.toml
|
@ -1,68 +0,0 @@
|
||||||
baseURL = 'https://korhonen.cc'
|
|
||||||
languageCode = 'en-us'
|
|
||||||
title = 'Marko Korhonen'
|
|
||||||
theme = 'toha'
|
|
||||||
|
|
||||||
enableEmoji = true
|
|
||||||
enableGitInfo = true
|
|
||||||
|
|
||||||
[languages]
|
|
||||||
|
|
||||||
[languages.en]
|
|
||||||
languageName = "English"
|
|
||||||
weight = 1
|
|
||||||
|
|
||||||
[languages.fi]
|
|
||||||
languageName = "Suomi"
|
|
||||||
weight = 2
|
|
||||||
|
|
||||||
[markup]
|
|
||||||
|
|
||||||
[markup.asciidocExt]
|
|
||||||
workingFolderCurrent = true
|
|
||||||
|
|
||||||
[markup.asciidocExt.attributes]
|
|
||||||
source-highlighter = "rouge"
|
|
||||||
|
|
||||||
[markup.tableOfContents]
|
|
||||||
startLevel = 2
|
|
||||||
endLevel = 6
|
|
||||||
ordered = false
|
|
||||||
|
|
||||||
[params]
|
|
||||||
enableBlogPost = false
|
|
||||||
enableTOC = false
|
|
||||||
background = "images/vincentiu-solomon-ln5drpv_ImI-unsplash.jpg"
|
|
||||||
|
|
||||||
[params.newsletter]
|
|
||||||
enable = false
|
|
||||||
|
|
||||||
[params.darkMode]
|
|
||||||
provider = "darkreader"
|
|
||||||
enable = true
|
|
||||||
default = "system"
|
|
||||||
|
|
||||||
[params.features.comment]
|
|
||||||
enable = true
|
|
||||||
|
|
||||||
[params.features.comment.giscus]
|
|
||||||
repo = "FunctionalHacker/korhonen.cc"
|
|
||||||
repoID = "R_kgDOHfIUew"
|
|
||||||
category = "Announcements"
|
|
||||||
categoryID = "DIC_kwDOHfIUe84CPnO-"
|
|
||||||
theme = "preferred_color_scheme"
|
|
||||||
|
|
||||||
[security]
|
|
||||||
enableInlineShortcodes = false
|
|
||||||
|
|
||||||
[security.exec]
|
|
||||||
allow = ['^asciidoctor$', '^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']
|
|
||||||
osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']
|
|
||||||
|
|
||||||
[security.funcs]
|
|
||||||
getenv = ['^HUGO_']
|
|
||||||
|
|
||||||
[security.http]
|
|
||||||
methods = ['(?i)GET|POST']
|
|
||||||
|
|
||||||
urls = ['.*']
|
|
9
config/_default/config.toml
Normal file
9
config/_default/config.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
baseURL = 'https://korhonen.cc'
|
||||||
|
languageCode = 'en-us'
|
||||||
|
title = 'Marko Korhonen'
|
||||||
|
theme = 'toha'
|
||||||
|
|
||||||
|
enableEmoji = true
|
||||||
|
enableGitInfo = true
|
||||||
|
|
||||||
|
urls = ['.*']
|
7
config/_default/languages.toml
Normal file
7
config/_default/languages.toml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[en]
|
||||||
|
languageName = "English"
|
||||||
|
weight = 1
|
||||||
|
|
||||||
|
[fi]
|
||||||
|
languageName = "Suomi"
|
||||||
|
weight = 2
|
10
config/_default/markup.toml
Normal file
10
config/_default/markup.toml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[asciidocExt]
|
||||||
|
workingFolderCurrent = true
|
||||||
|
|
||||||
|
[asciidocExt.attributes]
|
||||||
|
source-highlighter = "rouge"
|
||||||
|
|
||||||
|
[tableOfContents]
|
||||||
|
startLevel = 2
|
||||||
|
endLevel = 6
|
||||||
|
ordered = false
|
6
config/_default/params.fi.toml
Normal file
6
config/_default/params.fi.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[features.support]
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
[features.support.kofi]
|
||||||
|
user = "functionalhacker"
|
||||||
|
text = "Anna tippiä"
|
28
config/_default/params.toml
Normal file
28
config/_default/params.toml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
enableBlogPost = false
|
||||||
|
enableTOC = false
|
||||||
|
background = "images/vincentiu-solomon-ln5drpv_ImI-unsplash.jpg"
|
||||||
|
|
||||||
|
[newsletter]
|
||||||
|
enable = false
|
||||||
|
|
||||||
|
[darkMode]
|
||||||
|
provider = "darkreader"
|
||||||
|
enable = true
|
||||||
|
default = "system"
|
||||||
|
|
||||||
|
[features.comment]
|
||||||
|
enable = true
|
||||||
|
|
||||||
|
[features.comment.giscus]
|
||||||
|
repo = "FunctionalHacker/korhonen.cc"
|
||||||
|
repoID = "R_kgDOHfIUew"
|
||||||
|
category = "Announcements"
|
||||||
|
categoryID = "DIC_kwDOHfIUe84CPnO-"
|
||||||
|
theme = "preferred_color_scheme"
|
||||||
|
|
||||||
|
[features.support]
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
[features.support.kofi]
|
||||||
|
user = "functionalhacker"
|
||||||
|
text = "Tip me"
|
12
config/_default/security.toml
Normal file
12
config/_default/security.toml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
enableInlineShortcodes = false
|
||||||
|
|
||||||
|
[exec]
|
||||||
|
allow = ['^asciidoctor$', '^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']
|
||||||
|
osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']
|
||||||
|
|
||||||
|
[funcs]
|
||||||
|
getenv = ['^HUGO_']
|
||||||
|
|
||||||
|
[http]
|
||||||
|
methods = ['(?i)GET|POST']
|
||||||
|
|
1
content/pgp/featured.jpg
Symbolic link
1
content/pgp/featured.jpg
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
hero.jpg
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: PGP
|
title: PGP
|
||||||
|
description: Information about my PGP key
|
||||||
date: 2022-03-25
|
date: 2022-03-25
|
||||||
|
featured_image: hero.jpg
|
||||||
---
|
---
|
||||||
= PGP
|
= PGP
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: PGP
|
title: PGP
|
||||||
|
description: Tietoa PGP avaimestani
|
||||||
date: 2022-06-10
|
date: 2022-06-10
|
||||||
---
|
---
|
||||||
= PGP
|
= PGP
|
||||||
|
|
Loading…
Reference in a new issue