base.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE html>
  2. <html lang="{{ DEFAULT_LANG }}">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>{% block title %}{{ SITENAME }}{%endblock%}</title>
  8. <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
  9. {% if FEED_ALL_ATOM %}
  10. <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
  11. {% endif %}
  12. {% if FEED_ALL_RSS %}
  13. <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
  14. {% endif %}
  15. <script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/scripts/jquery-2.1.4.min.js"></script>
  16. <script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/scripts/jquery.sticky.js"></script>
  17. <script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/scripts/mine.js"></script>
  18. <!--[if IE]>
  19. <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  20. <![endif]-->
  21. </head>
  22. <body id="index" class="home">
  23. {% include 'github.html' %}
  24. <header id="banner" class="body">
  25. <div id="headerContainer">
  26. <div id="logo">
  27. <a href="{{ SITEURL }}/index.html"></a>
  28. </div>
  29. <div class="burger">
  30. <ul>
  31. <li></li>
  32. <li></li>
  33. <li></li>
  34. </ul>
  35. </div>
  36. <nav>
  37. <ul>
  38. {% if DISPLAY_PAGES_ON_MENU -%}
  39. {% for pg in PAGES %}
  40. <li {% if pg|is_active %} class="active"{% endif %}>
  41. <a href="{{ SITEURL }}/{{ pg.url }}">{{ pg.entry or pg.title }}</a>
  42. </li>
  43. {% endfor %}
  44. {% endif %}
  45. <li class="icon twitter"><a href="https://twitter.com/{{ TWITTER_USERNAME }}"> </a></li>
  46. <li class="icon rss"><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}"> </a></li>
  47. </ul>
  48. </nav>
  49. </div>
  50. </header><!-- /#banner -->
  51. <div class="container body">
  52. {% block content %}
  53. {% endblock %}
  54. </div>
  55. <footer id="contentinfo">
  56. <a href="#">Mentions légales</a>
  57. </footer>
  58. {% include 'analytics.html' %}
  59. {% include 'disqus_script.html' %}
  60. </body>
  61. </html>