blag/theme-fred/templates/base.html

61 lines
2.3 KiB
HTML
Raw Permalink Normal View History

2016-08-03 02:36:43 -04:00
<!DOCTYPE html>
<html lang="en">
2023-03-24 12:41:18 -04:00
<head>
<title>
{% block title %}{{ SITENAME }}{% endblock %}
</title>
2016-08-03 02:36:43 -04:00
<meta charset="utf-8" />
2023-03-24 12:41:18 -04:00
<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"/>
2016-08-03 02:36:43 -04:00
{% if FEED_RSS %}
2023-03-24 12:41:18 -04:00
<link href="{{ SITEURL }}/{{ FEED_RSS }}"
type="application/atom+xml"
rel="alternate"
title="{{ SITENAME }} RSS Feed"/>
2016-08-03 02:36:43 -04:00
{% endif %}
<!--[if IE]>
2023-03-24 12:41:18 -04:00
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
2016-08-03 02:36:43 -04:00
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie.css"/>
2023-03-24 12:41:18 -04:00
<script src="{{ SITEURL }}/js/IE8.js" type="text/javascript"></script><![endif]-->
2016-08-03 02:36:43 -04:00
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie6.css"/><![endif]-->
2023-03-24 12:41:18 -04:00
</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>
2016-08-03 02:36:43 -04:00
</html>