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/linkita"]
path = themes/linkita
url = https://codeberg.org/salif/linkita.git
116 changes: 112 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,20 @@ base_url = "https://creberust.github.io/"
title = "Creberust Blog"
description = "Personal Blog made with love for Rustaceans"

author = "Benjamin \"creberust\" Peter"
# The default language; used in feeds.
default_language = "en"

# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
# Set the theme
theme = "linkita"

# Author of the site
author = "creberust"

# Automatically generate a feed. (type: boolean;)
generate_feeds = true

# The filenames to use for the feeds. (type: array of strings;)
feed_filenames = ["rss.xml"]

# Whether to build a search index to be used later on by a JavaScript library
build_search_index = true
Expand All @@ -19,4 +29,102 @@ build_search_index = true
highlight_code = true

[extra]
# Put all your custom variables here
# Enable KaTeX math formula support globally.
# (type: boolean; default value: `false`;)
math = true

# Enable Mermaid support globally.
# (type: boolean; default value: `false`;)
mermaid = true

# Enable comments globally.
# (type: boolean; default value: `false`;)
comment = false

# Title separator.
# (type: string; default value: ` | `;)
title_separator = " | "

# The top menu. See `extra.menus`.
# (type: string; no default value;)
header_menu_name = "menu_name"

# (type: boolean; default value: false;)
disable_default_favicon = false

# (type: boolean; default value: false;)
disable_javascript = false

# (type: boolean; default value: false;)
use_cdn = false

# You can reorder the strings, remove them, or replace them.
# For example, you can replace `site_title` with `home_button`.
# (type: array of strings; default value: `["site_title", "theme_button", "search_button", "translations_button"]`;)
# header_buttons = []

# Valid values:
# `date`, `date_on_page`, `date_on_paginator`,
# `date_updated, `date_updated_on_page, `date_updated_on_paginator`,
# `reading_time, `reading_time_on_page, `reading_time_on_paginator`,
# `word_count`, `word_count_on_page`, `word_count_on_paginator`,
# `authors`, `authors_on_page`, `authors_on_paginator`,
# `tags`, `tags_on_page`, `tags_on_paginator`.
# (type: array of strings; default value: `["date", "date_updated_on_page", "reading_time", "authors"]`;)
# page_info = []

[extra.style]
# The custom background color. (type: string;)
bg_color = "#f4f4f5"
# The custom background color in dark mode. (type: string;)
bg_dark_color = "#18181b"

# Enable header blur. (type: boolean;)
header_blur = false

# The custom header color, only available
# when `header_blur` is false. (type: string;)
header_color = "#e4e4e7"
# The custom header color in dark mode, only available
# when `header_blur` is false. (type: string;)
header_dark_color = "#27272a"

[extra.menus]
menu_name = [
{ url = "$BASE_URL/pages/archive/", name = "Archive" },
{ url = "$BASE_URL/categories", name = "Categories" },
{ url = "$BASE_URL/tags/", name = "Tags" },
{ url = "$BASE_URL/pages/about/", name = "About" },
]

[extra.footer]
# Replace with the correct year.
# (type: number; default value: current year;)
since = 2025

# Replace with the url of the license you want.
# (type: string; no default value; supports `$BASE_URL`;)
license_url = "https://creativecommons.org/licenses/by-sa/4.0/deed"

# Replace `Your Name` with your name and `CC BY-SA 4.0` with the name of the license you want
copyright = "© $YEAR Benjamin \"creberust\" Peter | [CC BY-SA 4.0]($LICENSE_URL)"

# (type: string; no default value; supports `$BASE_URL`;)
# privacy_policy_url = "$BASE_URL/privacy-policy/"

# (type: string; no default value; supports `$BASE_URL`;)
# terms_of_service_url = "$BASE_URL/terms-of-service/"

# (type: string; no default value; supports `$BASE_URL`;)
# search_page_url = "$BASE_URL/search/"

[extra.profiles]

[extra.profiles.creberust]
name = "Creberust"
bio = "Hello World!"
email = "bpeter@tuta.com"
social = [
{ name = "github", url = "https://github.com/creberust" },
{ name = "bluesky", url = "https://bsky.app/profile/bpeter98.bsky.social" },
]
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"
sort_by = "date"
template = "blog.html"
page_template = "blog-page.html"
+++
paginate_by = 5
[extra]
profile = "creberust"
+++
6 changes: 0 additions & 6 deletions content/blog/first.md

This file was deleted.

4 changes: 4 additions & 0 deletions content/pages/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
+++
render = false
page_template = "pages.html"
+++
5 changes: 5 additions & 0 deletions content/pages/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "About me"
# description = ""
# path = "about"
+++
8 changes: 8 additions & 0 deletions content/pages/archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
title = "Archive"
# description = ""
# path = "archive"
template = "archive.html"
[extra]
section = "_index.md"
+++
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/linkita
Submodule linkita added at e04c5a