aboutsummaryrefslogtreecommitdiff
path: root/templates/gallerypost.rs.html
diff options
context:
space:
mode:
authorEliot Partridge <byte@code.horse>2021-01-18 19:43:03 -0600
committerGitHub <noreply@github.com>2021-01-18 20:43:03 -0500
commit8b2b64725726b19d45ed7b4ef457eedc6a0b9f25 (patch)
tree3c3a2efe60356387157170f664d3a0ccf813cc63 /templates/gallerypost.rs.html
parentdc48c5e5dc4a5b094fe61d0b616650e4959ad8cf (diff)
downloadxesite-8b2b64725726b19d45ed7b4ef457eedc6a0b9f25.tar.xz
xesite-8b2b64725726b19d45ed7b4ef457eedc6a0b9f25.zip
Fix Twitter/JSON-LD timestamps (remove time/tz info) (#298)
Diffstat (limited to 'templates/gallerypost.rs.html')
-rw-r--r--templates/gallerypost.rs.html4
1 files changed, 2 insertions, 2 deletions
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"