aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2021-04-18 10:17:04 -0400
committerChristine Dodrill <me@christine.website>2021-04-18 10:17:04 -0400
commit4dde8b26b8be9d9c11bb3920c942ecd6624e419e (patch)
tree69c6f4a99e5800577d9e6f0f164bfba5e1d572be /templates
parent43b37834ddd93cfea97856a1769438beb0a62d97 (diff)
downloadxesite-4dde8b26b8be9d9c11bb3920c942ecd6624e419e.tar.xz
xesite-4dde8b26b8be9d9c11bb3920c942ecd6624e419e.zip
backpost a bunch of other articles, make linkposts work properly
Diffstat (limited to 'templates')
-rw-r--r--templates/blog_atom.rs.xml4
-rw-r--r--templates/blog_rss.rs.xml4
-rw-r--r--templates/blogindex.rs.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/blog_atom.rs.xml b/templates/blog_atom.rs.xml
index 0296da6..5fffaad 100644
--- a/templates/blog_atom.rs.xml
+++ b/templates/blog_atom.rs.xml
@@ -17,10 +17,10 @@
<generator uri="@env!("CARGO_PKG_REPOSITORY")" version="@env!("CARGO_PKG_VERSION")">@env!("CARGO_PKG_NAME")</generator>
@for post in posts {
<entry>
- <id>https://christine.website/@post.link</id>
+ <id>@post.link</id>
<title>@post.front_matter.title</title>
<published>@post.date.to_rfc3339()</published>
- <link href="https://christine.website/@post.link" rel="alternate"/>
+ <link href="@post.link" rel="alternate"/>
</entry>
}
</feed>
diff --git a/templates/blog_rss.rs.xml b/templates/blog_rss.rs.xml
index 0e87ad1..e300d75 100644
--- a/templates/blog_rss.rs.xml
+++ b/templates/blog_rss.rs.xml
@@ -12,9 +12,9 @@
<ttl>1440</ttl>
@for post in posts {
<item>
- <guid>https://christine.website/@post.link</guid>
+ <guid>@post.link</guid>
<title>@post.front_matter.title</title>
- <link>https://christine.website/@post.link</link>
+ <link>@post.link</link>
<description><![CDATA[@Html(post.body_html)]]></description>
<pubDate>@post.date.to_rfc2822()</pubDate>
</item>
diff --git a/templates/blogindex.rs.html b/templates/blogindex.rs.html
index e050e5b..02f34d6 100644
--- a/templates/blogindex.rs.html
+++ b/templates/blogindex.rs.html
@@ -14,7 +14,7 @@
<p>
<ul>
@for post in posts {
- <li>@post.date.format("%Y-%m-%d") - <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>