/sphinx/templates/web/base.html
HTML | 145 lines | 107 code | 22 blank | 16 comment | 0 complexity | db2e3a86c2afc125ddde2db528ffaf40 MD5 | raw file
- <!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" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>{% block title %}Doug Hellmann{% endblock %}</title>
- {% block head_before_css %}
- {% endblock %}
- <link href="{{pathto('_static/css/leaves.css', 1)}}" rel="stylesheet" type="text/css" />
- <link rel="alternate" type="application/atom+xml"
- title="Doug Hellmann"
- href="http://feeds.feedburner.com/DougHellmann" />
- <link rel="alternate" type="application/atom+xml"
- title="Doug Hellmann Project Releases"
- href="http://feeds.feedburner.com/DougHellmann-Releases" />
- <link rel="alternate" type="application/atom+xml"
- title="Doug Hellmann Links"
- href="http://feeds.feedburner.com/DougHellmannLinkBlog" />
- {% block head_after_css %}
- {% endblock %}
- {% block head %}
- {% endblock %}
- <meta name="verify-v1" content="5saTcOa2HLac4V85yUg3SARfun1PqT5Upu7IR/6fpv4="/>
- </head>
- <body>
-
- <div id="container">
-
- <div id="header">
- <a href="/"><h1>{% block page_heading %}PyMOTW{% endblock %}</h1></a>
- <p>{% block page_subheading %}{% endblock %}</p>
- </div>
- <div id="sidebar_left_wrapper">
- <div id="navigation">
- <ul id="navlist">
- <li><a href="{{pathto('index')}}">Home</a></li>
- <li><a href="http://doughellmann.com/" target="_">Blog</a></li>
- <li><a href="http://doughellmann.com/python-standard-library-by-example">The Book</a></li>
- <li><a href="{{pathto('about')}}">About</a></li>
- <li><a href="/2/genindex.html">Site Index</a></li>
- </ul>
- </div>
- {% block sidebar_l %}
- {% endblock %}
- </div>
- {% block sidebar %}
- {%- if sidebars != None %}
- <div id="sidebar">
- {#- new style sidebar: explicitly include/exclude templates #}
- {%- for sidebartemplate in sidebars %}
- {%- include sidebartemplate %}
- {%- endfor %}
- </div>
- {%- endif %}
- {% endblock %}
- <div id="content">
- {% block content %}
- {% block relbar1 %}{% endblock %}
- {% block relbar2 %}{% endblock %}
- {% endblock %}
- {% block addthis %}
- <div id="addthis"><a href="http://www.addthis.com/bookmark.php" onclick="addthis_url = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="Bookmark and Share" /></a><script type="text/javascript">var addthis_pub = "dhellmann";</script><script type="text/javascript" src="http://s7.addthis.com/js/widget.php?v=10"></script></div>
- {% endblock %}
- {% block comments %}
- <!-- Disqus -->
- <div id="disqus_wrapper">
- <div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/doughellmann/embed.js"></script><noscript><a href="http://doughellmann.disqus.com/?url=ref">View the discussion thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
- </div>
- {% endblock %}
- </div>
- <div id="footer_ads">
- <p><script type="text/javascript"><!--
- google_ad_client = "pub-3205160560229413";
- google_ad_width = 728;
- google_ad_height = 90;
- google_ad_format = "728x90_as";
- google_ad_type = "text";
- //2007-10-21: www.doughellmann.com
- google_ad_channel = "4419596485";
- google_color_border = "FFFFFF";
- google_color_bg = "FFFFFF";
- google_color_link = "CC6714";
- google_color_text = "000000";
- google_color_url = "999999";
- google_ui_features = "rc:0";
- //-->
- </script>
- <script type="text/javascript"
- src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
- </script></p>
- </div>
- <div id="footer">
- {% block footer %}
-
- <p>Copyright <a rel="author" href="/about/index.html">Doug Hellmann</a> | Design based on "Leaves" by <a href="http://smallpark.org">SmallPark</a> | Hosted by <a href="http://www.dreamhost.com/r.cgi?1246820">DreamHost</a></p>
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-38546875-1']);
- _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- {% endblock %}
- </div>
- </div>
- {% block disqus_footer %}
- <!-- Disqus -->
- <script type="text/javascript">
- //<![CDATA[
- (function() {
- var links = document.getElementsByTagName('a');
- var query = '?';
- for(var i = 0; i < links.length; i++) {
- if(links[i].href.indexOf('#disqus_thread') >= 0) {
- query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
- }
- }
- document.write('<script type="text/javascript" src="http://disqus.com/forums/doughellmann/get_num_replies.js' + query + '"></' + 'script>');
- })();
- //]]>
- </script>
- {% endblock %}
- </body>
- </html>