From 1d3a12a4b76711c5b336e85e93415c4d191311d1 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Tue, 19 Jul 2022 13:57:13 +0300 Subject: [PATCH] Enable blog and start writing a draft for the first post --- config/_default/markup.toml | 4 +- config/_default/params.toml | 15 ++++++- content/posts/_index.adoc | 3 ++ content/posts/creating_this_site/index.adoc | 14 +++++++ content/posts/hugo-and-jekyll.adoc | 43 --------------------- 5 files changed, 32 insertions(+), 47 deletions(-) create mode 100644 content/posts/_index.adoc create mode 100644 content/posts/creating_this_site/index.adoc delete mode 100644 content/posts/hugo-and-jekyll.adoc diff --git a/config/_default/markup.toml b/config/_default/markup.toml index da9bf18..1690592 100644 --- a/config/_default/markup.toml +++ b/config/_default/markup.toml @@ -5,6 +5,6 @@ workingFolderCurrent = true source-highlighter = "rouge" [tableOfContents] -startLevel = 2 -endLevel = 6 +startLevel = 1 +endLevel = 2 ordered = false diff --git a/config/_default/params.toml b/config/_default/params.toml index 8a93b4d..ad0de0e 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,5 +1,5 @@ -enableBlogPost = false -enableTOC = false +enableBlogPost = true +enableTOC = true background = "images/vincentiu-solomon-ln5drpv_ImI-unsplash.jpg" [newsletter] @@ -26,3 +26,14 @@ enabled = true [features.support.kofi] user = "functionalhacker" text = "Tip me" + +[features.blog] +enable = true + +[features.blog.sharebuttons] +facebook = true +twitter = true +linkedin = true +reddit = true +whatsapp = true +email = true diff --git a/content/posts/_index.adoc b/content/posts/_index.adoc new file mode 100644 index 0000000..76fa783 --- /dev/null +++ b/content/posts/_index.adoc @@ -0,0 +1,3 @@ +--- +title: Posts +--- diff --git a/content/posts/creating_this_site/index.adoc b/content/posts/creating_this_site/index.adoc new file mode 100644 index 0000000..57a66a4 --- /dev/null +++ b/content/posts/creating_this_site/index.adoc @@ -0,0 +1,14 @@ +--- +title: Creating this site +description: My journey with AsciiDoc and Hugo, and how we got here +date: 2022-07-19 +draft: true +--- +:toc: += Creating this site +Marko Korhonen +v1.0, 2022-07-19 + +== Introduction +As seems to be customary on technology related blogs, the first post about creating the blog itself. +So here we are, this is the first post in my blog, detailing the steps I took to arrive here. diff --git a/content/posts/hugo-and-jekyll.adoc b/content/posts/hugo-and-jekyll.adoc deleted file mode 100644 index 6a6516f..0000000 --- a/content/posts/hugo-and-jekyll.adoc +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: Hugo and Jekyll -date: 2022-03-23 -draft: true ---- -= Hugo and Jekyll -Marko Korhonen -v1.0, 2022-03-23 - -== Testing AsciiDoc in progress - -_Corrupti nesciunt_ rerum numquam. Sapiente impedit laudantium quisquam. Excepturi corporis aspernatur provident dolores voluptas et corrupti. Alias esse deserunt quas. Inventore quam voluptatem culpa et consequuntur. - -Aut iusto explicabo *labore* ut ex officiis. Rerum quia et beatae incidunt. Ipsum in eius quis itaque. Aperiam voluptatem magnam molestias. - -Et architecto consequatur tempore voluptates laborum. Vel hic et et odio qui accusantium. Autem sed earum distinctio. - -Ut repellendus aut commodi facere non quis et ut. Consectetur recusandae recusandae non. Laudantium qui et ipsam veniam eaque. - -Quis aut quidem rerum. Voluptatibus repudiandae dolores nihil minima blanditiis accusamus vel non. Facere earum quia nam sunt ut voluptas et. Distinctio quis nisi facere eos quisquam consequatur rerum aperiam. - -=== Subheading - -Et architecto consequatur tempore voluptates laborum. Vel hic et et odio qui accusantium. Autem sed earum distinctio. - -Ut repellendus aut commodi facere non quis et ut. Consectetur recusandae recusandae non. Laudantium qui et ipsam veniam eaque. - -Quis aut quidem rerum. Voluptatibus repudiandae dolores nihil minima blanditiis accusamus vel non. Facere earum quia nam sunt ut voluptas et. Distinctio quis nisi facere eos quisquam consequatur rerum aperiam. - -== Second heading - -Corrupti nesciunt rerum numquam. Sapiente impedit laudantium quisquam. Excepturi corporis aspernatur provident dolores voluptas et corrupti. Alias esse deserunt quas. Inventore quam voluptatem culpa et consequuntur. - -Aut iusto explicabo labore ut ex officiis. Rerum quia et beatae incidunt. Ipsum in eius quis itaque. Aperiam voluptatem magnam molestias. - -.Code block test -[source,java] ----- -[security.exec] -allow = ['^asciidoctor$', '^dart-sass-embedded$', '^go$', '^npx$', '^postcss$'] ----- - -Another paragraph here.