pulec.foo git

zola-theme-plc-example

Example for Zola plc theme

themes/plc/templates/base.html

Mode
-rw-r--r--
Size
1337 bytes
Reference
themes/plc/templates/base.html@8ebfcee8b464 (last change)
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
{%- set date_format = config.extra.date_format | default(value="%y.%m.%d") -%}
<!doctype html>
<html lang="{{ config.default_language | default(value='en') }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    {%- block description %}{% endblock description -%}
    <title>{%- block title %}{{ config.title }}{% endblock title -%}</title>
    <link rel="stylesheet" href="{{ get_url(path='style.css') }}">
    <link rel="stylesheet" href="{{ get_url(path='print.css') }}" media="print">
    <link rel="icon" href="{{ get_url(path='favicon.ico') }}">
    {%- if config.generate_feeds %}
    <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path='rss.xml') }}">
    {%- endif %}
</head>
<body>
    <a href="#main" class="skip-link">Skip to content</a>
    <main id="main">
        {%- block main %}{% endblock main -%}
    </main>
    <footer>
        <nav aria-label="Footer">
            {%- if config.extra.plc_menu %}
            {%- for item in config.extra.plc_menu %}
            <a href="{{ get_url(path=item.link) }}">{{ item.text }}</a> &middot;
            {%- endfor %}
            {%- endif %}
            <a href="{{ config.base_url }}">{{ config.extra.home | default(value="home") }}</a>
        </nav>
    </footer>
</body>
</html>