diff --git a/config.toml b/config.toml index 058edeb..b6fd94b 100644 --- a/config.toml +++ b/config.toml @@ -1,50 +1,49 @@ -base_url = "https://notes.joostagterhoek.nl" -title = "My statically generated test website" -description = "This is a test website built with Zola. Here I want to try to build a more easy to manage and 'quiet' homepage for my blog, possibly a journal and definitely current programming, scripting and automation projects. Goals are easy access to the content (preferably direct file access), integration with Git and Obsidian and ease of use." -compile_sass = false -minify_html = true +base_url = "https://not-matthias.github.io/apollo/" +title = "not-matthias" +description = "This is an example description" +build_search_index = false generate_feeds = true -default_language = "en" - -taxonomies = [ - {name = "tags", feed = true}, -] +compile_sass = true +minify_html = true +taxonomies = [{ name = "tags" }] [markdown] -render_emoji = true -external_links_target_blank = true -smart_punctuation = true -highlight_code = false -highlight_theme = "gruvbox-dark" - -[slugify] -paths = "on" -taxonomies = "on" -anchors = "on" - -[link_checker] -internal_level = "warn" +highlight_code = true +highlight_theme = "ayu-light" [extra] -author = "Joost Agterhoek" -display_author = true +toc = true +use_cdn = false +favicon = "/icon/favicon.png" +theme = "toggle" # light, dark, auto, toggle +comment = false +fancy_code = true +dynamic_note = true # a note that can be toggled +mathjax = true +mathjax_dollar_inline_enable = true +repo_url = "https://github.com/not-matthias/apollo/tree/main/content" -favicon = "favicon.ico" -image = "" - -default_theme = "light" -list_pages = false -twitter_card = true - -header_nav = [ - { url = "/", name_en = "/home/", name_fr = "/accueil/" }, - { url = "/about", name_en = "/about/", name_fr = "/concernant/" }, - { url ="/projects", name_en = "/projects/" }, - { url = "/journal", name_en = "/journal/", name_fr = "/journal/" }, - { url = "/blog", name_en = "/blog/", name_fr = "/blog/" } +menu = [ + { name = "/posts", url = "/posts", weight = 1 }, + { name = "/projects", url = "/projects", weight = 2 }, + { name = "/about", url = "/about", weight = 3 }, + { name = "/tags", url = "/tags", weight = 4 }, ] -# Optional footer license text. It will only show, when using footer_content_license. -#footer_content_license = "Creative Commons Attribution 4.0 International" -#footer_content_license_link = "https://creativecommons.org/licenses/by/4.0/" +socials = [ + { name = "twitter", url = "https://twitter.com/not_matthias", icon = "twitter" }, + { name = "github", url = "https://github.com/not-matthias/", icon = "github" }, +] +custom_css = [] + +[extra.analytics] +enabled = false + +[extra.analytics.goatcounter] +user = "your_user" +host = "example.com" # default= goatcounter.com + +[extra.analytics.umami] +website_id = "43929cd1-1e83...." +host_url = "https://stats.mywebsite.com" # default: https://analytics.eu.umami.is diff --git a/content/_index.md b/content/_index.md index 03edb3d..1813f32 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,30 +1,8 @@ +++ +title= "Apollo Theme" +template = "homepage.html" +++ -## Overview -This is a test website built with Zola. Here I want to try to build a more easy to manage and 'quiet' homepage for my blog, possibly a journal and definitely current programming, scripting and automation projects. Goals are easy access to the content (preferably direct file access), integration with Git and Obsidian and ease of use. +Thanks for checking out this theme! -## Blog Posts - -Here are some highlighted blog posts, check out all my posts [here](./blog/): - -- 🐛 [I want to learn malware analysis (again)](./blog/practical-malware-analysis) -- 🔥 [testing](./blog/testing) - -## Tags - -Browse my posts by tags: - -- [test](./tags/test) -- [malware analysis](./tags/malware-analysis) -- [programming](./tags/programming) -- [reverse engineering](./tags/reverse-engineering) - -## Find me online - -Stay in touch! - -- Email: [mail@joostagterhoek.nl](mailto:mail@joostagterhoek.nl) -- Code Repositories: [self-hosted Gitea](https://code.joostagterhoek.nl/joost) -- Socials: [my Pleroma-instance](https://social.joostagterhoek.nl/joost) - +Checkout all the [options you can configure](./posts/configuration) and the [example pages](./tags/example/). diff --git a/content/about.md b/content/about.md index c67ca88..1f0623e 100644 --- a/content/about.md +++ b/content/about.md @@ -1,7 +1,4 @@ +++ title = "About" +path = "about" +++ - -Just a test website (for now). Check out my [main website](https://joostagterhoek.nl) in the meantime. - -TESTING. diff --git a/content/projects/_index.md b/content/projects/_index.md index d222541..9b00a12 100644 --- a/content/projects/_index.md +++ b/content/projects/_index.md @@ -1,11 +1,5 @@ +++ -paginate_by = 15 -title = "All working projects" -sort_by = "date" +title = "Projects" +sort_by = "weight" +template = "cards.html" +++ - -> List of all *[tags](/tags)* - -_Testing_ - -* todo: work out an HTML template (like blog with `blog-page.html`. Something that for example shows a project title, a main image and a brief description, along with the latest date. diff --git a/templates/base.html b/templates/base.html index 7acec3b..7e3a8a6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,18 +1,26 @@ +{% import "macros/macros.html" as post_macros %} + - -
- {% include "head.html" %} - + + + +{% include "partials/header.html" %} + -