Commit 6f499807 authored by Markus Willman's avatar Markus Willman

minor template changes

parent b58b4694
......@@ -13,10 +13,13 @@
* - Exception to above are extensions preceded with min (ie. jslib.min.js or stylesheet.min.css).
* 5. If the Query String contains an html extension, those will always expand to .html.twig during lookup.
* 6. If the Query String does not contain a file name, lookup is performed with the name index.html.twig appended.
*
#}
{% extends 'bootstrap_base.html.twig' %}
{% set page_subtitle = '[One_word_title]' %}
{% block head -%}
{{ parent() }}
{% endblock %}
......@@ -32,7 +35,6 @@
{% block title %}{{ parent() }}{{ page_subtitle }}{% endblock %}
{% block header -%}
{% set page_subtitle = '[One_word_title]' %}
{{ parent() }}
{% endblock %}
......
......@@ -8,6 +8,8 @@
{% extends 'bootstrap_base.html.twig' %}
{% set page_subtitle = 'By-laws' %}
{% block head -%}
{{ parent() }}
{% endblock %}
......@@ -23,7 +25,6 @@
{% block title %}{{ parent() }}{{ page_subtitle }}{% endblock %}
{% block header -%}
{% set page_subtitle = 'By-laws' %}
{{ parent() }}
{% endblock %}
......
......@@ -8,6 +8,8 @@
{% extends 'bootstrap_base.html.twig' %}
{% set page_subtitle = 'Contribute' %}
{% block head -%}
{{ parent() }}
{% endblock %}
......@@ -23,7 +25,6 @@
{% block title %}{{ parent() }}{{ page_subtitle }}{% endblock %}
{% block header -%}
{% set page_subtitle = 'Contribute' %}
{{ parent() }}
{% endblock %}
......
......@@ -8,6 +8,8 @@
{% extends 'bootstrap_base.html.twig' %}
{% set page_subtitle = 'FAQ' %}
{% block head -%}
{{ parent() }}
{% endblock %}
......@@ -23,7 +25,6 @@
{% block title %}{{ parent() }}{{ page_subtitle }}{% endblock %}
{% block header -%}
{% set page_subtitle = 'FAQ' %}
{{ parent() }}
{% endblock %}
......
......@@ -8,6 +8,8 @@
{% extends 'bootstrap_base.html.twig' %}
{% set page_subtitle = 'Home' %}
{% block head -%}
{{ parent() }}
{% endblock %}
......@@ -23,7 +25,6 @@
{% block title %}{{ parent() }}{{ page_subtitle }}{% endblock %}
{% block header -%}
{% set page_subtitle = 'Home' %}
{{ parent() }}
{% endblock %}
......
......@@ -67,7 +67,7 @@
<footer class="footer">
<p>
Copyright © Direct Connect Network Foundation <small class="pull-right hidden-xs"> {{ util.git_stats(git_info) }} {{ util.page_stats() }}</small> <br>
<small>Styled with <a href="{{ make_url('http://getbootstrap.com/') }}">Twitter Bootstrap</a></small>
<small>Powered with <a href="{{ make_url('http://twig.sensiolabs.org/') }}">Twig</a> and <a href="{{ make_url('https://getbootstrap.com/') }}">Bootstrap</a></small>
</p>
</footer>
</div>
......
......@@ -24,7 +24,7 @@
{% block content -%}
<div class="jumbotron">
<h2 class="text-error">Error - {{status_message}}</h2>
<h2 class="text-danger">Error - {{status_message}}</h2>
<p class="lead">
{% if message %}{{ message | raw }}{% else -%}
The server encountered an error while processing your request (HTTP: {{status_code}}).
......
......@@ -22,7 +22,7 @@
{{ parent() }}
{% endblock %}
{% block title %}{{ parent() }} • Redirecting{% endblock %}
{% block title %}{{ parent() }} • Redirecting...{% endblock %}
{% block content -%}
<div class="jumbotron">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment