aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/blogpost.rs.html4
-rw-r--r--templates/gallerypost.rs.html4
-rw-r--r--templates/series_posts.rs.html2
-rw-r--r--templates/talkpost.rs.html4
4 files changed, 7 insertions, 7 deletions
diff --git a/templates/blogpost.rs.html b/templates/blogpost.rs.html
index dd3a9da..6ac3c1e 100644
--- a/templates/blogpost.rs.html
+++ b/templates/blogpost.rs.html
@@ -9,7 +9,7 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@@theprincessxena" />
<meta name="twitter:title" content="@post.front_matter.title" />
-<meta name="twitter:description" content="Posted on @post.date" />
+<meta name="twitter:description" content="Posted on @post.date.format("%Y-%m-%d")" />
<!-- Facebook -->
<meta property="og:type" content="website" />
@@ -29,7 +29,7 @@
"headline": "@post.front_matter.title",
"image": "https://christine.website/static/img/avatar.png",
"url": "https://christine.website/@post.link",
- "datePublished": "@post.date",
+ "datePublished": "@post.date.format("%Y-%m-%d")",
"mainEntityOfPage": @{
"@@type": "WebPage",
"@@id": "https://christine.website/@post.link"
diff --git a/templates/gallerypost.rs.html b/templates/gallerypost.rs.html
index c78ac7b..5f4c773 100644
--- a/templates/gallerypost.rs.html
+++ b/templates/gallerypost.rs.html
@@ -9,7 +9,7 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@@theprincessxena" />
<meta name="twitter:title" content="@post.front_matter.title" />
-<meta name="twitter:description" content="Posted on @post.date" />
+<meta name="twitter:description" content="Posted on @post.date.format("%Y-%m-%d")" />
<!-- Facebook -->
<meta property="og:type" content="website" />
@@ -29,7 +29,7 @@
"headline": "@post.front_matter.title",
"image": "https://christine.website/static/img/avatar.png",
"url": "https://christine.website/@post.link",
- "datePublished": "@post.date",
+ "datePublished": "@post.date.format("%Y-%m-%d")",
"mainEntityOfPage": @{
"@@type": "WebPage",
"@@id": "https://christine.website/@post.link"
diff --git a/templates/series_posts.rs.html b/templates/series_posts.rs.html
index 327950c..f75f8e3 100644
--- a/templates/series_posts.rs.html
+++ b/templates/series_posts.rs.html
@@ -10,7 +10,7 @@
<p>
<ul>
@for post in posts {
- <li>@post.date - <a href="/@post.link">@post.front_matter.title</a></li>
+ <li>@post.date.format("%Y-%m-%d") - <a href="/@post.link">@post.front_matter.title</a></li>
}
</ul>
</p>
diff --git a/templates/talkpost.rs.html b/templates/talkpost.rs.html
index 771179c..10e624c 100644
--- a/templates/talkpost.rs.html
+++ b/templates/talkpost.rs.html
@@ -9,7 +9,7 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@@theprincessxena" />
<meta name="twitter:title" content="@post.front_matter.title" />
-<meta name="twitter:description" content="Posted on @post.date" />
+<meta name="twitter:description" content="Posted on @post.date.format("%Y-%m-%d")" />
<!-- Facebook -->
<meta property="og:type" content="website" />
@@ -29,7 +29,7 @@
"headline": "@post.front_matter.title",
"image": "https://christine.website/static/img/avatar.png",
"url": "https://christine.website/@post.link",
- "datePublished": "@post.date",
+ "datePublished": "@post.date.format("%Y-%m-%d")",
"mainEntityOfPage": @{
"@@type": "WebPage",
"@@id": "https://christine.website/@post.link"