wallabag/templates/base.html.twig

83 lines
4.3 KiB
Twig
Raw Normal View History

2015-03-01 08:22:29 +01:00
<!DOCTYPE html>
2019-01-11 21:09:49 +01:00
{% set lang = app.request.locale|default('') -%}
<!--[if lte IE 6]><html class="no-js ie6 ie67 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
<!--[if lte IE 7]><html class="no-js ie7 ie67 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
<!--[if IE 8]><html class="no-js ie8 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
<!--[if gt IE 8]><html class="no-js"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
2020-11-08 15:04:29 +01:00
<html{% if lang is not empty %} class="{{ theme_class() }}" lang="{{ lang }}"{% endif %}>
2015-03-01 08:22:29 +01:00
<head>
{% block head %}
<meta name="viewport" content="initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="referrer" content="strict-origin-when-cross-origin">
2015-03-01 08:22:29 +01:00
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=10">
<![endif]-->
2020-11-27 10:51:31 +01:00
<link rel="apple-touch-icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-152.png') }}" sizes="152x152">
<link rel="icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-152.png') }}" sizes="152x152">
2015-03-01 08:22:29 +01:00
2020-11-27 10:51:31 +01:00
<link rel="apple-touch-icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-144.png') }}" sizes="144x144">
<link rel="icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-144.png') }}" sizes="144x144">
2015-03-01 08:22:29 +01:00
2020-11-27 10:51:31 +01:00
<link rel="apple-touch-icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-120.png') }}" sizes="120x120">
<link rel="icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-120.png') }}" sizes="120x120">
2015-03-01 08:22:29 +01:00
2020-11-27 10:51:31 +01:00
<link rel="apple-touch-icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-114.png') }}" sizes="114x114">
<link rel="icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-114.png') }}" sizes="114x114">
2015-03-01 08:22:29 +01:00
2020-11-27 10:51:31 +01:00
<link rel="apple-touch-icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-76.png') }}" sizes="76x76">
<link rel="icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-76.png') }}" sizes="76x76">
2015-03-01 08:22:29 +01:00
2020-11-27 10:51:31 +01:00
<link rel="apple-touch-icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-72.png') }}" sizes="72x72">
<link rel="icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-72.png') }}" sizes="72x72">
2015-03-01 08:22:29 +01:00
2020-11-27 10:51:31 +01:00
<link rel="apple-touch-icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-57.png') }}" sizes="57x57">
<link rel="icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon-57.png') }}" sizes="57x57">
2015-03-01 08:22:29 +01:00
2020-11-27 10:51:31 +01:00
<link rel="apple-touch-icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon.png') }}">
<link rel="icon" type="image/png" href="{{ asset('img/appicon/apple-touch-icon.png') }}">
2015-03-01 08:22:29 +01:00
2020-11-27 10:51:31 +01:00
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
2015-03-01 08:22:29 +01:00
2018-03-19 08:32:33 +01:00
<link rel="manifest" href="{{ asset('manifest.json') }}">
2018-03-18 19:58:34 +01:00
{% block css %}
{% endblock %}
2020-01-29 22:26:00 +01:00
{% if asset_file_exists('custom.css') %}
<link rel="stylesheet" href="{{ asset('custom.css') }}">
{% endif %}
2015-03-01 08:22:29 +01:00
{% block scripts %}
2016-10-24 11:20:11 +02:00
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
2022-05-03 23:28:20 +02:00
<script src="{{ path('fos_js_routing_js', {callback: 'fos.Router.setData'}) }}"></script>
2015-03-01 08:22:29 +01:00
{% endblock %}
<title>{% block title %}{% endblock %} wallabag</title>
2015-03-01 08:22:29 +01:00
{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
2015-08-24 20:43:02 +02:00
{% block header %}{% endblock %}
2015-03-01 08:22:29 +01:00
<div id="main">
2015-08-24 20:43:02 +02:00
{% block menu %}{% endblock %}
2015-03-01 08:22:29 +01:00
2015-08-07 23:16:14 +02:00
<main>
{% block precontent %}{% endblock %}
2015-08-24 20:43:02 +02:00
{% block messages %}{% endblock %}
2015-03-01 08:22:29 +01:00
2022-02-06 15:27:27 +01:00
<div id="content" dir="auto">
2015-08-07 23:16:14 +02:00
{% block content %}{% endblock %}
</div>
</main>
2015-03-01 08:22:29 +01:00
</div>
2015-08-24 20:43:02 +02:00
{% block footer %}{% endblock %}
2020-04-28 09:02:39 +02:00
{% if craue_setting('matomo_enabled') %}
{{ matomo(craue_setting('matomo_host'), craue_setting('matomo_site_id')) }}
2016-02-22 10:58:43 +01:00
{% endif %}
2015-03-01 08:22:29 +01:00
</body>
</html>