4 Commits
1.0.0 ... 1.0.1

Author SHA1 Message Date
dca2556bca bumped version 2024-08-31 15:30:16 -07:00
90fd87d042 added urls 2024-08-31 15:28:13 -07:00
9447e76815 working for a parked page 2024-08-31 14:02:51 -07:00
e64fbc0678 twig override tweaks 2024-08-30 01:18:08 -07:00
7 changed files with 21 additions and 11 deletions

View File

@@ -6,6 +6,9 @@ NovaconiumPHP is a high-performance PHP framework designed with inspiration from
Pronounced: Noh-vah-koh-nee-um
Packagist: https://packagist.org/packages/4lt/novaconium
Master Repo: https://git.4lt.ca/4lt/novaconium
## Getting Started
### Installation

View File

@@ -1,7 +1,7 @@
{
"name": "4lt/novaconium",
"description": "A high-performance PHP framework built from the past.",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"authors": [
{

View File

@@ -1,4 +1,4 @@
{% extends '@nytwig/master.html.twig' %}
{% extends '@novaconium/master.html.twig' %}
{% block content %}
<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">
<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="keywords" content="{{ keywords | default('website') }}">

View File

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