gnu-social/templates/base.html.twig

59 lines
2.9 KiB
Twig
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
{% block meta %}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% endblock %}
<title>
{% block title %}{% endblock %}
</title>
{% block stylesheets %}
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@800&family=Open+Sans&display=swap" rel="stylesheet">
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base.css') }}" media="screen and (min-width: 1300px)">
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base_mid.css') }}" media="screen and (max-width: 1300px)">
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base_small.css') }}" media="screen and (max-width: 750px)">
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/reset.css') }}">
{% for stylesheet in show_stylesheets() %}
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/' ~ stylesheet) }}">
{% endfor %}
{% endblock %}
{% for type, element in handle_event('ShowHeadElements', app.request) %}
<{{type}} rel="{{element['rel']}}" type="{{element['type']}}" href="{{element['href']}}" title="{{element['title']}}">
{% endfor %}
</head>
<body>
<div class="container">
2020-07-14 23:18:42 +01:00
{% block header %}
<div id='header'>
<div id='top'>
{% block left %}
{% endblock left %}
2020-07-14 23:18:42 +01:00
<nav id='instance'>
2020-09-04 00:18:16 +01:00
<a href="{{ path('main_public') }}">
2020-10-20 23:38:56 +01:00
{{ icon('logo', 'icon icon-logo') | raw }}
<b> {{ config('site', 'name') }} </b>
2020-07-14 23:18:42 +01:00
</a>
</nav>
2020-08-13 02:54:51 +01:00
<div id="right-panel">
2020-08-14 02:39:54 +01:00
<input type="checkbox" id="toggle-right" class="larger">
2020-08-13 02:54:51 +01:00
<div class="arrow right">
<label for="toggle-right" id='right-panel'></label>
</div>
<div class='rss'>
2020-08-15 00:37:25 +01:00
<div>
</div>
2020-08-13 02:54:51 +01:00
</div>
</div>
</div>
2020-07-14 23:18:42 +01:00
</div>
{% endblock header%}
2020-07-14 23:18:42 +01:00
{% block nav %}{% endblock %}
{% block body %}{% endblock %}
{% block javascripts %}{% endblock javascripts%}
</div>
</body>
</html>