From e00f0d0b93983156cdea6f15eec4446697b24fca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=B6rcs=C3=B6k=20Bal=C3=A1zs=20R=C3=B3bert?= Date: Mon, 8 Jan 2024 15:47:10 +0100 Subject: [PATCH 1/2] Added dose theme and enabled it. --- .gitmodules | 3 +++ config.toml | 1 + themes/dose | 1 + 3 files changed, 5 insertions(+) create mode 160000 themes/dose diff --git a/.gitmodules b/.gitmodules index e69de29..1f293d7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/dose"] + path = themes/dose + url = https://github.com/oltdaniel/dose.git diff --git a/config.toml b/config.toml index 48ca807..54f393e 100644 --- a/config.toml +++ b/config.toml @@ -8,6 +8,7 @@ compile_sass = true build_search_index = true #theme="anemone" # TODO: Make this theme work when building GH pages. +theme = "dose" [markdown] # Whether to do syntax highlighting diff --git a/themes/dose b/themes/dose new file mode 160000 index 0000000..cd84a10 --- /dev/null +++ b/themes/dose @@ -0,0 +1 @@ +Subproject commit cd84a109bd412889978fbaace24e8f6dac738a58 From a0fa10485c31acc2ea46abec99568bf62f9f91b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=B6rcs=C3=B6k=20Bal=C3=A1zs=20R=C3=B3bert?= Date: Mon, 8 Jan 2024 16:49:23 +0100 Subject: [PATCH 2/2] WIP, theme works, blogs only show through tags? --- config.toml | 14 ++++++++++++-- content/blog/_index.md | 3 +++ content/blog/hello-blog.md | 10 ++++++++++ templates/parts/me.html | 2 ++ 4 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 content/blog/_index.md create mode 100644 content/blog/hello-blog.md create mode 100644 templates/parts/me.html diff --git a/config.toml b/config.toml index 54f393e..4763520 100644 --- a/config.toml +++ b/config.toml @@ -7,14 +7,24 @@ compile_sass = true # Whether to build a search index to be used later on by a JavaScript library build_search_index = true -#theme="anemone" # TODO: Make this theme work when building GH pages. theme = "dose" +taxonomies = [ + { name = "tags", paginate_by = 5, feed = true }, +] + [markdown] # Whether to do syntax highlighting # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = true +highlight_theme = "visual-studio-dark" [extra] # Put all your custom variables here -# twitter_card = false # Used for anemone +social_media = [ + { name = "GitHub", url = "https://github.com/IPlayZed" }, + { name = "LinkedIn", url = "https://www.linkedin.com/in/balazs-borcsok-ptr/" }, + { name = "StackOverflow", url = "https://stackoverflow.com/users/10653163/bal%c3%a1zs-b%c3%b6rcs%c3%b6k", rel = "me" }, + { name = "Cloud", url = "https://amazingmonkey.ddns.net" } +] +default_theme = "light" diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 0000000..8bc0069 --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,3 @@ ++++ +sort_by = "date" ++++ diff --git a/content/blog/hello-blog.md b/content/blog/hello-blog.md new file mode 100644 index 0000000..5bdf1af --- /dev/null +++ b/content/blog/hello-blog.md @@ -0,0 +1,10 @@ ++++ +title = "Starting my blog" +date = 2024-01-08 +updated = 2024-01-08 +description = "the first blogpost" +[taxonomies] +tags = ["hello-world", "zola"] ++++ + +My main problem with learning about computers is that I never got to *really* tell anyone about it diff --git a/templates/parts/me.html b/templates/parts/me.html new file mode 100644 index 0000000..161383c --- /dev/null +++ b/templates/parts/me.html @@ -0,0 +1,2 @@ + +

Hi, this is me. I write about tech, programming and engineering.