e826af21d686903a22c5d4def0fda9d4206acaed
[copyspeak.git] / src / copyspeak / templates / base.html
1 <!DOCTYPE html>
2 {% load i18n static %}
3 {% load fnp_common fnp_share fnp_lang macros %}
4 {% load compressed %}
5 {% load tracking_code from piwik_tags %}
6 {% load chunk from chunks %}
7
8 {% macro title %}
9     {% block title %}{% endblock %}
10 {% endmacro %}
11 {% macro site_name %}CopySpeak.org{% endmacro %}
12
13 <html prefix="og: http://ogp.me/ns#">
14     <head>
15        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
16        <title>{% block full_title %}{% usemacro title %} | {% usemacro site_name %}{% endblock %}</title>
17        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
18         {% compressed_css 'base' %}
19
20         <meta charset="UTF-8" />
21         <meta property='og:url' content='{% block "ogurl" %}{{ "/"|build_absolute_uri:request }}{% endblock %}' />
22         <meta property='og:title' content='{% block og_title %}{% usemacro title %}{% endblock %}' />
23         <meta property='og:site_name' content='{% usemacro site_name %}' />
24         <meta property='og:description' content='{% block og_description %}{% endblock %}' />
25         <meta property='og:type' content='{% block og_type %}website{% endblock %}' />
26         <meta property='og:image' content='{% block og_image %}{% endblock %}' />
27         <meta property='og:locale' content='en_US' />
28     </head>
29     <body>
30         <header>
31             <a href="/">CopySpeak.org: How to talk about copyright?</a>
32
33 <div id="buy">
34 <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
35 <input type="hidden" name="cmd" value="_s-xclick">
36 <input type="hidden" name="hosted_button_id" value="RCTRCCV5QB3UC">
37 <input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
38 </form>
39 </div>
40
41             <div style="clear: both"></div>
42         </header>
43
44         {% block body %}{% endblock %}
45
46         <footer>
47             {% chunk 'footer' %}
48         </footer>
49     {#% compressed_js 'base' %#}
50     {% tracking_code %}
51     </body>
52 </html>