forked from projects/fipamo
59 lines
1.7 KiB
Twig
59 lines
1.7 KiB
Twig
|
<!DOCTYPE html>
|
||
|
|
||
|
{% if debug is defined %}
|
||
|
{% set assetPath = '/src/themes/theme-fipamo-default/fipamo-default/assets/' %}
|
||
|
{% else %}
|
||
|
{% set assetPath = '/assets/' %}
|
||
|
{% endif %}
|
||
|
|
||
|
<html>
|
||
|
<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/base.css?=adfafd" }}">
|
||
|
</head>
|
||
|
<body>
|
||
|
<header style="background: url({{ background }}) no-repeat center center; background-size: cover">
|
||
|
<nav>
|
||
|
{% apply spaceless %}
|
||
|
<div class="left">
|
||
|
<a href="/" class="logo-link">
|
||
|
<img id="logo" src="{{ assetPath~"/images/global/the-logo.svg" }}" />
|
||
|
</a>
|
||
|
</div>
|
||
|
<div class="right">
|
||
|
{% if menu is defined %}
|
||
|
{% for link in menu %}
|
||
|
<a href="{{"/"~link.path~"/"~link.slug~".html"}}" class="menu-link">{{link.title}}</a><br />
|
||
|
{% endfor %}
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
{% endapply %}
|
||
|
</nav>
|
||
|
</header>
|
||
|
<div id="main-content" class="container">
|
||
|
{% apply spaceless %}
|
||
|
{% block mainContent %}{% endblock %}
|
||
|
{% endapply %}
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<footer>
|
||
|
<div class="inner">
|
||
|
<a href="/archives.html">Archives</a><br />
|
||
|
© 2020 By Fipamo
|
||
|
</div>
|
||
|
</footer>
|
||
|
<script src="{{ assetPath~"scripts/start.min.js" }}" type="text/javascript"></script>
|
||
|
</body>
|
||
|
</html>
|