diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-01-28 19:56:40 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-01-28 19:56:40 +0000 |
commit | db1c1fec6c2a3937ccda7186b5ca770d8ed5bc28 (patch) | |
tree | 56dc507c705da2a3f07a2c5e08376450ba5f416b | |
parent | 6e7f0d39cc8c40da00aed07d378dac7e117399ec (diff) | |
download | troggle-db1c1fec6c2a3937ccda7186b5ca770d8ed5bc28.tar.gz troggle-db1c1fec6c2a3937ccda7186b5ca770d8ed5bc28.tar.bz2 troggle-db1c1fec6c2a3937ccda7186b5ca770d8ed5bc28.zip |
bad expo pages format
-rw-r--r-- | templates/expobase.html | 6 | ||||
-rw-r--r-- | templates/expopage.html | 17 |
2 files changed, 6 insertions, 17 deletions
diff --git a/templates/expobase.html b/templates/expobase.html index 1e9c7da..cbefeb8 100644 --- a/templates/expobase.html +++ b/templates/expobase.html @@ -9,10 +9,10 @@ <link rel="stylesheet" type="text/css" href="/css/main2.css" /> {% block extrahead %}{% endblock %} </head> +{% block toolbar %} +{% if troggle %}{% include 'troggletoolbar.html' %}{% endif %} +{% endblock %} <body {% block bodyattrs %}{% endblock %}> -{% if troggle %} -{% include 'troggletoolbar.html' %} -{% endif %} {% block body %}{% endblock %} </body> </html> diff --git a/templates/expopage.html b/templates/expopage.html index e1d5ad1..2816b8e 100644 --- a/templates/expopage.html +++ b/templates/expopage.html @@ -2,22 +2,11 @@ {% extends "expobase.html" %} {% block title %}{{ title }}{% endblock %} {% block bodyattrs %}{% if homepage %} id="homepage"{% endif %}{% endblock %} - -{% block body %} {% if troggle %} -<style> - h2#tophead { - margin-top: 5px; - margin-bottom: 20px; - margin-right: -22px; - margin-left: 0px; - } - h1 { - margin-top: 30px; - display: block; - } -</style> + {% endif %} +{% block body %} + {{ body|safe }} {% if homepage %} |