summaryrefslogtreecommitdiff
path: root/project/templates
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2021-11-27 03:54:23 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2021-11-27 03:54:23 +1300
commit3112ecee11aa7f560848834a8475b3fb0b52fd79 (patch)
treea8c6aa00d58e1e657ffc903fefba2a146d949ea8 /project/templates
parentd640c7bd637fa07150bbdaba17bcdcc8d24c676b (diff)
Added XHTML, MathML, CSS validated images in footer
Diffstat (limited to 'project/templates')
-rw-r--r--project/templates/base.xhtml4
-rw-r--r--project/templates/base_math.xhtml23
-rw-r--r--project/templates/base_plain.xhtml17
3 files changed, 44 insertions, 0 deletions
diff --git a/project/templates/base.xhtml b/project/templates/base.xhtml
index 4258f12..596ff97 100644
--- a/project/templates/base.xhtml
+++ b/project/templates/base.xhtml
@@ -27,6 +27,10 @@
{% block content -%}
{%- endblock %}
</div>
+ <div class="footer">
+{%- block footer -%}
+{%- endblock %}
+ </div>
<hr />
</div>
</body>
diff --git a/project/templates/base_math.xhtml b/project/templates/base_math.xhtml
index fb6f429..834c116 100644
--- a/project/templates/base_math.xhtml
+++ b/project/templates/base_math.xhtml
@@ -11,3 +11,26 @@
{%- endblock -%}
+
+{%- block footer %}
+ <a href="http://validator.w3.org/check?uri=referer">
+ <img src="/img/valid-xhtml11.png"
+ alt="Valid XHTML 1.1"
+ height="31"
+ width="88" />
+ </a>
+ <a href="http://validator.w3.org/check?uri=referer">
+ <img src="/img/valid-mathml20.png"
+ alt="Valid MathML 2.0"
+ height="31"
+ width="88" />
+ </a>
+ <a href="http://jigsaw.w3.org/css-validator/check/referer">
+ <img src="/img/valid-css.png"
+ alt="Valid CSS"
+ height="31"
+ width="88" />
+ </a>
+{%- endblock -%}
+
+
diff --git a/project/templates/base_plain.xhtml b/project/templates/base_plain.xhtml
index 0f26e40..454cc0e 100644
--- a/project/templates/base_plain.xhtml
+++ b/project/templates/base_plain.xhtml
@@ -11,3 +11,20 @@
{%- endblock -%}
+
+{%- block footer %}
+ <a href="http://validator.w3.org/check?uri=referer">
+ <img src="/img/valid-xhtml11.png"
+ alt="Valid XHTML 1.1"
+ height="31"
+ width="88" />
+ </a>
+ <a href="http://jigsaw.w3.org/css-validator/check/referer">
+ <img src="/img/valid-css.png"
+ alt="Valid CSS"
+ height="31"
+ width="88" />
+ </a>
+{%- endblock -%}
+
+