wallabag/templates/base.html.twig

83 lines
4.3 KiB
Twig
Raw Normal View History

2015-03-01 07:22:29 +00:00
<!DOCTYPE html>
2019-01-11 20:09:49 +00: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 14:04:29 +00:00
<html{% if lang is not empty %} class="{{ theme_class() }}" lang="{{ lang }}"{% endif %}>
2015-03-01 07:22:29 +00: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 07:22:29 +00:00
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=10">
<![endif]-->
2020-11-27 09:51:31 +00: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 07:22:29 +00:00
2020-11-27 09:51:31 +00: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 07:22:29 +00:00
2020-11-27 09:51:31 +00: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 07:22:29 +00:00
2020-11-27 09:51:31 +00: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 07:22:29 +00:00
2020-11-27 09:51:31 +00: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 07:22:29 +00:00
2020-11-27 09:51:31 +00: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 07:22:29 +00:00
2020-11-27 09:51:31 +00: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 07:22:29 +00:00
2020-11-27 09:51:31 +00: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 07:22:29 +00:00
2020-11-27 09:51:31 +00:00
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
2015-03-01 07:22:29 +00:00
2018-03-19 07:32:33 +00:00
<link rel="manifest" href="{{ asset('manifest.json') }}">
2018-03-18 18:58:34 +00:00
{% block css %}
{% endblock %}
2020-01-29 21:26:00 +00:00
{% if asset_file_exists('custom.css') %}
<link rel="stylesheet" href="{{ asset('custom.css') }}">
{% endif %}
2015-03-01 07:22:29 +00:00
{% block scripts %}
2016-10-24 09:20:11 +00:00
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
2022-05-03 21:28:20 +00:00
<script src="{{ path('fos_js_routing_js', {callback: 'fos.Router.setData'}) }}"></script>
2015-03-01 07:22:29 +00:00
{% endblock %}
<title>{% block title %}{% endblock %} wallabag</title>
2015-03-01 07:22:29 +00:00
{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
2015-08-24 18:43:02 +00:00
{% block header %}{% endblock %}
2015-03-01 07:22:29 +00:00
<div id="main">
2015-08-24 18:43:02 +00:00
{% block menu %}{% endblock %}
2015-03-01 07:22:29 +00:00
2015-08-07 21:16:14 +00:00
<main>
{% block precontent %}{% endblock %}
2015-08-24 18:43:02 +00:00
{% block messages %}{% endblock %}
2015-03-01 07:22:29 +00:00
2022-02-06 14:27:27 +00:00
<div id="content" dir="auto">
2015-08-07 21:16:14 +00:00
{% block content %}{% endblock %}
</div>
</main>
2015-03-01 07:22:29 +00:00
</div>
2015-08-24 18:43:02 +00:00
{% block footer %}{% endblock %}
2020-04-28 07:02:39 +00:00
{% if craue_setting('matomo_enabled') %}
{{ matomo(craue_setting('matomo_host'), craue_setting('matomo_site_id')) }}
2016-02-22 09:58:43 +00:00
{% endif %}
2015-03-01 07:22:29 +00:00
</body>
</html>