aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/common_jinja_templates
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-10-26 14:30:28 +0200
committerWojtek Kosior <koszko@koszko.org>2022-10-26 14:31:42 +0200
commit01834fe901117809490fbf59b104833bdd88ea20 (patch)
tree1b3c2d7e2099cab404275fb774f9ad6f631c5bc0 /src/hydrilla/common_jinja_templates
parent9efa3c0fcc55d0998b648c69d1918f1779c4c6e9 (diff)
downloadhaketilo-hydrilla-01834fe901117809490fbf59b104833bdd88ea20.tar.gz
haketilo-hydrilla-01834fe901117809490fbf59b104833bdd88ea20.zip
[proxy] add documentation page describing URL patterns in Haketilo
Diffstat (limited to 'src/hydrilla/common_jinja_templates')
-rw-r--r--src/hydrilla/common_jinja_templates/base.html.jinja20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/hydrilla/common_jinja_templates/base.html.jinja b/src/hydrilla/common_jinja_templates/base.html.jinja
index 0c29c0c..f8a5200 100644
--- a/src/hydrilla/common_jinja_templates/base.html.jinja
+++ b/src/hydrilla/common_jinja_templates/base.html.jinja
@@ -100,8 +100,20 @@ code in a proprietary work, I am not going to enforce this in court.
{% endif %}
{% endmacro %}
-{% macro verbatim(code) %}
- <code><pre>{{ code }}</pre></code>
+{% macro verbatim() %}
+ <code><pre>{{ caller()|safe }}</pre></code>
+{% endmacro %}
+
+{% macro unordered_list() %}
+ <ul>
+ {{ caller() }}
+ </ul>
+{% endmacro %}
+
+{% macro list_entry() %}
+ <li>
+ {{ caller() }}
+ </li>
{% endmacro %}
<html>
@@ -237,6 +249,10 @@ code in a proprietary work, I am not going to enforce this in court.
border: 1px solid #e3e3e3;
}
+ .bold {
+ font-weight: bold;
+ }
+
.hide {
display: none !important;
}