diff options
Diffstat (limited to 'basic/templates/base.html')
-rw-r--r-- | basic/templates/base.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/basic/templates/base.html b/basic/templates/base.html new file mode 100644 index 0000000..861b4d7 --- /dev/null +++ b/basic/templates/base.html @@ -0,0 +1,32 @@ +{% extends "!simple/base.html" %} + +{%- block head %} +{{ super() }} + <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" /> + <link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" /> + {%- if FEED_RSS %}<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />{% endif -%} + <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> + {% if GOOGLE_ANALYTICS %} + <script type="text/javascript"> + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); + </script> + <script type="text/javascript"> + try { + var pageTracker = _gat._getTracker("{{ GOOGLE_ANALYTICS }}"); + pageTracker._trackPageview(); + } catch(err) {} + </script> + {% endif %} + {% if JABBER_CHATROOM %} + <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> + <script type="text/javascript" src="https://static.jappix.com/php/get.php?l=fr&t=js&g=mini.xml"></script> + <script type="text/javascript"> + jQuery(document).ready(function() { + MINI_GROUPCHATS = ["{{ JABBER_CHATROOM }}"]; + MINI_ANIMATE = true; + launchMini(false, true, "anonymous.jappix.com"); + }); + </script> + {% endif %} +{% endblock -%} |