this repo has no description
1{% extends "zerm/templates/index.html" %} 2 3{% block fonts %} 4{% endblock %} 5 6{% block rss %} 7 {%- if config.generate_feed -%} 8 <link rel="alternate" type="application/atom+xml" title="{{ config.title }} Feed" href="{{ get_url(path=config.feed_filename) | safe}}"> 9 {%- endif -%} 10{% endblock %} 11 12{% block og_preview %} 13 {{ social::og_preview() }} 14 15 {%- if config.extra.twitter.site -%} 16 <meta name="twitter:site" content="{{ config.extra.twitter.site }}" /> 17 {%- endif -%} 18 {%- if config.extra.twitter.creator -%} 19 <meta name="twitter:creator" content="{{ config.extra.twitter.creator }}" /> 20 {%- endif -%} 21 22 {%- if config.extra.webmention -%} 23 <link rel="webmention" href="{{ config.extra.webmention }}" > 24 {%- endif -%} 25{% endblock %} 26 27{% block copyright %} 28 <div class="copyright"> 29 <div class="copyright--user">{{ config.extra.copyright | safe }}</div> 30 <div class="copyright--tracking"> 31 Public tracking available at <a href="https://plausible.io/hauleth.dev">Plausible.io</a> 32 </div> 33 </div> 34{% endblock copyright %} 35 36{% block script %} 37 <script async defer data-domain="hauleth.dev" src="https://plausible.io/js/plausible.js"></script> 38{% endblock script %} 39 40{% block css %} 41 <link rel="stylesheet" type="text/css" href="/style.css" /> 42 <link rel="stylesheet" type="text/css" href="/syntax-theme.css" /> 43 {% if config.extra.theme_color != "orange" -%} 44 {% set color = "/color/" ~ config.extra.theme_color ~ ".css" -%} 45 <link rel="stylesheet" type="text/css" href="{{ color }}" /> 46 {%- else -%} 47 <link rel="stylesheet" type="text/css" href="/color/orange.css" /> 48 {% endif %} 49{% endblock css %} 50 51{% block header %} 52 <header class="header"> 53 <div class="header__inner"> 54 <div class="header__logo"> 55 {{ logo::logo() }} 56 </div> 57 </div> 58 <nav class="menu"> 59 <ul class="menu__inner"> 60 {%- for menu_item in config.extra.main_menu -%} 61 <li> 62 <a href="{% if menu_item.url is matching("^https?://") %}{{ menu_item.url }}{% else %}{{ get_url(path=menu_item.url) }}{% endif %}" 63 {% if menu_item.rel %}rel="{{ menu_item.rel }}"{% endif %}>{{ menu_item.name }}</a> 64 </li> 65 {%- endfor-%} 66 </ul> 67 </nav> 68 </header> 69{% endblock %}