aboutsummaryrefslogtreecommitdiffstats
path: root/theme/templates/base.html
blob: 9ad8a1e3554493e13803f188a070cd6f880d6772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!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_RSS %}
<link href="{{ FEED_DOMAIN }}//feeds/posts.atom.xml" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Posts RSS Feed" />
{% endif %}
{% if FEED_ATOM %}
<link href="{{ FEED_DOMAIN }}//feeds/posts.rss.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Posts 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 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 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 %}
{% 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 %}
{% 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="/static/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>&nbsp;
            <a href="/photos/">photos</a>&nbsp;
            <a href="https://git.bnewbold.net/">code</a>&nbsp;
            <a href="https://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="pagetitle">{% block pagetitle %}{% endblock %}</h1>
<h2 class="pagesubtitle">{% block pagesubtitle %}{% endblock %}</h2>
<div class="right_stuff">
{% block right_stuff %}
{% endblock %}
</div>
</div>


<div class="content" id="main_content">
&nbsp;
{% block content %}
{% endblock %}
</div>
{% block commentary %} {% endblock %}
<div class="content_footer" id="footer">
&nbsp;
<a href="/">home</a> &nbsp;&nbsp;
<a href="/about/">about</a> &nbsp;&nbsp;
<a href="/credits/">credits</a> &nbsp;&nbsp;
<a href="mailto:webmeisterATbnewbold.net">email the webmaster</a> &nbsp;&nbsp;
produced 2007-2016 by bryan newbold, <a href="/copyright/">all rights ignored</a>
</div>
</body>
</html>