aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-02-27 19:12:53 +0000
committerXe Iaso <me@christine.website>2022-02-27 19:12:53 +0000
commit8fc69d4978ad5686d7149cc2032d44738633eafa (patch)
tree27926e16adb20400bd1a1d3245b55faa1bc5d3e3 /templates
parent9e781d22460e6a49c04624cf3606bf69e79e420b (diff)
downloadxesite-8fc69d4978ad5686d7149cc2032d44738633eafa.tar.xz
xesite-8fc69d4978ad5686d7149cc2032d44738633eafa.zip
nix flakes 2: fun with packages
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'templates')
-rw-r--r--templates/blogpost.rs.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/blogpost.rs.html b/templates/blogpost.rs.html
index 8ace300..3b60689 100644
--- a/templates/blogpost.rs.html
+++ b/templates/blogpost.rs.html
@@ -68,6 +68,10 @@
<hr />
+@if post.front_matter.vod.is_some() {
+ <p>This post was written live on <a href="https://twitch.tv/princessxen">Twitch</a>. You can check out the stream recording on Twitch <a href="@post.front_matter.vod.as_ref().unwrap().twitch">here</a> and on YouTube <a href="@post.front_matter.vod.as_ref().unwrap().youtube">here</a>.</p>
+}
+
<!-- The button that should be clicked. -->
<button onclick="share_on_mastodon()">Share on Mastodon</button>