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] 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.