aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorPjotr Prins2024-06-23 05:22:03 -0500
committerPjotr Prins2024-06-23 05:22:03 -0500
commit5b6f0991a24836a9d1b0eec90c0bc11a331c3b2a (patch)
tree5a6f2e89d70b3764bbb7440b4d05117c0c2b87e0 /templates
parent97af162af765354ac12f8013a8b31136bf3f5487 (diff)
downloadgenecup-5b6f0991a24836a9d1b0eec90c0bc11a331c3b2a.tar.gz
Disable footer for long pages
Diffstat (limited to 'templates')
-rw-r--r--templates/layout.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/layout.html b/templates/layout.html
index 951c950..3160de5 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -94,6 +94,7 @@
{% block content %}{% endblock %}
</div>
+{% if not no_footer %}
<footer class="footer bg-dark footer-dark">
<div class="container">
<div class="row">
@@ -108,6 +109,7 @@
</div>
</div>
</footer>
+{% endif %}
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>