feat: Simplified templates.

This commit is contained in:
Spencer Brower
2026-07-17 17:04:43 -04:00
parent 66b5c5a934
commit a41a7803a4
2 changed files with 2 additions and 5 deletions
-2
View File
@@ -43,7 +43,6 @@ Page_Data :: struct {
page_title: string,
date_iso: string,
date_display: string,
is_post: bool,
og_section: string,
og_published: string,
}
@@ -310,7 +309,6 @@ render_page_html :: proc(
data.body = page.body_html
data.date_iso = page.date
data.date_display = format_date(page.date)
data.is_post = is_article
data.og_url = fmt.tprintf("%s%s", site.base_url, page.permalink)
data.og_title = strip_html_tags(page.title)
data.og_type = og_type(is_article)