diff options
Diffstat (limited to 'project/templates/base_plain.xhtml')
-rw-r--r-- | project/templates/base_plain.xhtml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/project/templates/base_plain.xhtml b/project/templates/base_plain.xhtml index 454cc0e..b5e2da5 100644 --- a/project/templates/base_plain.xhtml +++ b/project/templates/base_plain.xhtml @@ -12,19 +12,20 @@ -{%- block footer %} - <a href="http://validator.w3.org/check?uri=referer"> +{%- macro plain_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://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 -%} |