You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
4.4 KiB
Plaintext
109 lines
4.4 KiB
Plaintext
4 years ago
|
<!DOCTYPE html>
|
||
4 years ago
|
|
||
|
{% if debug is defined %}
|
||
2 years ago
|
{% set assetPath = theme~'/assets/' %}
|
||
4 years ago
|
{% else %}
|
||
2 years ago
|
{% set assetPath = '/assets/' %}
|
||
4 years ago
|
{% endif %}
|
||
|
|
||
4 years ago
|
<html>
|
||
2 years ago
|
<head>
|
||
|
<title>
|
||
|
{% block title %}
|
||
|
{{ title }}
|
||
|
{% endblock %}
|
||
|
</title>
|
||
|
<meta charset="UTF-8"/>
|
||
|
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
|
||
|
<meta name="keywords" content="{{ info['keywords'] }}"/>
|
||
|
<meta name="description" content="{{ info['description'] }} "/>
|
||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
||
|
<meta property="og:image" content="{{ info["image"] }}"/>
|
||
|
<meta name="twitter:image" content="{{ info["image"] }}"/>
|
||
|
<link rel="stylesheet" type="text/css" href="{{ assetPath~"css/start.css?=ffgfg" }}">
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<header>
|
||
|
<div role="slide-show">
|
||
|
{% if media|length > 1 %}
|
||
3 years ago
|
{% for item in media %}
|
||
2 years ago
|
{% if item.type == "mp4" %}
|
||
|
<div id="{{ loop.index0 }}" role="slide">
|
||
|
<video controls autoplay muted>
|
||
3 years ago
|
|
||
2 years ago
|
<source src="{{ item.file }}" type="video/mp4">
|
||
3 years ago
|
|
||
2 years ago
|
Please get a better browser. They're free.
|
||
|
</video>
|
||
|
</div>
|
||
|
{% else %}
|
||
|
<div id="{{ loop.index0 }}" role="slide" class="hide" style="background: url({{ item.file }}) no-repeat center center / cover"></div>
|
||
|
{% endif %}
|
||
3 years ago
|
{% endfor %}
|
||
2 years ago
|
{% else %}
|
||
3 years ago
|
{% if media[0] != '' %}
|
||
2 years ago
|
{% if media[0].type == "mp4" %}
|
||
|
<div id="0" role="slide">
|
||
|
<video controls autoplay muted>
|
||
3 years ago
|
|
||
2 years ago
|
<source src="{{ media[0].file }}" type="video/mp4">
|
||
3 years ago
|
|
||
2 years ago
|
Please get a better browser. They're free.
|
||
|
</video>
|
||
|
</div>
|
||
|
{% else %}
|
||
|
<div id="0" role="slide" style="background: url({{ media[0].file }}) no-repeat center center / cover"></div>
|
||
|
{% endif %}
|
||
|
{% else %}
|
||
|
{% endif %}
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
<nav>
|
||
|
{% apply spaceless %}
|
||
|
<div role="nav-left">
|
||
|
<a href="/" role="home-link">
|
||
|
<img id="logo" src="{{ assetPath~"/images/global/the-logo.svg" }}"/>
|
||
|
</a>
|
||
|
</div>
|
||
|
<div role="nav-right">
|
||
|
{% if menu is defined %}
|
||
|
{% for link in menu %}
|
||
|
{% if dynamicRender is defined %}
|
||
|
{% if dynamicRender == 'true' %}
|
||
|
<a href="{{ "/"~link.slug }}" role="menu-link">{{ link.title }}</a><br/>
|
||
|
{% else %}
|
||
|
<a href="{{ "/"~link.slug~".html" }}" role="menu-link">{{ link.title }}</a><br/>
|
||
|
{% endif %}
|
||
|
{% else %}
|
||
|
<a href="{{ "/"~link.slug~".html" }}" role="menu-link">{{ link.title }}</a><br/>
|
||
|
{% endif %}
|
||
|
{% endfor %}
|
||
3 years ago
|
{% endif %}
|
||
2 years ago
|
</div>
|
||
|
{% endapply %}
|
||
|
</nav>
|
||
|
</header>
|
||
|
<main>
|
||
|
{% apply spaceless %}
|
||
|
{% block mainContent %}{% endblock %}
|
||
|
{% endapply %}
|
||
|
</main>
|
||
4 years ago
|
|
||
2 years ago
|
<footer>
|
||
|
<div class="inner">
|
||
|
{% if dynamicRender is defined %}
|
||
|
{% if dynamicRender == 'true' %}
|
||
|
<a href="/archives">Archives</a><br/>
|
||
|
{% else %}
|
||
|
<a href="/archives.html">Archives</a><br/>
|
||
|
{% endif %}
|
||
|
{% else %}
|
||
|
<a href="/archives.html">Archives</a><br/>
|
||
|
{% endif %}
|
||
|
© 2022 Fipamo
|
||
|
</div>
|
||
|
</footer>
|
||
2 years ago
|
<script src="{{ assetPath~"scripts/ThemeStart.js" }}" type="module"></script>
|
||
2 years ago
|
</body>
|
||
4 years ago
|
</html>
|