mirror of
https://github.com/sbrow/thor.git
synced 2026-08-26 11:23:32 -04:00
fix: Passed description down the context chain.
This commit is contained in:
@@ -25,6 +25,7 @@ Base_Data :: struct {
|
|||||||
params: json.Value,
|
params: json.Value,
|
||||||
body: string,
|
body: string,
|
||||||
title: string,
|
title: string,
|
||||||
|
description: string,
|
||||||
og: Open_Graph,
|
og: Open_Graph,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,6 +151,7 @@ render_site :: proc(site: ^Site) {
|
|||||||
now = now,
|
now = now,
|
||||||
author = site.author,
|
author = site.author,
|
||||||
params = site.params,
|
params = site.params,
|
||||||
|
description = site.description,
|
||||||
og = site.og,
|
og = site.og,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user