aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/base.html')
-rwxr-xr-xtheme/templates/base.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html
new file mode 100755
index 0000000..93ae32c
--- /dev/null
+++ b/theme/templates/base.html
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html>
+<html lang="{{ DEFAULT_LANG }}" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{% block title %}{{ SITENAME }}{%endblock%}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
+ <link href="{{ SITEURL }}/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} - Flux ATOM" />
+ {% if tag %}
+ {% if TAG_FEED_ATOM %}
+ <link href="{{ SITEURL }}/{{ TAG_FEED_ATOM % tag|e }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ tag|e }} - Flux ATOM" />
+ {% endif %}
+ {% if TAG_FEED_RSS %}
+ <link href="{{ SITEURL }}/{{ TAG_FEED_RSS % tag|e }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ tag }} - Flux RSS" />
+ {% endif %}
+ {% endif %}
+
+ {% if category %}
+ {% if CATEGORY_FEED_ATOM %}
+ <link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM % category }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux ATOM" />
+ {% endif %}
+ {% if CATEGORY_FEED_RSS %}
+ <link href="{{ SITEURL }}/{{ CATEGORY_FEED_RSS % category }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux RSS" />
+ {% endif %}
+ {% 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 %}
+</head>
+<body>
+<div id="page">
+
+{% include 'header.html' %}
+{% include 'menu.html' %}
+
+ <section id="content">
+{% block content %}
+{% endblock %}
+ </section> <!-- /#content -->
+
+ <footer id="footer">
+ <p>Propulsé par <a href="http://getpelican.com/">Pelican</a>.</p>
+ </footer>
+</div> <!-- /#page -->
+</body>
+</html>