From 4ea44e8a097aae54d84bfb7bcb2023d9c1b5c318 Mon Sep 17 00:00:00 2001 From: Spencer Brower <6729162+sbrow@users.noreply.github.com> Date: Tue, 21 Jul 2026 09:27:04 -0400 Subject: [PATCH] fix: Passed description down the context chain. --- render.odin | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/render.odin b/render.odin index e874245..8aaefd1 100644 --- a/render.odin +++ b/render.odin @@ -20,12 +20,13 @@ Page_Context :: struct { } Base_Data :: struct { - now: datetime.DateTime, - author: string, - params: json.Value, - body: string, - title: string, - og: Open_Graph, + now: datetime.DateTime, + author: string, + params: json.Value, + body: string, + title: string, + description: string, + og: Open_Graph, } Page_Data :: struct { @@ -147,10 +148,11 @@ render_site :: proc(site: ^Site) { // Build base data once base := Base_Data { - now = now, - author = site.author, - params = site.params, - og = site.og, + now = now, + author = site.author, + params = site.params, + description = site.description, + og = site.og, } // Find home page