From 6e6de56be471c127a39614cde472133b2ac4504c Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sat, 3 Feb 2024 19:44:21 +0200 Subject: [PATCH] Tweak asciidoc config --- config/_default/config.toml | 2 +- config/_default/markup.toml | 3 +++ config/_default/params.toml | 3 +++ content/posts/creating_this_site/index.fi.adoc | 1 - content/posts/migrate_misskey_root_account/index.adoc | 1 - content/posts/migrate_misskey_root_account/index.fi.adoc | 1 - 6 files changed, 7 insertions(+), 4 deletions(-) diff --git a/config/_default/config.toml b/config/_default/config.toml index 57aed01..f1a07c1 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -3,6 +3,6 @@ languageCode = 'en-us' title = 'Marko Korhonen' enableEmoji = true -enableGitInfo = false +enableGitInfo = true urls = ['.*'] diff --git a/config/_default/markup.toml b/config/_default/markup.toml index 3364bbf..a8d50cf 100644 --- a/config/_default/markup.toml +++ b/config/_default/markup.toml @@ -1,8 +1,11 @@ [asciidocExt] workingFolderCurrent = true +extensions = ["asciidoctor-html5s"] +backend = "html5s" [asciidocExt.attributes] source-highlighter = "rouge" +toc = true [tableOfContents] startLevel = 1 diff --git a/config/_default/params.toml b/config/_default/params.toml index 30c1c92..bdc14b9 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -46,3 +46,6 @@ linkedin = true reddit = true whatsapp = true email = true + +[params.features.readingTime] +enable = true diff --git a/content/posts/creating_this_site/index.fi.adoc b/content/posts/creating_this_site/index.fi.adoc index 0dde537..194d102 100644 --- a/content/posts/creating_this_site/index.fi.adoc +++ b/content/posts/creating_this_site/index.fi.adoc @@ -8,7 +8,6 @@ menu: name: Tämän sivun luominen identifier: creating_this_site --- -:toc: = Tämän sivuston luominen Marko Korhonen v1.0, 2022-09-14 diff --git a/content/posts/migrate_misskey_root_account/index.adoc b/content/posts/migrate_misskey_root_account/index.adoc index ce840d4..3dbff42 100644 --- a/content/posts/migrate_misskey_root_account/index.adoc +++ b/content/posts/migrate_misskey_root_account/index.adoc @@ -8,7 +8,6 @@ menu: name: Migrate Misskey root account identifier: migrate_misskey_root_account --- -:toc: = Migrate Misskey root account I recently migrated my single user Fediverse server from https://misskey-hub.net[Misskey] to https://joinfirefish.org[Firefish]. diff --git a/content/posts/migrate_misskey_root_account/index.fi.adoc b/content/posts/migrate_misskey_root_account/index.fi.adoc index 4af82c5..3ef09dc 100644 --- a/content/posts/migrate_misskey_root_account/index.fi.adoc +++ b/content/posts/migrate_misskey_root_account/index.fi.adoc @@ -9,7 +9,6 @@ menu: name: Misskeyn root-tilin migraatio identifier: migrate_misskey_root_account --- -:toc: = Misskeyn root-tilin migraatio Vaihdoin äskettäin yhden käyttäjän Fediverse-palvelimeni https://misskey-hub.net[Misskey]stä https://joinfirefish.org[Firefish]iin.