Created
July 25, 2019 03:13
-
-
Save kiwiheretic/f32d9ea94f9dfb651725c4491727026e to your computer and use it in GitHub Desktop.
Base 2018 theme modified
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="{{ htmllang() }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
{# make sure we always display a proper title: The record's title if there is one, appended with the | |
sitename. If there is no title, we append the sitename with the payoff, if there is one. #} | |
<title> | |
{%- if record.title is defined %}{{ record.title|striptags }} | {% endif -%} | |
{{ config.get('general/sitename') -}} | |
{% if record.title is not defined and config.get('general/payoff') %} | {{ config.get('general/payoff') }}{% endif -%} | |
</title> | |
<link href="https://fonts.googleapis.com/css?family=Bitter|Roboto:400,400i,700" rel="stylesheet"> | |
<link rel="stylesheet" href="{{ asset('css/bulma.css', 'theme') }}"> | |
<link rel="stylesheet" href="{{ asset('css/theme.css', 'theme') }}"> | |
<style> | |
body { | |
background-image: url("{{ asset( homepage.background_image, 'files') }}"); | |
} | |
</style> | |
</head> | |
<body | |
{% if app.request.get('_route') == "homepage" %} class="front"{% endif %}> | |
<a href="#main-content" class="visually-hidden focusable skip-link">Skip to main content</a>{% if app.request.get('_route') == "homepage" %} class="front"{% endif %}> | |
<a href="#main-content" class="visually-hidden focusable skip-link">Skip to main content</a> | |
{% block body %} | |
<header role="banner" class="header"> | |
{{ include('partials/_navbar.twig') }} | |
{{ include('partials/_header.twig') }} | |
</header> | |
{{ widgets('main_top') }} | |
<a id="main-content"></a> | |
{% block main %} | |
{% endblock main %} | |
{{ widgets('main_bottom') }} | |
{% endblock body %} | |
{{ include('partials/_footer.twig') }} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment