Skip to content

Commit e43fb03

Browse files
committed
Correctly set fields for blog posts for featured
Signed-off-by: Madelyn Olson <[email protected]>
1 parent abc8ec6 commit e43fb03

24 files changed

+43
-27
lines changed

CONTRIBUTING-BLOG-POST.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ description= "It's become clear that people want to talk about Valkey and have b
8484
# Each author corresponds to a biography file (more info later in this document)
8585
authors= [ "maury", "jacobim" ]
8686
[extra]
87-
# 'trending' controls whether the blog post appears in the trending section on the main blog page
88-
trending = true
87+
# 'featured' controls whether the blog post appears in the featured section on the main blog page
88+
featured = true
8989
# 'featured_image' sets the main image for the blog header
9090
# Choose from one of the available images:
9191
# "/assets/media/featured/random-01.webp"

content/blog/2024-04-12-hello-world.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors= ["kyledvs"]
99

1010
[extra]
1111
categories= "update"
12-
trending = false
12+
featured = false
1313
featured_image = "/assets/media/featured/random-05.webp"
1414
+++
1515

content/blog/2024-04-16-valkey-7-2-5-out.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors= ["kyledvs"]
99

1010
[extra]
1111
categories= "update"
12-
trending = false
12+
featured = false
1313
featured_image = "/assets/media/featured/random-04.webp"
1414
+++
1515

content/blog/2024-04-26-modules-101.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors= ["dmitrypol"]
99

1010
[extra]
1111
categories= "modules"
12-
trending = false
12+
featured = false
1313
featured_image = "/assets/media/featured/random-03.webp"
1414
+++
1515

content/blog/2024-05-24-may-roundup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors= ["kyledvs"]
99

1010
[extra]
1111
categories= "update"
12-
trending = false
12+
featured = false
1313
featured_image = "/assets/media/featured/random-02.webp"
1414
+++
1515

content/blog/2024-06-27-using-bitnami-valkey-chart/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ aliases= [
77
]
88
authors=["rafariossaa"]
99
[extra]
10-
trending = false
10+
featured = false
1111
featured_image = "/assets/media/featured/random-01.webp"
1212

1313
+++

content/blog/2024-07-07-unlock-one-million-rps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description= "Learn about the new performnace improvements in Valkey 8 which red
1414
# Each author corresponds to a biography file (more info later in this document)
1515
authors= [ "dantouitou", "uriyagelnik"]
1616
[extra]
17-
trending = false
17+
featured = true
1818
featured_image = "/assets/media/featured/random-01.webp"
1919
+++
2020
Valkey 8.0, set for release in September 2024, will bring major performance enhancements through a variety of improvements including a new multi-threaded architecture.

content/blog/2024-07-31-valkey-8-0-0-rc1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description= "The first release candidate of Valkey 8.0 is now available! Come l
1414
# Each author corresponds to a biography file (more info later in this document)
1515
authors= [ "pingxie", "madolson" ]
1616
[extra]
17-
trending = false
17+
featured = false
1818
featured_image = "/assets/media/featured/random-07.webp"
1919
+++
2020

content/blog/2024-08-29-valkey-memory-efficiency-8-0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date= 2024-09-04 01:01:01
44
description= "Learn about the new memory efficiency improvements in Valkey 8 which reduces memory overhead, which allows more data to be stored in the same amount of memory."
55
authors= [ "hpatro"]
66
[extra]
7-
trending = true
7+
featured = true
88
featured_image = "/assets/media/featured/random-05.webp"
99
+++
1010

content/blog/2024-09-13-unlock-one-million-rps-part2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description= "Maximize the performance of your hardware with memory access amort
1414
# Each author corresponds to a biography file (more info later in this document)
1515
authors= [ "dantouitou", "uriyagelnik"]
1616
[extra]
17-
trending = false
17+
featured = false
1818
featured_image = "/assets/media/featured/random-06.webp"
1919
+++
2020

content/blog/2024-09-16-valkey-8-ga.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Today marks a milestone for the Valkey project: the first major r
44
date= 2024-09-16 01:01:01
55
authors= ["kyledvs"]
66
[extra]
7-
trending = false
7+
featured = false
88
featured_image = "/assets/media/featured/random-05.webp"
99

1010
+++

content/blog/2024-11-21-testing-the-limits/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "While most people won't go to production on a Raspberry Pi, we'll
44
date= 2024-11-21 01:01:01
55
authors= ["dtaivpp"]
66
[extra]
7-
trending = false
7+
featured = false
88
featured_image = "/assets/media/featured/random-07.webp"
99
+++
1010

content/blog/2024-12-20-2024-year-of-valkey/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "The end of the calendar year is a great time to reflect, but for
55
date= 2024-12-20 01:01:01
66
authors= ["kyledvs"]
77
[extra]
8-
trending = false
8+
featured = false
99
featured_image = "/assets/media/featured/random-05.webp"
1010

1111
+++

content/blog/2024-12-22-az-affinity-strategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date= 2025-01-08 01:01:01
44
description= "By implementing AZ affinity routing in Valkey and using GLIDE, you can achieve lower latency and cost savings by routing requests to replicas in the same AZ as the client."
55
authors= [ "asafporatstoler", "adarovadya", "muhammadawawdi"]
66
[extra]
7-
trending = true
7+
featured = true
88
featured_image = "/assets/media/featured/random-04.webp"
99
+++
1010
How can adjusting your client library help you reduce Cloud costs and improve latency?

content/blog/2025-03-28-new-hash-table/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date= 2025-03-28 00:00:00
44
description= "Designing a state-of-the art hash table"
55
authors= ["zuiderkwast"]
66
[extra]
7-
trending = false
7+
featured = false
88
featured_image = "/assets/media/featured/random-05.webp"
99

1010
+++

content/blog/2025-03-4-go-client-in-public-preview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Valkey Glide now supports GO. Read to learn more about the new cl
44
date= 2025-03-04 01:01:01
55
authors= [ "niharikabhavaraju"]
66
[extra]
7-
trending = true
7+
featured = false
88
featured_image = "/assets/media/featured/default.webp"
99
+++
1010

content/blog/2025-04-02-valkey-8-1-0-ga.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description= "Valkey 8.1 is now generally available! Come learn about the exciti
1414
# Each author corresponds to a biography file (more info later in this document)
1515
authors= [ "rdias", "mvisser" ]
1616
[extra]
17-
trending = false
17+
featured = false
1818
featured_image = "/assets/media/featured/random-03.webp"
1919
+++
2020

content/blog/2025-04-09-introducing-bloom-filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ date= 2025-04-09 01:01:01
55
authors= [ "karthiksubbarao"]
66

77
[extra]
8-
trending = false
8+
featured = false
99
featured_image = "/assets/media/featured/random-02.webp"
1010
+++
1111

content/blog/2025-04-27-valkey-modules-rust-sdk-updates.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ date= 2025-05-20 01:01:01
44
description= "Extending Valkey using Rust SDK."
55
authors= ["dmitrypol"]
66
categories= "modules"
7+
8+
[extra]
9+
categories= "performance"
10+
featured = false
11+
featured_image = "/assets/media/featured/random-04.webp"
712
+++
813

914
In an earlier [article](/blog/modules-101/) we explored the process of building Valkey Modules to enable developers to add features such as new commands and data types to Valkey without modifying its core.

content/blog/2025-05-14-upgrade-stories-vol1.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ title= "Upgrade Stories from the Community, Volume 1:"
33
description = "Two new Valkey users describe what it's really like to upgrade"
44
date= 2025-05-14 01:01:01
55
authors= ["kyledvs", "nigel"]
6+
7+
[extra]
8+
categories= "update"
9+
featured = false
10+
featured_image = "/assets/media/featured/random-04.webp"
611
+++
712

813
## Two new Valkey users describe what it's really like to upgrade

content/blog/2025-05-21-performance-optimization-methodology-for-valkey/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ title= "Performance Optimization Methodology for Valkey - Part 1"
33
date= 2025-05-27 00:00:00
44
description= "Performance Optimization Methodology for Valkey"
55
authors= ["lipzhu", "guowangy"]
6+
7+
[extra]
8+
categories= "performance"
9+
featured = true
10+
featured_image = "/assets/media/featured/random-04.webp"
611
+++
712

813
Performance optimization is a multifaceted domain, particularly for high-performance systems like Valkey. While overall system performance depends on numerous factors including hardware specifications, OS configurations, network conditions, and deployment architectures, our work focuses specifically on optimizing Valkey's performance at the CPU level.

content/blog/whats-new-june-2024.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
title= "What's new in Valkey for June 2024"
33
date= 2024-06-27 01:01:01
44
description= "What have people been saying about Valkey in June 2024? Read on to find out."
5-
[extra]
65
authors= ["kyledvs"]
6+
7+
[extra]
78
categories= "roundup"
8-
trending = false
9+
featured = false
910
featured_image = "/assets/media/featured/random-01.webp"
1011
+++
1112

sass/_valkey.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ aside {
782782
}
783783
}
784784

785-
.blog-trending {
785+
.blog-featured {
786786
h2 {
787787
color: #30176e;
788788
margin-bottom: 1rem;

templates/blog.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ <h2><a href="{{ page.permalink }}">{{ page.title | safe}}</a></h2>
2121
{% endblock main_content %}
2222

2323
{% block related_content %}
24-
<div class="blog-trending">
25-
<h2>Trending</h2>
24+
<div class="blog-featured">
25+
<h2>Featured</h2>
2626

2727
{% set blog_post_section = get_section(path="blog/_index.md") %}
28-
{% set trending_posts = blog_post_section.pages | filter(attribute="extra.trending", value=true) | slice(end=4) %}
29-
{% for post in trending_posts %}
30-
<div class="blog-trending-card">
28+
{% set featured_posts = blog_post_section.pages | filter(attribute="extra.featured", value=true) | slice(end=4) %}
29+
{% for post in featured_posts %}
30+
<div class="blog-featured-card">
3131
{% if post.extra.featured_image %}
3232
<img src="{{ post.extra.featured_image }}" alt="{{ post.title }} featured image" class="blog-featured-image"/>
3333
{% endif %}

0 commit comments

Comments
 (0)