diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2011-02-14 18:56:14 +0000 |
---|---|---|
committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-02-14 18:56:14 +0000 |
commit | 51bb3d45d1b376ee3f9c498c4828b5e537494630 (patch) | |
tree | 90fd5bdb4dbb8afb3679e654cf699ae356472ed4 /lightweight/templates/base.html | |
parent | c8b1a3e3f698399e0d7c7732fd1efc93bcfde44d (diff) | |
parent | 57f7c27797148a73279cfd58ab4bdf748928c04a (diff) | |
download | pelican-themes-51bb3d45d1b376ee3f9c498c4828b5e537494630.tar.gz |
Merge branch 'master' of https://github.com/Skami18/pelican-themes
Diffstat (limited to 'lightweight/templates/base.html')
-rw-r--r-- | lightweight/templates/base.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/lightweight/templates/base.html b/lightweight/templates/base.html new file mode 100644 index 0000000..a2d3a9f --- /dev/null +++ b/lightweight/templates/base.html @@ -0,0 +1,43 @@ +<?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/main.css" type="text/css" /> + <link href="{{ SITEURL }}/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} - Flux ATOM" /> + {% 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"> + + <header id="header"> + <h1><a href="{{ SITEURL }}/index.html">{{ SITENAME }}</a></h1> + </header> + +{% include 'menu.html' %} + + <section id="content"> +{% block content %} +{% endblock %} + </section> <!-- /#content --> + +{% include 'sidebar.html' %} + + + <footer id="footer"> + <p>Propulsé par <a href="http://docs.notmyidea.org/alexis/pelican/index.html">Pelican</a>.</p> + </footer> +</div> <!-- /#page --> +</body> +</html> |