diff --git a/config.toml b/config.toml index 42364c5..1684482 100644 --- a/config.toml +++ b/config.toml @@ -1,13 +1,10 @@ base_url = "https://mat.services" title = "mat.services" description = "the personal website of matthew ess" - default_language = "en" compile_sass = true - build_search_index = false - generate_feed = true theme = "apollo" @@ -19,7 +16,6 @@ external_links_target_blank = true external_links_no_referrer = true [extra] -theme = "auto" favicon = "/favicon.svg" stylesheets = [] @@ -33,9 +29,9 @@ cdns = [ ] menu = [ - { name = "/posts", url = "/posts" }, - { name = "/projects", url = "/projects" }, - { name = "/about", url = "/about" }, + { name = "/posts", url = "@/posts/_index.md" }, + { name = "/projects", url = "@/projects.md" }, + { name = "/about", url = "@/about.md" }, { name = "git", url = "https://git.mat.services/explore/repos", external = true }, ] diff --git a/templates/partials/header.html b/templates/partials/header.html index 3cf3a5a..f3136a7 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -29,16 +29,16 @@ {% endfor %} {% else %} - {% endif %} + {% endif %} {# RSS #} - + {# Theme #} - - + diff --git a/templates/partials/nav.html b/templates/partials/nav.html index a0f941c..8bada77 100644 --- a/templates/partials/nav.html +++ b/templates/partials/nav.html @@ -7,9 +7,9 @@ {% for menu in config.extra.menu %} {%- set external = menu.external | default(value=false) -%} {%- if external %} - {{ menu.name }} + {{ menu.name }} {%- else %} - {{ menu.name }} + {{ menu.name }} {%- endif -%} {% endfor %}