summaryrefslogtreecommitdiff
path: root/project/templates/base_math.xhtml
blob: 145f6794944d6c434bf9f687aa30ca7ee375bfd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

{%- extends "base.xhtml" -%}



{%- block doctype -%}
<!DOCTYPE html PUBLIC
    "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
    "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
{%- endblock -%}



{%- macro math_footer(anchor) %}
    {%- set linkto = general.baseurl ~ "/" ~ anchor %}
        <a href="http://validator.w3.org/check?uri={{ linkto | e }}">
            <img src="/img/valid-xhtml11.png"
                 alt="Valid XHTML 1.1"
                 height="31"
                 width="88" />
        </a>
        <a href="http://validator.w3.org/check?uri={{ linkto | e }}">
            <img src="/img/valid-mathml20.png"
                 alt="Valid MathML 2.0"
                 height="31"
                 width="88" />
        </a>
        <a href="http://jigsaw.w3.org/css-validator/validator?uri={{ linkto | e }}">
            <img src="/img/valid-css.png"
                 alt="Valid CSS"
                 height="31"
                 width="88" />
        </a>
{%- endmacro -%}