[TASK] option for widescreen

This commit is contained in:
TLRZ Seyfferth 2020-05-05 19:39:05 +02:00
parent d88070fab7
commit 7f1f0495a8
3 changed files with 52 additions and 52 deletions

View File

@ -2,62 +2,62 @@
<html lang="de"> <html lang="de">
<head> <head>
{% block head %} {% block head %}
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" <meta name="viewport"
content="width=device-width, initial-scale=1.0" /> content="width=device-width, initial-scale=1.0" />
<title> <title>
{% if meta.title %} {% if meta.title %}
{{ meta.title }} {{ meta.title }}
| |
{% endif %} {% endif %}
{{ site_title }}</title> {{ site_title }}</title>
{% if meta.description %} {% if meta.description %}
<meta name="description" <meta name="description"
content="{{ meta.description|striptags }}" /> content="{{ meta.description|striptags }}" />
{% endif %} {% endif %}
{% if meta.robots %} {% if meta.robots %}
<meta name="robots" <meta name="robots"
content="{{ meta.robots }}" /> content="{{ meta.robots }}" />
{% endif %} {% endif %}
{% if current_page %} {% if current_page %}
<link rel="canonical" <link rel="canonical"
href="{{ current_page.url }}" /> href="{{ current_page.url }}" />
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block css %} {% block css %}
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"> rel="stylesheet">
<link rel="stylesheet" <link rel="stylesheet"
href="{{ theme_url }}/css/materialize.min.css"> href="{{ theme_url }}/css/materialize.min.css">
<link rel="stylesheet" <link rel="stylesheet"
href="{{ theme_url }}/css/style.css" href="{{ theme_url }}/css/style.css"
type="text/css" /> type="text/css" />
{% endblock %} {% endblock %}
</head> </head>
<body> <body>
{% include "templates/layout/navigationBar.twig" %} {% include "templates/layout/navigationBar.twig" %}
<main class="container"> <main class="{% if not config.theme_config.widescreen %} container{% endif %}">
<div class="row"> <div class="row">
<div class="col s12"> <div class="col s12">
{% block content %} {% block content %}
{{ content }} {{ content }}
{% endblock %} {% endblock %}
</div>
</div> </div>
</div> </main>
</main> {% include "templates/layout/footer.twig" %}
{% include "templates/layout/footer.twig" %} {% block js %}
{% block js %} <script type="text/javascript"
<script type="text/javascript" src="{{ theme_url }}/js/materialize.min.js"></script>
src="{{ theme_url }}/js/materialize.min.js"></script> <script src="{{ theme_url }}/js/site.js"
<script src="{{ theme_url }}/js/site.js" type="text/javascript">
type="text/javascript"> </script>
</script> {% endblock %}
{% endblock %}
</body> </body>
</html> </html>

View File

@ -1,5 +1,5 @@
<footer class="page-footer white"> <footer class="page-footer white">
<div class="container"> <div class="{% if not config.theme_config.widescreen %} container{% endif %}">
<div class="row"> <div class="row">
<div class="col l6 s12"> <div class="col l6 s12">
@ -10,7 +10,7 @@
</div> </div>
</div> </div>
<div class="footer-copyright"> <div class="footer-copyright">
<div class="container black-text"> <div class="{% if not config.theme_config.widescreen %} container{% endif %} black-text">
&copy; 2013 - {{ now|date("Y") }} by chrosey &copy; 2013 - {{ now|date("Y") }} by chrosey
<span class="right">powered by <a href="http://picocms.org/">picoCMS</a></span> <span class="right">powered by <a href="http://picocms.org/">picoCMS</a></span>
</div> </div>

View File

@ -1,6 +1,6 @@
<nav class="white" <nav class="white"
role="navigation"> role="navigation">
<div class="nav-wrapper container"> <div class="nav-wrapper{% if not config.theme_config.widescreen %} container{% endif %}">
<a id="logo-container" <a id="logo-container"
href="{{ "index"|link }}" href="{{ "index"|link }}"
class="brand-logo"> class="brand-logo">