working for a parked page

This commit is contained in:
Nick Yeoman 2024-08-31 14:02:51 -07:00
parent e64fbc0678
commit 9447e76815
5 changed files with 16 additions and 9 deletions

View File

@ -1,4 +1,4 @@
{% extends '@nytwig/master.html.twig' %} {% extends '@novaconium/master.html.twig' %}
{% block content %} {% block content %}
<h1>This is twig</h1> <h1>This is twig</h1>

6
twig/foot.html.twig Normal file
View File

@ -0,0 +1,6 @@
<!--
What goes very last on the page.
right before the /body
like javascript
or analytics
-->

3
twig/footer.html.twig Normal file
View File

@ -0,0 +1,3 @@
<!--
What goes in the footer html tag
-->

View File

@ -1,6 +1,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ title | default('Welcome') }}</title> <title>{{ title | default('Welcome') }}</title>
<meta name="generator" content="nickyeoman/phpframework" /> <meta name="generator" content="Novaconium" />
<meta name="description" content="{{ description | default('No description given') }}"> <meta name="description" content="{{ description | default('No description given') }}">
<meta name="keywords" content="{{ keywords | default('website') }}"> <meta name="keywords" content="{{ keywords | default('website') }}">

View File

@ -1,10 +1,10 @@
<!doctype html> <!doctype html>
<html class="no-js" lang="en"> <html class="no-js" lang="en">
{% include '@override/mod_above_head.html.twig' ignore missing %} {% include '@override/above_head.html.twig' ignore missing %}
<head> <head>
{% include ['@override/mod_head.html.twig', '@novaconium/head.html.twig'] %} {% include ['@override/head.html.twig', '@novaconium/head.html.twig'] %}
</head> </head>
<body id="{{ pageid | default('pageid') }}"> <body id="{{ pageid | default('pageid') }}">
@ -12,7 +12,7 @@
{# Page Header #} {# Page Header #}
<header> <header>
{% block headerbefore %}{% endblock %} {% block headerbefore %}{% endblock %}
{% include ['@override/mod_nav.html.twig', '@novaconium/nav.html.twig'] %} {% include ['@override/nav.html.twig', '@novaconium/nav.html.twig'] %}
{% block headerafter %}{% endblock %} {% block headerafter %}{% endblock %}
</header> </header>
@ -34,9 +34,7 @@
{% endif %} {% endif %}
<article> <article>
{% include 'cms/mod_alex.html.twig' ignore missing %}
{% block content %}{% endblock %} {% block content %}{% endblock %}
{% include 'cms/mod_simon.html.twig' ignore missing %}
</article> </article>
</div> </div>
@ -46,9 +44,9 @@
{# Page Footer #} {# Page Footer #}
<footer> <footer>
{% block footerbefore %}{% endblock %} {% block footerbefore %}{% endblock %}
{% include '@override/mod_footer.html.twig' ignore missing %} {% include ['@override/footer.html.twig', '@novaconium/footer.html.twig'] %}
{% block footerafter %}{% endblock %} {% block footerafter %}{% endblock %}
</footer> </footer>
{% include '@override/mod_foot.html.twig' ignore missing %} {% include ['@override/foot.html.twig', '@novaconium/foot.html.twig'] %}
</body></html> </body></html>