25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

145 satır
4.6KB

  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. </aside> <!-- End Sidebar -->
  110. </div> <!-- End Main Content and Sidebar -->
  111. <!-- Footer -->
  112. <footer class="row">
  113. <div class="large-12 columns">
  114. <hr />
  115. <div class="row">
  116. <div class="large-7 columns">
  117. <p>Proudly powered by <a href="http://getpelican.com">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.</p>
  118. </div>
  119. </div>
  120. </div>
  121. {% include "analytics.html" %}
  122. </footer>