Add example sponsorship page
This commit is contained in:
parent
2e315c20d6
commit
cfdd818fa5
7 changed files with 75 additions and 44 deletions
26
source/_layouts/base.html.twig
Normal file
26
source/_layouts/base.html.twig
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="tw-h-full" lang="en" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# ">
|
||||
<head>
|
||||
{% include 'meta' %}
|
||||
</head>
|
||||
<body class="path-frontpage tw-h-full">
|
||||
<a href="#main-content" class="visually-hidden focusable skip-link">
|
||||
Skip to main content
|
||||
</a>
|
||||
<div class="{% block body_classes '' %}">
|
||||
{% include 'banner' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
{% block content %}{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
<div class="tw-mt-auto">
|
||||
{% if page.update_text %}
|
||||
{% include 'update-text' %}
|
||||
{% endif %}
|
||||
|
||||
{% include 'footer' %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
3
source/_layouts/front.html.twig
Normal file
3
source/_layouts/front.html.twig
Normal file
|
@ -0,0 +1,3 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block body_classes 'tw-h-full tw-flex tw-flex-col' %}
|
11
source/_layouts/page.html.twig
Normal file
11
source/_layouts/page.html.twig
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
<main class="tw-max-w-5xl tw-px-6 tw-mx-auto tw-my-10">
|
||||
<h1 class="tw-mt-0">{{ page.title }}</h1>
|
||||
|
||||
<div class="markup">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</main>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue