diff options
Diffstat (limited to 'theme/templates/base.html')
-rw-r--r-- | theme/templates/base.html | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html new file mode 100644 index 0000000..5c9fb0e --- /dev/null +++ b/theme/templates/base.html @@ -0,0 +1,91 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +{% block head %} +<title>{% block title %}{{ SITENAME }}{% endblock title %}</title> +<meta charset="utf-8" /> +{% if FEED_ALL_ATOM %} +<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" /> +{% endif %} +{% if FEED_ALL_RSS %} +<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" /> +{% endif %} +{% if FEED_ATOM %} +<link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" /> +{% endif %} +{% if FEED_RSS %} +<link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> +{% endif %} +{% if CATEGORY_FEED_ATOM and category %} +<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" /> +{% endif %} +{% if CATEGORY_FEED_RSS and category %} +<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" /> +{% endif %} +{% if TAG_FEED_ATOM and tag %} +<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" /> +{% endif %} +{% if TAG_FEED_RSS and tag %} +<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" /> +{% endif %} +{% block stylesheets %} +<link rel="stylesheet" type="text/css" href="/static/style/reset.css" /> +<link rel="stylesheet" type="text/css" href="/static/style/default.css" /> +<link rel="stylesheet" type="text/css" href="/static/style/commentary.css" /> +<link rel="icon" href="http://static.bnewbold.net/img/nudie_favicon.png" /> +{% endblock %} +{% block externaljs %} {% endblock %} {% block otherhead %} {% endblock %} +{% endblock head %} +</head> +<body> +<div id="top_bar"> + <div id="top_bar_content"> + <span class="righty"> + <a href="http://journal.bnewbold.net">journal</a> + <a href="/photos/">photos</a> + <a href="http://git.bnewbold.net/">code</a> + <a href="http://know.bnewbold.net/">knowledge</a></span> + <span class="lefty"><a href="/">bnewbold.net</a></span> + </div> +</div> +<div class="content" id="main_title"> +<div class="right_stuff"> +<form name="search" method="get" action="https://www.google.com/search"> +<br/> +<input class="search_box" type="text" size="21" value=" search!" + name="q" id="search_text" + onfocus="var box=document.forms['search'].elements['q']; if(box.value == ' search!') box.value=''; return;" /> +<input type="hidden" name="domains" value="bnewbold.net" /> +<input type="hidden" name="sitesearch" value="bnewbold.net" /> +</form> +<span class="righty"></span> +</div> +<span class="path"> +{% block path %}{% endblock %} +</span> +<h1 class="content_title">{% block pagetitle %}Hey Hey Hey!{% endblock %}</h1> +<h2 class="content_subtitle">{% block pagesubtitle %}{% endblock %}</h2> +<div class="right_stuff"> +{% block right_stuff %} +{% endblock %} +</div> +</div> + + +<div class="content" id="main_content"> +{% block content %} +Here lies content! +{% endblock %} +</div> +{% block commentary %} {% endblock %} +<div class="content_footer" id="footer"> + +<a href="/">home</a> +<a href="/about/">about</a> +<a href="/credits/">credits</a> +<a href="mailto:webmeisterATbnewbold.net">email the webmaster</a> +produced 2007-2015 by bryan newbold, <a href="/copyright/">all rights ignored</a> +</div> +</body> +</html> |