diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..3a07023 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/terminimal"] + path = themes/terminimal + url = https://github.com/pawroman/zola-theme-terminimal.git diff --git a/config.toml b/config.toml index 65bff82..d27fea4 100644 --- a/config.toml +++ b/config.toml @@ -7,16 +7,89 @@ description = "Personal Blog made with love for Rustaceans" author = "Benjamin \"creberust\" Peter" +theme = "terminimal" + +default_language = "en" + # Whether to automatically compile all Sass files in the sass directory compile_sass = true # Whether to build a search index to be used later on by a JavaScript library build_search_index = true +# The theme supports feeds (RSS and ATOM) +generate_feeds = true + +# Use `rss.xml` for RSS feeds and `atom.xml` for ATOM. +feed_filenames = ["rss.xml", "atom.xml"] + +taxonomies = [{ name = "tags" }] + [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 [extra] -# Put all your custom variables here + +# One of: blue, green, orange, pink, red. +# Defaults to blue. +# Append -light for light themes, e.g. blue-light +# Or append -auto, e.g. blue-auto +accent_color = "orange" + +# One of: blue, dark, green, orange, pink, red, light, auto +# Enabling dark background will also modify primary font color to be darker. +# Defaults to accent color (or, if not accent color specified, to blue). +background_color = "dark" + + +# The logo text - defaults to "Terminimal theme" +logo_text = "Creberust Blog" + +# Author name: when specified, modifies the default +# copyright text. Apart from author, it will +# contain current year and a link to the theme. +author = "Benjamin \"creberust\" Peter" + + +# Copyright text in HTML format. If specified, +# entirely replaces default copyright and author. +#copyright_html = "My custom copyright" + +# menu is enabled by adding menu_items (optional) +menu_items = [ + # each of these is optional, name and url are required + # $BASE_URL is going to be substituted by base_url from configuration + { name = "blog", url = "$BASE_URL/blog" }, + + # tags should only be enabled if you have "tags" taxonomy + # see documentation below for more details + { name = "tags", url = "$BASE_URL/tags" }, + { name = "archive", url = "$BASE_URL/archive" }, + { name = "about", url = "$BASE_URL/about" }, + + # set newtab to true to make the link open in new tab + { name = "github", url = "https://github.com/creberust", newtab = true }, + { name = "bluesky", url = "https://bsky.app/profile/bpeter98.bsky.social", newtab = true }, +] + +# Whether to show links to earlier and later posts +# on each post page (defaults to true). +enable_post_view_navigation = true + +# The text shown at the bottom of a post, +# before earlier/later post links. +# Defaults to "Thanks for reading! Read other posts?" +post_view_navigation_prompt = "Read more" + +# Optional: Set how
{{ page.date }}
-{{ page.content | safe }} -{% endblock content %} \ No newline at end of file diff --git a/templates/blog.html b/templates/blog.html deleted file mode 100644 index 67bacc9..0000000 --- a/templates/blog.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -Click here to see my posts.
-{% endblock content %} diff --git a/themes/terminimal b/themes/terminimal new file mode 160000 index 0000000..7f630a4 --- /dev/null +++ b/themes/terminimal @@ -0,0 +1 @@ +Subproject commit 7f630a4e319c089f27b6704e622b38d874406381