PageRenderTime 40ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/sphinx/templates/web/base.html

https://bitbucket.org/dhellmann/pymotw
HTML | 145 lines | 107 code | 22 blank | 16 comment | 0 complexity | db2e3a86c2afc125ddde2db528ffaf40 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" xml:lang="en" lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>{% block title %}Doug Hellmann{% endblock %}</title>
  6. {% block head_before_css %}
  7. {% endblock %}
  8. <link href="{{pathto('_static/css/leaves.css', 1)}}" rel="stylesheet" type="text/css" />
  9. <link rel="alternate" type="application/atom+xml"
  10. title="Doug Hellmann"
  11. href="http://feeds.feedburner.com/DougHellmann" />
  12. <link rel="alternate" type="application/atom+xml"
  13. title="Doug Hellmann Project Releases"
  14. href="http://feeds.feedburner.com/DougHellmann-Releases" />
  15. <link rel="alternate" type="application/atom+xml"
  16. title="Doug Hellmann Links"
  17. href="http://feeds.feedburner.com/DougHellmannLinkBlog" />
  18. {% block head_after_css %}
  19. {% endblock %}
  20. {% block head %}
  21. {% endblock %}
  22. <meta name="verify-v1" content="5saTcOa2HLac4V85yUg3SARfun1PqT5Upu7IR/6fpv4="/>
  23. </head>
  24. <body>
  25. <div id="container">
  26. <div id="header">
  27. <a href="/"><h1>{% block page_heading %}PyMOTW{% endblock %}</h1></a>
  28. <p>{% block page_subheading %}{% endblock %}</p>
  29. </div>
  30. <div id="sidebar_left_wrapper">
  31. <div id="navigation">
  32. <ul id="navlist">
  33. <li><a href="{{pathto('index')}}">Home</a></li>
  34. <li><a href="http://doughellmann.com/" target="_">Blog</a></li>
  35. <li><a href="http://doughellmann.com/python-standard-library-by-example">The Book</a></li>
  36. <li><a href="{{pathto('about')}}">About</a></li>
  37. <li><a href="/2/genindex.html">Site Index</a></li>
  38. </ul>
  39. </div>
  40. {% block sidebar_l %}
  41. {% endblock %}
  42. </div>
  43. {% block sidebar %}
  44. {%- if sidebars != None %}
  45. <div id="sidebar">
  46. {#- new style sidebar: explicitly include/exclude templates #}
  47. {%- for sidebartemplate in sidebars %}
  48. {%- include sidebartemplate %}
  49. {%- endfor %}
  50. </div>
  51. {%- endif %}
  52. {% endblock %}
  53. <div id="content">
  54. {% block content %}
  55. {% block relbar1 %}{% endblock %}
  56. {% block relbar2 %}{% endblock %}
  57. {% endblock %}
  58. {% block addthis %}
  59. <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>
  60. {% endblock %}
  61. {% block comments %}
  62. <!-- Disqus -->
  63. <div id="disqus_wrapper">
  64. <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>
  65. </div>
  66. {% endblock %}
  67. </div>
  68. <div id="footer_ads">
  69. <p><script type="text/javascript"><!--
  70. google_ad_client = "pub-3205160560229413";
  71. google_ad_width = 728;
  72. google_ad_height = 90;
  73. google_ad_format = "728x90_as";
  74. google_ad_type = "text";
  75. //2007-10-21: www.doughellmann.com
  76. google_ad_channel = "4419596485";
  77. google_color_border = "FFFFFF";
  78. google_color_bg = "FFFFFF";
  79. google_color_link = "CC6714";
  80. google_color_text = "000000";
  81. google_color_url = "999999";
  82. google_ui_features = "rc:0";
  83. //-->
  84. </script>
  85. <script type="text/javascript"
  86. src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  87. </script></p>
  88. </div>
  89. <div id="footer">
  90. {% block footer %}
  91. <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>
  92. <script type="text/javascript">
  93. var _gaq = _gaq || [];
  94. _gaq.push(['_setAccount', 'UA-38546875-1']);
  95. _gaq.push(['_trackPageview']);
  96. (function() {
  97. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  98. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  99. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  100. })();
  101. </script>
  102. {% endblock %}
  103. </div>
  104. </div>
  105. {% block disqus_footer %}
  106. <!-- Disqus -->
  107. <script type="text/javascript">
  108. //<![CDATA[
  109. (function() {
  110. var links = document.getElementsByTagName('a');
  111. var query = '?';
  112. for(var i = 0; i < links.length; i++) {
  113. if(links[i].href.indexOf('#disqus_thread') >= 0) {
  114. query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
  115. }
  116. }
  117. document.write('<script type="text/javascript" src="http://disqus.com/forums/doughellmann/get_num_replies.js' + query + '"></' + 'script>');
  118. })();
  119. //]]>
  120. </script>
  121. {% endblock %}
  122. </body>
  123. </html>