From f93b18498365ca4744b782427b32803d6cc16feb Mon Sep 17 00:00:00 2001 From: avitex Date: Sat, 8 Jan 2022 06:16:08 +1100 Subject: [PATCH] update and fix --- .github/workflows/build.yml | 2 +- LICENSE | 2 +- config.toml | 5 +++-- content/projects/_index.md | 4 ++-- templates/blog/tags/single.html | 2 +- templates/root.html | 2 +- templates/shortcodes/projects.html | 2 +- 7 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90137b1..6983bd9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Build and deploy - uses: shalzz/zola-deploy-action@v0.12.0 + uses: shalzz/zola-deploy-action@v0.15.0 env: PAGES_BRANCH: master BUILD_DIR: . diff --git a/LICENSE b/LICENSE index 35c65f0..d32fdec 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018-2021 James Dyson +Copyright (c) 2018-2022 James Dyson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/config.toml b/config.toml index 2d58cc7..ba02171 100644 --- a/config.toml +++ b/config.toml @@ -2,11 +2,12 @@ title = "1bit.pw" base_url = "https://1bit.pw" description = "Home of avitex" +minify_html = true compile_sass = true build_search_index = true -generate_rss = true +generate_feed = true -taxonomies = [{ name = "blog/tags", rss = true }] +taxonomies = [{ name = "blog/tags", feed = true }] [markdown] highlight_code = true diff --git a/content/projects/_index.md b/content/projects/_index.md index d52da7b..35f98a0 100644 --- a/content/projects/_index.md +++ b/content/projects/_index.md @@ -10,8 +10,8 @@ PRs are always welcome, see my [about page](@/about/_index.md) to contact me. ## Rust -{{ projects(lang="rust") }} +{{ projects(for_lang="rust") }} ## Elixir -{{ projects(lang="elixir") }} \ No newline at end of file +{{ projects(for_lang="elixir") }} \ No newline at end of file diff --git a/templates/blog/tags/single.html b/templates/blog/tags/single.html index 2b26ac4..ede43e7 100644 --- a/templates/blog/tags/single.html +++ b/templates/blog/tags/single.html @@ -2,7 +2,7 @@ {% import "post_macros.html" as post_macros %} {% block title %}Tag {{ term.name }} - {{ config.title }}{% endblock %} {% block content %} -

Tag: {{ term.name }} (RSS)

+

Tag: {{ term.name }} (RSS)

{% for page in term.pages %} {{ post_macros::page_in_list(page=page) }} {% endfor %} diff --git a/templates/root.html b/templates/root.html index 11027c4..aa3b859 100644 --- a/templates/root.html +++ b/templates/root.html @@ -14,7 +14,7 @@ - + {% block title %}{{ config.title }}{% endblock title %} diff --git a/templates/shortcodes/projects.html b/templates/shortcodes/projects.html index d08a2d5..bef7fb9 100644 --- a/templates/shortcodes/projects.html +++ b/templates/shortcodes/projects.html @@ -14,7 +14,7 @@ {% for project_name, project in data.project %} - {% if project.lang == lang %} + {% if project.lang == for_lang %} {{ project_name }} github