summaryrefslogtreecommitdiffstats
path: root/template.html
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2024-04-21 15:10:58 +0300
committerJan Tuomi <jan@jantuomi.fi>2024-04-21 15:10:58 +0300
commit2a199fcd6e38b96fc49addfa107471e379c14c10 (patch)
tree85c1746535e5bcb8a9c63fa4a9158baeed0f0114 /template.html
parentd9a446ac271a0fde70fae17ef3804482f68679a7 (diff)
Improve styles, small fixes
Diffstat (limited to 'template.html')
-rw-r--r--template.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/template.html b/template.html
index dbc87b1..75d7a43 100644
--- a/template.html
+++ b/template.html
@@ -84,9 +84,15 @@ $endif$
$endif$
$endif$
-<main>
-$body$
-</main>
+ <main>
+ $if(slideshow)$
+ <blockquote data-unfold-hidden>
+ This post is a <a href="?unfold=1">literate slideshow</a>.
+ </blockquote>
+ $endif$
+
+ $body$
+ </main>
<script>
const b = document.createElement("button");
@@ -150,6 +156,7 @@ $endif$
<p class="p-country-name">Finland</p>
</div>
+$if(slideshow)$
<script src="/static/reveal-unfold.js"></script>
<style data-unfold-include>
.reveal .slides {
@@ -160,6 +167,7 @@ $endif$
theme: "black",
revealCss: document.querySelector("[data-unfold-include]").innerHTML });
</script>
+$endif$
</body>
</html>