PageRenderTime 27ms CodeModel.GetById 15ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/blogmaker/blog/templates/blog/blog_base.html

http://blogmaker.googlecode.com/
HTML | 103 lines | 73 code | 19 blank | 11 comment | 0 complexity | 8ce2cd3f8183a0a57b1eb4ed55527c13 MD5 | raw file
  1{% load blog_extras %}
  2{% load prefab_tags %}
  3
  4<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  5   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6   
  7<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  8<head>
  9<title>{% block "browsertitle" %}{% endblock %} - SiteName</title>
 10
 11{% block "extrahead" %}
 12{% endblock %}
 13
 14<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 15<link rel="stylesheet" type="text/css" href="{% setting 'MEDIA_URL' %}css/blog.css" />
 16{% block "extrastyle" %}
 17{% endblock %}
 18<link rel="alternate" title="Latest Posts" href="{% setting 'BLOG_ROOT' %}feeds/posts/" type="application/rss+xml" />
 19<link rel="alternate" title="Latest Comments" href="{% setting 'BLOG_ROOT' %}feeds/comments/" type="application/rss+xml" />
 20</head>
 21
 22<body class="base">
 23<table class="main" cellpadding="0" cellspacing="0">
 24<!-- headers begin -->
 25<tr><div class="branding"><a href="{% setting 'BLOG_ROOT' %}">SiteName and Branding</a></div>
 26</tr>
 27<!-- headers end -->
 28
 29<!-- left menus start -->
 30<tr>
 31<td class='left_side' valign='top'>
 32
 33{% include "blog/includes/recent_posts.html" %}
 34
 35{% block "taglist" %}
 36{% endblock %}
 37
 38</td>
 39<!-- left menus end -->
 40
 41<!-- main content begin -->
 42<td class='center' valign='top'> 
 43<div class="subcenter">
 44{% include "blog/includes/blog_nav.html" %}
 45
 46<div class="content_body">
 47
 48{% block "contentbody" %}
 49{% endblock %}
 50
 51</div>
 52</div>
 53</td>
 54<!-- main content end -->
 55
 56
 57<!-- right menus begin -->
 58<td class='right_side' valign='top'>
 59
 60{% block "blog_search" %}
 61{% include "blog/includes/blog_search.html" %}
 62{% endblock %}
 63
 64<!-- feeds submenu begin -->
 65<div class="right_submenu_half">
 66<div class='menu_header'>Blog Feeds</div>
 67<div class="menu_content">
 68<a href="{% setting 'BLOG_ROOT' %}feeds/posts/" title="Latest Posts" class='menu_content'>
 69<img src='{% setting 'MEDIA_URL' %}images/rss-button.gif' border='0' height='11' alt='rss'></img>
 70 Posts
 71</a>
 72<br />
 73<a href="{% setting 'BLOG_ROOT' %}feeds/comments/" title="Latest Comments" class='menu_content'>
 74<img src='{% setting 'MEDIA_URL' %}images/rss-button.gif' border='0' height='11' alt='rss'></img>
 75 Comments
 76</a>
 77</div>
 78</div>
 79</div>
 80<!-- feeds submenu end -->
 81
 82{% get_yearly_archive as archive_list %}
 83{% if archive_list %}
 84<!-- blog archive submenu begin -->
 85<div class="right_submenu_half">
 86<div class='menu_header'>Blog Archives</div>
 87<div class='menu_content'>
 88{% for d in archive_list %}
 89<a href="{% setting 'BLOG_ROOT' %}{{ d.year }}/{{ d|date:"m" }}/" class='menu_content'>{{ d|date:"M Y" }}
 90</a>
 91<br />
 92{% endfor %}
 93</div>
 94</div>
 95</div>
 96<!-- blog archive submenu end -->
 97{% endif %}
 98</td>
 99</tr>
100</table>
101
102</body>
103</html>