PageRenderTime 45ms CodeModel.GetById 38ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/themes/default/templates/base.html

http://n23.googlecode.com/
HTML | 85 lines | 79 code | 6 blank | 0 comment | 0 complexity | 0f07c2c350ce61d4d1007839b4183e8b MD5 | raw file
 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 2<html xmlns="http://www.w3.org/1999/xhtml">
 3	<head>
 4		<title>{% block title %} {{ config.blog_title|escape }} {% endblock %}</title>
 5		<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
 6		<meta name="generator" content="blog on GAE" />
 7		{% block description %}<meta name="description" content="{{ config.site_description }}" />{% endblock %}
 8		{% block keywords %}<meta name="keywords" content="{{ config.site_keywords }}" />{% endblock %}
 9		<meta name="author" contect="No.0023@gmail.com">
10		<meta name="robots" contect="all|none|index|noindex|follow|nofollow">
11		<link rel="icon" type="image/ico" href="/favicon.ico">
12		{% block feed %}
13		<link rel="alternate" type="application/rss+xml" title="{{ config.blog_title }}" href="{{ base_url }}/feed" />
14		{% endblock %}
15		{% block style %}
16		<link rel="stylesheet" type="text/css" href="{{ theme.dir }}/style.css" />
17		{% endblock %}
18		<script type="text/javascript" src="/static/scripts/jquery.js"></script>
19		<script type="text/javascript" src="/static/scripts/blog.js"></script>
20		{% block scripts %}
21		{% endblock %}
22	</head>
23	<body>
24		<div id="wrapper">
25			<div id="header">
26				<div id="login">
27					{% if self.is_login %}
28					{{ self.user }} | <a href="/blog/logout" title="????google??">??</a>
29					{% else %}
30					<a href="/blog/login" title="??, ??google????????????">??</a>
31                    ??google????????????
32					{% endif %}
33				</div>
34
35				{% block header %}
36				{% include theme.header_part %}
37				{% endblock %}
38			</div>
39
40			<div id="headerbar">
41				{{ config.custom_header|default_if_none:"" }}
42			</div>
43
44			<div id="menu">
45				{% block menu %}
46				{% include theme.menu_part %}
47				{% endblock %}
48			</div>
49
50			<div id="page">
51				<div id="content">
52					{% block content %}
53					{% endblock %}
54				</div>
55				<div id="sidebar" class="sidebar">
56					<ul>
57						{% block sidebar %}
58						{{ self.widget.render_sidebar }}
59						{% endblock %}
60					</ul>
61				</div>
62				<br style="clear:both" />
63			</div>
64			<div id="footerbar">
65				{{ config.custom_footer|default_if_none:"" }}
66			</div>
67			<div id="footer">
68				{% block footer %}
69				{% include theme.footer_part %}
70				{% endblock %}
71			</div>
72		</div>
73
74<script type="text/javascript">
75var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
76document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
77</script>
78<script type="text/javascript">
79var pageTracker = _gat._getTracker("UA-4950427-1");
80pageTracker._initData();
81pageTracker._trackPageview();
82</script>
83
84	</body>
85</html>