From dfbf5ade1905baa33bf6f99b2c429347c7039f1d Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Thu, 13 Jun 2024 07:34:03 -0600 Subject: [PATCH 1/2] adds atom.xml feed, simplifes authors metadata, adds description for release Signed-off-by: Kyle J. Davis --- config.toml | 2 ++ content/blog/2024-04-12-hello-world.md | 4 +++- content/blog/2024-04-16-valkey-7-2-5-out.md | 3 ++- content/blog/2024-04-26-modules-101.md | 4 +++- content/blog/2024-05-24-may-roundup.md | 4 ++-- content/download/releases/v7-2-5.md | 2 ++ templates/blog-page.html | 8 ++++---- 7 files changed, 18 insertions(+), 9 deletions(-) diff --git a/config.toml b/config.toml index 261232b..4446825 100644 --- a/config.toml +++ b/config.toml @@ -4,6 +4,8 @@ compile_sass = true build_search_index = true +generate_feed = true + [markdown] highlight_code = true diff --git a/content/blog/2024-04-12-hello-world.md b/content/blog/2024-04-12-hello-world.md index 77f9038..5028636 100644 --- a/content/blog/2024-04-12-hello-world.md +++ b/content/blog/2024-04-12-hello-world.md @@ -5,8 +5,10 @@ aliases = [ "/blog/update/2024/04/hello-world/" ] description= "Welcome! For the inaugural blog post on valkey.io, I’d like to recap the story so far, what to look forward to, and then describe how this blog works." -[extra] authors= ["kyledvs"] + +[extra] + categories= "update" +++ diff --git a/content/blog/2024-04-16-valkey-7-2-5-out.md b/content/blog/2024-04-16-valkey-7-2-5-out.md index 2b9da8a..ad1f9cc 100644 --- a/content/blog/2024-04-16-valkey-7-2-5-out.md +++ b/content/blog/2024-04-16-valkey-7-2-5-out.md @@ -5,9 +5,10 @@ aliases= [ "/blog/modules/2024/05/modules-101/" ] description= "Exciting times!I'm pleased to announce that you can start using the first generally available, stable Valkey release today." +authors= ["kyledvs"] [extra] -authors= ["kyledvs"] + categories= "update" +++ diff --git a/content/blog/2024-04-26-modules-101.md b/content/blog/2024-04-26-modules-101.md index e594c7e..4750bca 100644 --- a/content/blog/2024-04-26-modules-101.md +++ b/content/blog/2024-04-26-modules-101.md @@ -5,8 +5,10 @@ aliases= [ "/blog/update/2024/04/valkey-7-2-5-out/" ] description= "The idea of modules is to allow adding extra features (such as new commands and data types) to Valkey without making changes to the core code." -[extra] authors= ["dmitrypol"] + +[extra] + categories= "modules" +++ diff --git a/content/blog/2024-05-24-may-roundup.md b/content/blog/2024-05-24-may-roundup.md index 2a6fc4b..2bde601 100644 --- a/content/blog/2024-05-24-may-roundup.md +++ b/content/blog/2024-05-24-may-roundup.md @@ -5,9 +5,9 @@ aliases= [ "/blog/modules/2024/05/may-roundup/" ] description= "It's become clear that people want to talk about Valkey and have been publishing blog posts/articles fervently. Here you'll find a collection of all the post I'm aware of in the last few weeks." +authors= ["kyledvs"] [extra] -authors= ["kyledvs"] categories= "update" +++ @@ -44,4 +44,4 @@ Don't miss it. ## Want to add your tutorial/article/meetup/video to a future roundup? This is the first in a series of roundups on Valkey content. -The plan is to keep an [draft pull request open on the website GitHub repo](https://github.com/valkey-io/valkey-io.github.io/issues?q=is%3Adraft+label%3Aroundup-post+) where you can contribute your own content. \ No newline at end of file +The plan is to keep an [draft pull request open on the website GitHub repo](https://github.com/valkey-io/valkey-io.github.io/issues?q=is%3Adraft+label%3Aroundup-post+) where you can contribute your own content. diff --git a/content/download/releases/v7-2-5.md b/content/download/releases/v7-2-5.md index 3468019..8e52d26 100644 --- a/content/download/releases/v7-2-5.md +++ b/content/download/releases/v7-2-5.md @@ -33,3 +33,5 @@ extra: - arm64 - x86_64 --- + +Valkey 7.2.5 Release diff --git a/templates/blog-page.html b/templates/blog-page.html index 844b40a..f557a68 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -4,9 +4,9 @@

{{ page.title }}

{{ page.date | date(format="%Y-%m-%d") }} - {% if page.extra and page.extra.authors %} + {% if page.authors %} · - {% for author in page.extra.authors %} + {% for author in page.authors %} {% set author_path = "authors/" ~ author ~ ".md" %} {% set author_page = get_page(path=author_path) %} {{ author_page.title }}{% if loop.last != true %},{% endif %} @@ -28,8 +28,8 @@

{{ page.title }}

{% endblock main_content %} {% block related_content %} -{% if page.extra and page.extra.authors %} - {% for author in page.extra.authors %} +{% if page.authors %} + {% for author in page.authors %} {% set author_path = "authors/" ~ author ~ ".md" %} {% set author_page = get_page(path=author_path) %} {% include "includes/author_panel.html" %} From 87b0addf78670c7b658c24b54ca67074200f4494 Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Thu, 13 Jun 2024 07:39:44 -0600 Subject: [PATCH 2/2] adds feed auto discovery to HTML head Signed-off-by: Kyle J. Davis --- templates/includes/head.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/includes/head.html b/templates/includes/head.html index 7481349..3a5667d 100644 --- a/templates/includes/head.html +++ b/templates/includes/head.html @@ -36,6 +36,7 @@ +