blag/theme-fred/templates/base.html

61 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>
{% block title %}{{ SITENAME }}{% endblock %}
</title>
<meta charset="utf-8" />
<link rel="stylesheet"
href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}"
type="text/css"/>
<link href="{{ SITEURL }}/{{ FEED_ATOM }}"
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 lte IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie.css"/>
<script src="{{ SITEURL }}/js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie6.css"/><![endif]-->
</head>
<body>
<header>
<a href="{{ SITEURL }}" id="site-title">{{ SITENAME }}</a>
<div id="sitesubtitle">
{% if SITESUBTITLE %}{{ SITESUBTITLE }}{% endif %}
</div>
</header>
{% block content %}{% endblock %}
<footer>
<nav>
<ul>
{% for page in pages %}
<li>
<a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a>
{% if not loop.last %}::{% endif %}
</li>
{% endfor %}
{% if categories|length > 1 %}
<li>
:: <a href="{{ SITEURL }}/categories.html">Categories</a>
</li>
{% endif %}
{% if tags|length > 1 %}
<li>
:: <a href="{{ SITEURL }}/tags.html">Tags</a>
</li>
{% endif %}
</ul>
</nav>
</footer>
</body>
</html>