Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/terminimal"]
path = themes/terminimal
url = https://github.com/pawroman/zola-theme-terminimal.git
75 changes: 74 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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&nbsp;<b>copyright</b>"

# 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 <title> elements are rendered.
# Values:
# - "main_only" -- only the main title (`config.title`) is rendered.
# - "page_only" -- only the page title (if defined) is rendered,
# falling back to `config.title` if not defined or empty.
# - "combined" -- combine like so: "page_title | main_title",
# or if page_title is not defined or empty, fall back to `main_title`
#
# Note that the main (index) page only has the main title.
page_titles = "combined"
8 changes: 4 additions & 4 deletions content/blog/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "List of blog posts"
# number of pages to paginate by
paginate_by = 2
# sorting order for pagination
sort_by = "date"
template = "blog.html"
page_template = "blog-page.html"
+++
+++
6 changes: 0 additions & 6 deletions content/blog/first.md

This file was deleted.

8 changes: 8 additions & 0 deletions content/blog/hello-world.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
title = "Hello World!"
date = 2025-03-21
[taxonomies]
tags = ["zola", "theme", "blog"]
+++

Hello World!
3 changes: 3 additions & 0 deletions content/pages/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
+++
render = false
+++
6 changes: 6 additions & 0 deletions content/pages/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+++
title = "About Me"
path = "about"
+++

Hello, World!
18 changes: 0 additions & 18 deletions templates/base.html

This file was deleted.

9 changes: 0 additions & 9 deletions templates/blog-page.html

This file was deleted.

13 changes: 0 additions & 13 deletions templates/blog.html

This file was deleted.

25 changes: 0 additions & 25 deletions templates/footer.html

This file was deleted.

8 changes: 0 additions & 8 deletions templates/index.html

This file was deleted.

1 change: 1 addition & 0 deletions themes/terminimal
Submodule terminimal added at 7f630a