Move meta with comments to template.

This commit is contained in:
Olivia Brooks
2025-10-13 15:49:41 -04:00
parent 0fc2e60cd9
commit a92a50cc66
2 changed files with 35 additions and 11 deletions

34
templates/meta.ron Normal file
View File

@@ -0,0 +1,34 @@
(
// og:title
title: "",
// og:description
description: "",
// article:tag
tags: [],
// og:site_name
site_name: "mysite.tld",
// og:locale
locale: "en_CA",
// og:type
type: "article",
authors: [
Author(
name: All( // Enum variant w/ fields
first: "Jane",
last: "Doe",
user: "xXGI_JaneXx",
),
gender: Female,
),
],
// chrono::NaiveDate with custom deserialize from string.
// Here it will instead autofill with chrono::NaiveDate::default() values.
//
// "%Y-%m-%d"
date: Date(),
image: None,
)

View File

@@ -1,21 +1,15 @@
(
// og:title
title: "",
// og:description
description: "",
// article:tag
tags: [],
// og:site_name
site_name: "Cutieguwu.ca",
// og:locale
locale: "en_CA",
// og:type
type: "article",
authors: [
Author(
name: All( // Enum variant w/ fields
name: All(
first: "Olivia",
last: "Brooks",
user: "Cutieguwu",
@@ -24,10 +18,6 @@
),
],
// chrono::NaiveDate with custom deserialize from string.
// Here it will instead autofill with chrono::NaiveDate::default() values.
//
// "%Y-%m-%d"
date: Date(),
image: None,