base.njk 1.0 KB

12345678910111213141516171819202122232425262728
  1. <!doctype html>
  2. <html lang="en"{% if templateClass %} class="{{ templateClass }}"{% endif %}>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="generator" content="{{ eleventy.generator }}">
  7. <link rel="icon" href="https://torsion.org/borgmatic/static/borgmatic.png" type="image/x-icon">
  8. <title>borgmatic{% if subtitle or title %} - {% endif %}{{ subtitle + ' - ' if subtitle}}{{ title }}</title>
  9. {%- set css %}
  10. {% include 'index.css' %}
  11. {% include 'components/lists.css' %}
  12. {% include 'components/external-links.css' %}
  13. {% include 'components/minilink.css' %}
  14. {% include 'components/toc.css' %}
  15. {% include 'components/info-blocks.css' %}
  16. {% include 'prism-theme.css' %}
  17. {% endset %}
  18. <style>{{ css | safe }}</style>
  19. {% if feedTitle and feedUrl %}
  20. <link rel="alternate" href="{{ feedUrl }}" title="{{ feedTitle }}" type="application/atom+xml">
  21. {% endif %}
  22. </head>
  23. <body>
  24. {{ content | safe }}
  25. {% initClipboardJS %}
  26. </body>
  27. </html>