summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhellekin <hellekin@dyne.org>2016-11-19 20:51:57 (GMT)
committerhellekin <hellekin@dyne.org>2016-11-19 20:51:57 (GMT)
commit43998548173b6734c2e330a2292bb70744410570 (patch)
treea9b92adc6d6666966c30549373abda607de12931
parent149dccae1a1006177f4e790aad7255a145813bfb (diff)
downloadwww-43998548173b6734c2e330a2292bb70744410570.zip
www-43998548173b6734c2e330a2292bb70744410570.tar.gz
www-43998548173b6734c2e330a2292bb70744410570.tar.bz2
Quick & dirty fix for FAQ
-rw-r--r--content/pages/faq.html6
-rw-r--r--theme/static/css/neo900.css4
-rw-r--r--theme/templates/faq.html10
3 files changed, 17 insertions, 3 deletions
diff --git a/content/pages/faq.html b/content/pages/faq.html
index 552886c..33bcd1c 100644
--- a/content/pages/faq.html
+++ b/content/pages/faq.html
@@ -1,5 +1,9 @@
<html>
-<head><title>FAQ</title></head>
+ <head>
+ <title>FAQ</title>
+ <meta name="template" content="faq">
+ </head>
+
<body>
<div class="jumbotron stripe" id="faq" style="font-size:1em; padding-top:0">
<div class="row" >
diff --git a/theme/static/css/neo900.css b/theme/static/css/neo900.css
index 145f0ab..1421254 100644
--- a/theme/static/css/neo900.css
+++ b/theme/static/css/neo900.css
@@ -704,10 +704,10 @@ body.disco .jumbotron.stripe > div {
max-width: 100%;
}
-main {
+body:not(.faq) main {
max-width: 96rem;
}
-main > article {
+body:not(.faq) main > article {
max-width: 48rem;
margin: 0 auto;
}
diff --git a/theme/templates/faq.html b/theme/templates/faq.html
new file mode 100644
index 0000000..097017a
--- /dev/null
+++ b/theme/templates/faq.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+{% block title %}{{ page.title }}{% endblock %}
+{% set body_params = 'class="faq"' %}
+{% block content %}
+<main>
+ <article>
+ {{ page.content }}
+ </article>
+</main>
+{% endblock %}