aboutsummaryrefslogtreecommitdiffstats
path: root/dev-random2/templates/base.html
diff options
context:
space:
mode:
authorm-r-r <raybaudroigm@gmail.com>2012-07-26 15:01:23 +0200
committerm-r-r <raybaudroigm@gmail.com>2012-07-26 15:01:23 +0200
commitc55d10de9c103e2c023ef1f40f4f4c0502570e69 (patch)
tree60525471c4c5386b00f8707c4d3d060f2b31cf43 /dev-random2/templates/base.html
parent98f0d46f2bbddf86e8d202b533af35fa79da2d2f (diff)
downloadpelican-themes-c55d10de9c103e2c023ef1f40f4f4c0502570e69.zip
pelican-themes-c55d10de9c103e2c023ef1f40f4f4c0502570e69.tar.gz
pelican-themes-c55d10de9c103e2c023ef1f40f4f4c0502570e69.tar.bz2
[dev-random2] Theme upgrade
Diffstat (limited to 'dev-random2/templates/base.html')
-rw-r--r--dev-random2/templates/base.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/dev-random2/templates/base.html b/dev-random2/templates/base.html
new file mode 100644
index 0000000..548d6a4
--- /dev/null
+++ b/dev-random2/templates/base.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html lang="{{ article.lang if article and article.lang else DEFAULT_LANG }}">
+ <head>
+ {% block headers %}
+ <meta charset="utf-8" />
+ <meta http-equiv="X-UA-Compatible" content="IE=endge, chrome=IE8" />
+ <meta name="viewport" content="initial-scale=1.0, width=device-width, user-scalable=no" />
+ <title>{% block title %}{{ SITENAME }}{%endblock%}</title>
+ <!--[if lte IE 8]><script type="text/javascript" src="{{ SITEURL }}/theme/js/html5shiv.js"></script><![endif]-->
+ <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/skeleton.css" />
+ <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/theme.css" />
+ <link rel="shortcut icon" type="image/png" href="{{ SITEURL }}/favicon.png" />
+ <!--[if lte IE 8]><link rel="shortcut icon" type="image/x-icon" href="{{ SITEURL }}/favicon.ico" /><![endif]-->
+ <link rel="alternate" type="application/atom+xml"
+ title="{{ SITENAME }} — Flux Atom"
+ href="{{ SITEURL }}/{{ FEED }}" />
+ {% if FEED_RSS %}
+ <link rel ="alternate" type="application/rss+xml"
+ title="{{ SITENAME }} — Flux RSS"
+ href="{{ SITEURL }}/{{ FEED_RSS }}" />
+ {% endif %}
+ {% endblock headers %}
+ </head>
+ <body>
+ <div id="page">
+ <header id="page-head">
+ <h1>
+ <a href="{{ SITEURL }}/index.html">{{ SITENAME }}</a>
+ </h1>
+ </header>
+
+ <div id="page-body">
+ <{%- if article %}article class="post" {% else %}section {% endif -%}id="page-main" role="main">
+{% block content %}
+{% endblock content %}
+ </{%- if article %}article{% else %}section{% endif -%}> <!-- /#page-main -->
+
+ <aside id="page-side">
+ {%- include "includes/sidebar.html" -%}
+ </aside> <!-- /#page-side -->
+ </div> <!-- /#page-body -->
+
+ <footer id="page-foot">
+ <p> {{ FOOTER_TEXT or 'Powered by <a href="http://pelican.readthedocs.org">Pelican</a>' }}</p>
+ {% if GITHUB_URL %}<p><a id="github-link" href="{{ GITHUB_URL}}">Fork me on Github</a></p>{% endif %}
+ </footer>
+ </div> <!-- /#page -->
+ {% if GOOGLE_ANALYTICS %}
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
+ _gaq.push(['_trackPageview']);
+ (function() {
+ var ga = document.createElement('script');
+ ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+ {% endif %}
+ </body>
+</html>