You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base.html 5.1KB

7 anni fa
7 anni fa
7 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <!DOCTYPE html>
  2. <head>
  3. <meta charset="utf-8" />
  4. <!-- Set the viewport width to device width for mobile -->
  5. <meta name="viewport" content="width=device-width" />
  6. <title>{% block title %}{{ SITENAME }}{%endblock%}</title>
  7. <link rel="stylesheet" href="{{ SITEURL }}/theme/css/normalize.css" />
  8. <link rel="stylesheet" href="{{ SITEURL }}/theme/css/foundation.min.css" />
  9. <link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css" />
  10. <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments.css" />
  11. <script src="{{ SITEURL }}/theme/js/custom.modernizr.js"></script>
  12. <!-- So Firefox can bookmark->"abo this site" -->
  13. {% if FEED_ALL_ATOM %}
  14. <link href="{{ FEED_ALL_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml">
  15. {% endif %}
  16. {% if FEED_ATOM %}
  17. <link href="{{ FEED_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml">
  18. {% endif %}
  19. {% if FEED_RSS %}
  20. <link href="{{ FEED_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml">
  21. {% endif %}
  22. {% if FEED_ALL_RSS %}
  23. <link href="{{ FEED_ALL_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml">
  24. {% endif %}
  25. </head>
  26. <body>
  27. <!-- Nav Bar -->
  28. <nav>
  29. <!-- Show menu items and pages -->
  30. <div class="row">
  31. <div class="large-12 columns top-bar">
  32. <h1><a href="{{ SITEURL }}">{{ SITENAME }}</a></h1>
  33. </div>
  34. </div>
  35. <div class="row top-menu">
  36. <div class="large-12 columns">
  37. {% for title, link in MENUITEMS %}
  38. <a href="{{ link }}" class="menu-button secondary">{{ title }}</a>
  39. {% endfor %}
  40. {% if DISPLAY_PAGES_ON_MENU %}
  41. {% for page in pages %}
  42. <a href="{{ SITEURL }}/{{ page.url }}" class="menu-button secondary">{{ page.title }}</a>
  43. {% endfor %}
  44. {% endif %}
  45. </div>
  46. </div>
  47. </nav>
  48. <!-- End Nav -->
  49. <!-- Main Page Content and Sidebar -->
  50. <div class="row">
  51. <!-- Main Blog Content -->
  52. <div class="large-9 columns">
  53. {% block content %}{% endblock %}
  54. </div>
  55. <!-- End Main Content -->
  56. <!-- Sidebar -->
  57. <aside class="large-3 columns">
  58. <!--k
  59. <h5 class="sidebar-title">Site</h5>
  60. <ul class="side-nav">
  61. <li><a href="{{ SITEURL }}/archives.html">Archives</a>
  62. <li><a href="{{ SITEURL }}/tags.html">Tags</a>
  63. {% if FEED_ALL_ATOM %}
  64. <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" rel="alternate">Atom feed</a></li>
  65. {% endif %}
  66. {% if FEED_ATOM %}
  67. <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" rel="alternate">Atom feed</a></li>
  68. {% endif %}
  69. {% if FEED_RSS %}
  70. <li><a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" rel="alternate">RSS feed</a></li>
  71. {% endif %}
  72. {% if FEED_ALL_RSS %}
  73. <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" rel="alternate">RSS feed</a></li>
  74. {% endif %}
  75. </ul>
  76. {% if categories %}
  77. <h5 class="sidebar-title">Categories</h5>
  78. <ul class="side-nav">
  79. {% for cat, null in categories %}
  80. <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
  81. {% endfor %}
  82. </ul>
  83. {% endif %}
  84. -->
  85. {% if LINKS %}
  86. <h5 class="sidebar-title">Links</h5>
  87. <ul class="side-nav">
  88. {% for name, link in LINKS %}
  89. <li><a href="{{ link }}">{{ name }}</a></li>
  90. {% endfor %}
  91. </ul>
  92. {% endif %}
  93. {% if PROJECTS %}
  94. <h5 class="sidebar-title">Projects</h5>
  95. <ul class="side-nav">
  96. {% for name, link in PROJECTS %}
  97. <li><a href="{{ link }}">{{ name }}</a></li>
  98. {% endfor %}
  99. </ul>
  100. {% endif %}
  101. {% if SOCIAL %}
  102. <h5 class="sidebar-title">Social</h5>
  103. <ul class="side-nav">
  104. {% for name, link in SOCIAL %}
  105. <li><a href="{{ link }}">{{ name }}</a></li>
  106. {% endfor %}
  107. </ul>
  108. {% endif %}
  109. <h5 class="sidebar-title">Ads</h5>
  110. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  111. <!-- ogs -->
  112. <ins class="adsbygoogle"
  113. style="display:inline-block;width:120px;height:240px"
  114. data-ad-client="ca-pub-4473792248813084"
  115. data-ad-slot="4132845695"></ins>
  116. <script>
  117. (adsbygoogle = window.adsbygoogle || []).push({});
  118. </script>
  119. </aside> <!-- End Sidebar -->
  120. </div> <!-- End Main Content and Sidebar -->
  121. <!-- Footer -->
  122. <footer class="row">
  123. <div class="large-12 columns">
  124. <hr />
  125. <div class="row">
  126. <div class="large-7 columns">
  127. <p>Proudly powered by <a href="http://getpelican.com">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.</p>
  128. </div>
  129. </div>
  130. </div>
  131. {% include "analytics.html" %}
  132. </footer>