diff options
Diffstat (limited to 'project/templates/base_math.xhtml')
-rw-r--r-- | project/templates/base_math.xhtml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/project/templates/base_math.xhtml b/project/templates/base_math.xhtml index 834c116..145f679 100644 --- a/project/templates/base_math.xhtml +++ b/project/templates/base_math.xhtml @@ -12,25 +12,26 @@ -{%- block footer %} - <a href="http://validator.w3.org/check?uri=referer"> +{%- 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=referer"> + <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/check/referer"> + <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> -{%- endblock -%} +{%- endmacro -%} |