Skip to content

Commit

Permalink
Merge pull request #86 from stockholmux/add-feed
Browse files Browse the repository at this point in the history
adds `atom.xml` feed, simplifies authors metadata, adds description for release
  • Loading branch information
stockholmux authored Jun 19, 2024
2 parents 9202447 + 87b0add commit f7dc0d2
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 9 deletions.
2 changes: 2 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ compile_sass = true

build_search_index = true

generate_feed = true

[markdown]
highlight_code = true

Expand Down
4 changes: 3 additions & 1 deletion content/blog/2024-04-12-hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
+++

Expand Down
3 changes: 2 additions & 1 deletion content/blog/2024-04-16-valkey-7-2-5-out.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
+++

Expand Down
4 changes: 3 additions & 1 deletion content/blog/2024-04-26-modules-101.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
+++

Expand Down
4 changes: 2 additions & 2 deletions content/blog/2024-05-24-may-roundup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
+++

Expand Down Expand Up @@ -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.
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.
2 changes: 2 additions & 0 deletions content/download/releases/v7-2-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ extra:
- arm64
- x86_64
---

Valkey 7.2.5 Release
8 changes: 4 additions & 4 deletions templates/blog-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<h1>{{ page.title }}</h1>
<div class="meta">
{{ page.date | date(format="%Y-%m-%d") }}
{% if page.extra and page.extra.authors %}
{% if page.authors %}
&middot;
{% 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) %}
<em>{{ author_page.title }}</em>{% if loop.last != true %},{% endif %}
Expand All @@ -28,8 +28,8 @@ <h1>{{ page.title }}</h1>

{% 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" %}
Expand Down
1 change: 1 addition & 0 deletions templates/includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
</title>

<link rel="stylesheet" href="/css/styles.css">
<link rel="alternate" type="application/atom+xml" title="Atom feed" href="{{ get_url(path="atom.xml", trailing_slash=false) }}" />


<!-- Google tag (gtag.js)
Expand Down

0 comments on commit f7dc0d2

Please sign in to comment.