d3c3nt

[DORMANT] a fairly decent theme for the zola static site engine
git clone git://git.figbert.com/d3c3nt.git
Log | Files | Refs | README | LICENSE

index.html (1462B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3   <head>
      4     <meta charset="UTF-8">
      5     <meta name="viewport" content="width=device-width">
      6     <title>{% if page.title %}{{ page.title }} :: {% endif %}{{ config.title }}</title>
      7     <link rel="stylesheet" href="{{ get_url(path="global.css") | safe }}">
      8     <meta name="description" content="{% if page.description %}{{ page.description | safe }}{% else %}{{ config.description | safe }}{% endif %}">
      9     <meta property="og:title" content="{% if page.title %}{{ page.title | safe }} :: {% endif %}{{ config.title | safe }}">
     10     <meta property="og:description" content="{% if page.description %}{{ page.description | safe }}{% else %}{{ config.description | safe }}{% endif %}">
     11     <meta property="og:type" content="website">
     12     {% if current_url %}
     13     <meta property="og:url" content="{{ current_url | safe }}">
     14     <link rel="canonical" href="{{ current_url | safe }}">
     15     {% endif %}
     16     <meta name="twitter:card" content="summary">
     17     <meta name="twitter:creator" content="@{{ config.extra.d3_twitter | safe }}">
     18     <link rel="icon" href="{{ config.extra.d3_icon | safe }}">
     19     <meta name="theme-color" content="#1F1E1E">
     20   </head>
     21   <body>
     22     <header>
     23       <nav>
     24       {% for link in config.extra.d3_nav %}
     25         <a href="{{ link.path | safe }}">{{ link.name }}</a>
     26       {% endfor %}
     27       </nav>
     28       <hr>
     29     </header>
     30     <main>
     31       {% block content %}{% endblock content %}
     32     </main>
     33   </body>
     34 </html>