~sirodoht/mataroa

ref: e41ccd0181757f64258e9cad93ade228687cb614 mataroa/export_base_zola/index.html -rw-r--r-- 1.2 KiB
e41ccd01Theodore Keloglou add dark mode 1 year, 9 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en-US">
    <head>
        <meta charset="utf-8">
        <meta name="description" content="{{ config.description }}">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>{% block title %}{{ config.title }}{% endblock title %}</title>
        <link rel="stylesheet" href="{{ get_url(path='style.css') }}">
    </head>
    <body>
        {% block content %}
        <main>
            <h1>{{ config.title }}</h1>

            {% if config.description %}
            <p class="byline">
                {{ config.description }}
            </p>
            {% endif %}

            <ul class="posts">
                {% set blog = get_section(path='_index.md') %}
                {% for post in blog.pages %}
                <li>
                    <a href="{{ post.permalink }}">{{ post.title }}</a>
                    <small><time datetime="{{ post.date | date(format="%+") }}" itemprop="datePublished">{{ post.date | date(format='%B %e, %Y') }}</time></small>
                </li>
                {% endfor %}
            </ul>
        </main>

        <footer>
            --
            <br><a href="/rss.xml">RSS</a>
        </footer>
        {% endblock content %}

    </body>
</html>