From 9e3931e5e2ac6fbb7249648a044726036677ec82 Mon Sep 17 00:00:00 2001 From: Ian Andwati Date: Wed, 9 Aug 2023 01:57:31 +0300 Subject: [PATCH] completed netlify.toml --- config.toml | 2 +- content/posts/generate-django-secret-key.md | 3 ++- content/posts/hello-world.md | 1 + ...install-postgresql-15-on-arch-manjaro-garuda-linux.md | 1 + content/posts/integrating-netlify.md | 1 + .../posts/semantic-version-and-conventional-commits.md | 1 + content/posts/subresource-integrity.md | 1 + netlify.toml | 9 +++++++++ templates/archive.html | 1 + 9 files changed, 18 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index e6375cd..c2f69f4 100644 --- a/config.toml +++ b/config.toml @@ -4,7 +4,7 @@ base_url = "https://andwati.com" genenerate_categories_pages = false generate_tags_pages = false -generate_rss = true +generate_feed = true feed_filename = "rss.xml" minify_html = false taxonomies = [{ name = 'tags', feed = false }] diff --git a/content/posts/generate-django-secret-key.md b/content/posts/generate-django-secret-key.md index 11ea4b9..7c4c144 100644 --- a/content/posts/generate-django-secret-key.md +++ b/content/posts/generate-django-secret-key.md @@ -1,9 +1,10 @@ +++ title = "Django Secret Key Tutorial" description = "Managing secrets" +author = "Ian Andwati" date = 2022-11-11T15:34:14.160Z [taxonomies] -tags = ["tutorial", "Django", "Python", ".emv"] +tags = ["tutorial", "Django", "Python", ".env"] +++ Managing the Django SECRET_KEY variable. diff --git a/content/posts/hello-world.md b/content/posts/hello-world.md index 34ed0b9..6340b3b 100644 --- a/content/posts/hello-world.md +++ b/content/posts/hello-world.md @@ -2,6 +2,7 @@ title = "Hello World" description = "Hello world" date = 2022-11-04 +author = "Ian Andwati" [taxonomies] tags = ["hugo", "blog", "Go"] +++ diff --git a/content/posts/install-postgresql-15-on-arch-manjaro-garuda-linux.md b/content/posts/install-postgresql-15-on-arch-manjaro-garuda-linux.md index de3437c..6a93358 100644 --- a/content/posts/install-postgresql-15-on-arch-manjaro-garuda-linux.md +++ b/content/posts/install-postgresql-15-on-arch-manjaro-garuda-linux.md @@ -2,6 +2,7 @@ title ="Install PostgreSQL 15 on Arch | Manjaro | Garuda Linux" description = "Installing postgresql" date = 2023-02-16T15:34:14.160Z +author = "Ian Andwati" [taxonomies] tags = ["postgresql", "archlinux", "manjaro", "garuda", "linux"] +++ diff --git a/content/posts/integrating-netlify.md b/content/posts/integrating-netlify.md index e283007..56cc85b 100644 --- a/content/posts/integrating-netlify.md +++ b/content/posts/integrating-netlify.md @@ -2,6 +2,7 @@ title = "Integrating Netlify CMS" description = "Integrating netlify cms" date = 2022-11-24T15:34:14.160Z +author = "Ian Andwati" [taxonomies] tags = ["blog", "hugo", "netlify","netlify-cms","github"] +++ diff --git a/content/posts/semantic-version-and-conventional-commits.md b/content/posts/semantic-version-and-conventional-commits.md index c1c2827..322195b 100644 --- a/content/posts/semantic-version-and-conventional-commits.md +++ b/content/posts/semantic-version-and-conventional-commits.md @@ -2,6 +2,7 @@ title= "Semantic Versioning(SemVer) and Conventional Commits" description = "Adopting best practices in your git and build workflows." date= 2023-01-24T15:34:14.160Z +author = "Ian Andwati" [taxonomies] tags= ["git", "semver","workflow", "conventional commits"] +++ diff --git a/content/posts/subresource-integrity.md b/content/posts/subresource-integrity.md index 7e4582e..d30261d 100644 --- a/content/posts/subresource-integrity.md +++ b/content/posts/subresource-integrity.md @@ -2,6 +2,7 @@ title= "Subresource Integrity" description = "Understanding Subresource Integrity" date= 2023-04-29 +author = "Ian Andwati" [taxonomies] tags= ["Subresource Integrity", "CSP", "CORS"] +++ diff --git a/netlify.toml b/netlify.toml index e69de29..d1afeae 100644 --- a/netlify.toml +++ b/netlify.toml @@ -0,0 +1,9 @@ +[build] +publish = "public" +command = "zola build" + +[build.environment] +ZOLA_VERSION = "0.17.2" + +[context.deploy-preview] +command = "zola buld --base-url $DEPLOY_PRIME_URL" diff --git a/templates/archive.html b/templates/archive.html index 157c3c8..2fe517b 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -1,4 +1,5 @@ {% extends "section.html" %} +{% import "post_macros.html" as page_macros %} {% block content %}