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.

94 lines
3.2KB

  1. <!doctype html>
  2. <html lang="{{ HTML_LANG }}">
  3. <head>
  4. <meta charset="utf-8"/>
  5. <title>{% block title %}{{ SITENAME }}{% endblock %}</title>
  6. <meta name="author" content="{{ AUTHOR }}">
  7. <meta name="viewport" content="width=device-width, user-scalable=no">
  8. <meta name="twitter:dnt" content="on">
  9. {% block extra_meta %}
  10. {% endblock %}
  11. <style type="text/css">
  12. body { background-color: #fff; font-family: sans-serif; font-size: 1.2em; }
  13. .footer--icons svg { height: 30px; width: 30px; display: inline-block; }
  14. </style>
  15. <link rel="stylesheet" href="{{ SITEURL }}/assets/css/{{ CSS_FILE }}">
  16. {% block scripts %}
  17. {% endblock %}
  18. {% block metarobots %}
  19. <meta name="robots" value="index,follow">
  20. {% endblock %}
  21. {% if FEED_ALL_ATOM %}
  22. <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
  23. {% endif %}
  24. {% if FEED_ALL_RSS %}
  25. <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
  26. {% endif %}
  27. </head>
  28. <body class="{% block body_classes %}{% endblock %}">
  29. <header role="banner">
  30. <h1>
  31. <a href="{{ SITEURL|default("/") }}">sixohthree.com</a>
  32. </h1>
  33. </header>
  34. <div role="main" class="content">
  35. {% block content %}{% endblock %}
  36. </div>
  37. <footer>
  38. <ul class="footer--links list-unstyled">
  39. <li>&copy; 2002-2019 <a href="{{ SITEURL }}/about">Annika Backstrom</a>, <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4</a></li>
  40. <li>Powered by <a href="https://blog.getpelican.com/">Pelican</a></li>
  41. <li>Feeds: <a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" rel="alternate">atom</a>, <a href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" rel="alternate">rss</a></li>
  42. </ul>
  43. <ul class="footer--icons p-0 m-0">
  44. {% for title, url, svg in SOCIAL %}
  45. <li class="p-0 m-x-1">
  46. <a href="{{ url }}" title="{{ title }}" rel="me">
  47. {% set svg_file = 'svg/' + svg %}
  48. {% include svg_file ignore missing without context %}
  49. </a>
  50. </li>
  51. {% endfor %}
  52. </ul>
  53. </footer>
  54. {% if GOOGLE_ANALYTICS %}
  55. <script>
  56. var _gaq=[['_setAccount','{{ GOOGLE_ANALYTICS }}'],['_trackPageview']];
  57. (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
  58. g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
  59. s.parentNode.insertBefore(g,s)}(document,'script'));
  60. </script>
  61. {% endif %}
  62. {% if GAUGES_SITEID %}
  63. <script type="text/javascript">
  64. var _gauges = _gauges || [];
  65. (function() {
  66. var t = document.createElement('script');
  67. t.type = 'text/javascript';
  68. t.async = true;
  69. t.id = 'gauges-tracker';
  70. t.setAttribute('data-site-id', '{{ GAUGES_SITEID }}');
  71. t.src = '//secure.gaug.es/track.js';
  72. var s = document.getElementsByTagName('script')[0];
  73. s.parentNode.insertBefore(t, s);
  74. })();
  75. </script>
  76. {% endif %}
  77. {% block scripts_footer %}
  78. {% endblock %}
  79. </body>
  80. </html>