Heuzef - Les notes excentriques d'un bidouilleur.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

base.html 2.1 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {%- macro url(destination) -%}
  2. {%- if destination|lower|truncate(4, True, '') == 'http' or not destination -%}
  3. {{ destination }}
  4. {%- elif destination|first == '/' -%}
  5. {{ SITEURL + destination }}
  6. {%- else -%}
  7. {{ SITEURL + '/' + destination }}
  8. {%- endif -%}
  9. {%- endmacro -%}
  10. <!doctype html>
  11. <html lang="{{ DEFAULT_LANG }}">
  12. <head>
  13. <!-- Required meta tags -->
  14. <meta charset="utf-8">
  15. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  16. <title>Heuzef</title>
  17. <link rel="canonical" href="{{ SITEURL }}/{{ output_file }}">
  18. {% if RFG_FAVICONS %}
  19. <link rel="apple-touch-icon" href="{{ SITEURL }}/apple-touch-icon.png" sizes="180x180">
  20. <link rel="icon" type="image/png" href="{{ SITEURL }}/favicon-32x32.png" sizes="32x32">
  21. <link rel="icon" type="image/png" href="{{ SITEURL }}/favicon-16x16.png" sizes="16x16">
  22. <link rel="manifest" href="{{ SITEURL }}/manifest.json">
  23. <meta name="theme-color" content="#333333">
  24. {% endif %}
  25. <link rel="stylesheet" href="{{ url(BOOTSTRAP_CSS or '/theme/css/bootstrap.min.css') }}">
  26. <link rel="stylesheet" href="{{ url(FONTAWESOME_CSS or '/theme/css/fontawesome.min.css') }}">
  27. <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments/{{ PYGMENTS_STYLE|default('default') }}.min.css">
  28. <link rel="stylesheet" href="{{ SITEURL }}/theme/css/theme.css">
  29. {% for stylesheet in THEME_CSS_OVERRIDES or () %}
  30. <link rel="stylesheet" href="{{ url(stylesheet) }}">
  31. {% endfor %}
  32. {% include 'include/xml_feeds.html' %}
  33. {% block head %}{% endblock %}
  34. {% include 'include/analytics.html' %}
  35. </head>
  36. <body>
  37. <header class="header">
  38. <div class="container">
  39. {% include 'include/header.html' %}
  40. </div>
  41. </header>
  42. <div class="main">
  43. <div class="container">
  44. <h1>{% block page_header %}{% endblock %}</h1>
  45. <hr>
  46. {% block content %}{% endblock %}
  47. </div>
  48. </div>
  49. <footer class="footer">
  50. <div class="container">
  51. {% include 'include/footer.html' %}
  52. </div>
  53. </footer>
  54. {% for script in THEME_JS_OVERRIDES or () %}
  55. <script type="text/javascript" src="{{ url(script) }}" crossorigin="anonymous"></script>
  56. {% endfor %}
  57. </body>
  58. </html>