summaryrefslogtreecommitdiff
path: root/plt/base.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-05-05 03:16:06 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-05-05 03:16:06 -0600
commit70e783628b1bf863da45cc8879b06288a498840b (patch)
tree6a61d3134fbb100f0fc04e9e96782d29e24bb5ed /plt/base.html
parentec2aa74d36670d74c153aa0022ab22e79502a061 (diff)
update css, make articles more uniform, add toc and add functionality to scroll to the top
Diffstat (limited to 'plt/base.html')
-rw-r--r--plt/base.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/plt/base.html b/plt/base.html
index 5548ec9..1f476dc 100644
--- a/plt/base.html
+++ b/plt/base.html
@@ -15,6 +15,8 @@
<!-- theme related -->
<script type="text/javascript" src="{{config['url']['static']}}/scripts/theme.js"></script>
<link id="theme-css" rel="stylesheet" type="text/css" href="{{config['url']['static']}}/css/theme.css">
+ <!-- misc functions-->
+ <script type="text/javascript" src="{{config['url']['static']}}/scripts/return_top.js"></script>
<!-- extra -->
{%block head_extra%}{%endblock head_extra%}
<!-- og meta -->
@@ -27,6 +29,11 @@
</header>
<main>
+ <div class="return-top">
+ <button class="return-top" onclick="returnTop()" id="returnTopButton">
+ <i class="fas fa-arrow-up" alt="Return to top"></i>
+ </button>
+ </div>
{%block body_content%}{%endblock body_content%}
</main>