aboutsummaryrefslogtreecommitdiff
path: root/templates/blogpost.rs.html
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-05-26 13:28:35 -0400
committerXe Iaso <me@christine.website>2022-05-26 13:41:26 -0400
commit06b00eb7c3df3059943274d274b33f5b9104293f (patch)
treea466923e9886743faa2c85f5fdecb5bfe6b502c2 /templates/blogpost.rs.html
parentb1277d209d0b58260ad7f3cb14ae928838633468 (diff)
downloadxesite-06b00eb7c3df3059943274d274b33f5b9104293f.tar.xz
xesite-06b00eb7c3df3059943274d274b33f5b9104293f.zip
templates: change canonical domain to xeiaso.net
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'templates/blogpost.rs.html')
-rw-r--r--templates/blogpost.rs.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/blogpost.rs.html b/templates/blogpost.rs.html
index d8b9ab0..725bb60 100644
--- a/templates/blogpost.rs.html
+++ b/templates/blogpost.rs.html
@@ -19,10 +19,12 @@
<!-- Description -->
<meta name="description" content="@post.front_matter.title - Xe's Blog" />
-<meta name="author" content="Xe Iaso">
+<meta name="author" content="Xe Iaso" />
@if post.front_matter.redirect_to.is_none() {
- <link rel="canonical" href="https://christine.website/@post.link">
+ <link rel="canonical" href="https://xeiaso.net/@post.link" />
+} else {
+ <link rel="canonical" href="@post.front_matter.redirect_to.as_ref().unwrap()" />
}
<script type="module" src="/static/js/conversation.js"></script>
@@ -32,22 +34,20 @@
"@@context": "http://schema.org",
"@@type": "Article",
"headline": "@post.front_matter.title",
- "image": "https://christine.website/static/img/avatar.png",
- "url": "https://christine.website/@post.link",
+ "image": "https://xeiaso.net/static/img/avatar.png",
+ "url": "https://xeiaso.net/@post.link",
"datePublished": "@post.date.format("%Y-%m-%d")",
"mainEntityOfPage": @{
"@@type": "WebPage",
- "@@id": "https://christine.website/@post.link"
+ "@@id": "https://xeiaso.net/@post.link"
@},
"author": @{
"@@type": "Person",
- "name": "Xe Iaso",
- "alternateName": "Christine Dodrill"
+ "name": "Xe Iaso"
@},
"publisher": @{
"@@type": "Person",
- "name": "Xe Iaso",
- "alternateName": "Christine Dodrill"
+ "name": "Xe Iaso"
@}
@}
</script>