From deba681f07866c33142efe4ac3c6882fda3f3596 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 11 Sep 2026 22:04:35 +0200 Subject: src/content: Update to keep up-to-date with new theme --- src/config.toml | 50 ++++++++++++++++----- src/content/_index.md | 7 --- src/content/blog/_index.md | 2 +- src/content/writings/_index.md | 2 +- src/content/writings/kant-and-free-software.pdf | Bin 318521 -> 0 bytes .../writings/kant-and-free-software.pdf.base | Bin 0 -> 318521 bytes src/content/writings/raman-spectroscopy.pdf | Bin 16284404 -> 0 bytes src/content/writings/raman-spectroscopy.pdf.base | Bin 0 -> 16284404 bytes src/highlight_themes | 1 - 9 files changed, 40 insertions(+), 22 deletions(-) delete mode 100644 src/content/writings/kant-and-free-software.pdf create mode 100644 src/content/writings/kant-and-free-software.pdf.base delete mode 100644 src/content/writings/raman-spectroscopy.pdf create mode 100644 src/content/writings/raman-spectroscopy.pdf.base delete mode 120000 src/highlight_themes (limited to 'src') diff --git a/src/config.toml b/src/config.toml index 69ac342..3b10361 100644 --- a/src/config.toml +++ b/src/config.toml @@ -26,45 +26,71 @@ taxonomies = [ ] [markdown] -highlight_code = true -highlight_theme = "css" -extra_syntaxes_and_themes = ["highlight_themes"] -highlight_themes_css = [ - { theme = "serene-light", filename = "hl-light.css" }, - { theme = "serene-dark", filename = "hl-dark.css" }, -] render_emoji = false external_links_target_blank = false external_links_no_follow = true external_links_no_referrer = true smart_punctuation = false +[markdown.highlighting] +error_on_missing_language = true + +style = "class" +light_theme = "github-light" +dark_theme = "github-dark" + + [slugify] paths = "on" taxonomies = "on" anchors = "on" #========================================================================================= - [extra] - -sections = [ +nav = [ { name = "blog", path = "/blog", is_external = false }, { name = "writings", path = "/writings", is_external = false }, { name = "contact", path = "/contact", is_external = false }, { name = "git", path = "https://git.foss-syndicate.org/bpeetz", is_external = true }, ] + +# Your info on the home page, if you don't want to display handle/bio/avatar, simply comment out that line +name = "Soispha Peetz" +handle = "soispha" +# bio = "dog person, killer" +# avatar = "img/avatar.webp" + +links = [ + { name = "Git", icon = "git", url = "https://git.foss-syndicate.org/bpeetz" }, + { name = "Email", icon = "email", url = "mailto:soispha@b-peetz.de" }, + { name = "Matrix", icon = "matrix", url = "https://matrix.to/#/@soispha:matrix.vhack.eu" }, + { name = "Signal", icon = "signal", url = "https://signal.me/#eu/0VgltiXf19Tu_tRdpucNYYHXo26LGd2az_w_SHPD_qrUe2xOlMZHybrLzM_-NoKu" }, +] blog_section_path = "/blog" back_link_text = "Back" # Text of the back button -force_theme = false # false | "light" | "dark" +color_scheme = "auto" # "auto" | "light" | "dark" + +# og_image = "img/og.png" # The default image for social media sharing (Open Graph), a path in static folder or a full URL footer_copyright = "© 2025 Soispha Peetz" -footer_credits = true # Whether to show "Built with zola and serene" in footer +footer_credits = true # Whether to show "Built with zola and serene" in footer not_found_error_text = "404 Not Found" not_found_recover_text = "« back to home »" +# Site-wide default values of display options, can be overridden in a section's `_index.md`, and again in a post's front-matter +date_format = "%b %-d, %Y" +toc = true # show table-of-contents +code_copy = true # show copy button in code block +comment = false # enable comment +math = false # enable formula rendering with KaTeX +mermaid = false # enable chart rendering with Mermaid +outdated_alert = true # show outdate alert after certain days +outdated_alert_days = 256 +outdated_alert_text_before = "This article was last updated " +outdated_alert_text_after = " days ago and may be out of date." + reaction = false # Whether to enable anonymous emoji reactions (Note: You need to set up a working api endpoint to enable this feature) reaction_align = "right" # "left" | "center" | "right" reaction_endpoint = "https://example.com/api/reaction" diff --git a/src/content/_index.md b/src/content/_index.md index 71c412a..60f5368 100644 --- a/src/content/_index.md +++ b/src/content/_index.md @@ -16,13 +16,6 @@ bio = "They/Them" # avatar = "img/avatar.webp" -links = \[ -{ name = "Git", icon = "git", url = "https://git.foss-syndicate.org/bpeetz" }, -{ name = "Email", icon = "email", url = "mailto:soispha@b-peetz.de" }, -{ name = "Matrix", icon = "matrix", url = "https://matrix.to/#/@soispha:matrix.vhack.eu" }, -{ name = "Signal", icon = "signal", url = "https://signal.me/#eu/0VgltiXf19Tu_tRdpucNYYHXo26LGd2az_w_SHPD_qrUe2xOlMZHybrLzM_-NoKu" }, -\] - # Show a few recent posts in home page recent = true diff --git a/src/content/blog/_index.md b/src/content/blog/_index.md index 43cf722..07b1a5e 100644 --- a/src/content/blog/_index.md +++ b/src/content/blog/_index.md @@ -2,7 +2,7 @@ title = "List of blog posts" description = "My blog posts." sort_by = "date" -template = "blog.html" +template = "home.html" page_template = "post.html" insert_anchor_links = "right" generate_feeds = true diff --git a/src/content/writings/_index.md b/src/content/writings/_index.md index 720c953..c7555e9 100644 --- a/src/content/writings/_index.md +++ b/src/content/writings/_index.md @@ -2,7 +2,7 @@ title = "Writings" description = "Sort of academically written things" sort_by = "date" -template = "blog.html" +template = "prose.html" page_template = "post.html" insert_anchor_links = "right" generate_feeds = true diff --git a/src/content/writings/kant-and-free-software.pdf b/src/content/writings/kant-and-free-software.pdf deleted file mode 100644 index d13de60..0000000 Binary files a/src/content/writings/kant-and-free-software.pdf and /dev/null differ diff --git a/src/content/writings/kant-and-free-software.pdf.base b/src/content/writings/kant-and-free-software.pdf.base new file mode 100644 index 0000000..d13de60 Binary files /dev/null and b/src/content/writings/kant-and-free-software.pdf.base differ diff --git a/src/content/writings/raman-spectroscopy.pdf b/src/content/writings/raman-spectroscopy.pdf deleted file mode 100644 index c87b99c..0000000 Binary files a/src/content/writings/raman-spectroscopy.pdf and /dev/null differ diff --git a/src/content/writings/raman-spectroscopy.pdf.base b/src/content/writings/raman-spectroscopy.pdf.base new file mode 100644 index 0000000..c87b99c Binary files /dev/null and b/src/content/writings/raman-spectroscopy.pdf.base differ diff --git a/src/highlight_themes b/src/highlight_themes deleted file mode 120000 index 5109ab5..0000000 --- a/src/highlight_themes +++ /dev/null @@ -1 +0,0 @@ -themes/serene/highlight_themes \ No newline at end of file -- cgit v1.3.1