diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-04-07 21:10:06 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-04-07 21:10:06 +0300 |
| commit | d9a446ac271a0fde70fae17ef3804482f68679a7 (patch) | |
| tree | 527ceded71b1456ae41c033b6c04c2f1859a4976 /template.html | |
| parent | 16875af62740fbc217491042dd34bae890c7b3cc (diff) | |
Improve unfold.js
Diffstat (limited to 'template.html')
| -rw-r--r-- | template.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/template.html b/template.html index 5ab8123..dbc87b1 100644 --- a/template.html +++ b/template.html @@ -150,9 +150,15 @@ $endif$ <p class="p-country-name">Finland</p> </div> -<script src="/static/unfold.js"></script> -<script> - Unfold.bind("#unfold"); +<script src="/static/reveal-unfold.js"></script> +<style data-unfold-include> + .reveal .slides { + text-align: left; + } +</style> +<script>Unfold.enable({ + theme: "black", + revealCss: document.querySelector("[data-unfold-include]").innerHTML }); </script> </body> |
