diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 2 | ||||
| -rw-r--r-- | templates/index.html | 16 | ||||
| -rw-r--r-- | templates/wiki-page.html | 6 | ||||
| -rw-r--r-- | templates/wiki.html | 9 |
4 files changed, 24 insertions, 9 deletions
diff --git a/templates/base.html b/templates/base.html index 379b224..64d672f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -19,7 +19,9 @@ </head> <body> + <div class="mw7 center"> {% block body %} {% endblock %} + </div> </body> </html> diff --git a/templates/index.html b/templates/index.html index e0067fb..6f6ea1a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,15 +1,13 @@ {% extends 'base.html' %} {% block body %} -<div class="mw7 center"> - <div class="cf ph2-ns"> - <h1 class="f2 lh-title">postmarketOS</h1> - <div class="fl w-100 w-50-ns pa2"> - <img src="{{ url_for('static', filename='img/banner.jpg') }}"></img> - </div> - <div class="fl w-100 w-50-ns pa2"> - <p class="intro">postmarketOS, or <i>pmOS</i> in short, is a touch-optimized, pre-configured <a href="https://alpinelinux.org">Alpine Linux</a> with own packages, that can be installed on smartphones (Not usable for most people yet!).</p> - </div> +<div class="cf ph2-ns"> + <h1 class="f2 lh-title">postmarketOS</h1> + <div class="fl w-100 w-50-ns pa2"> + <img src="{{ url_for('static', filename='img/banner.jpg') }}"></img> + </div> + <div class="fl w-100 w-50-ns pa2"> + <p class="intro">postmarketOS, or <i>pmOS</i> in short, is a touch-optimized, pre-configured <a href="https://alpinelinux.org">Alpine Linux</a> with own packages, that can be installed on smartphones (Not usable for most people yet!).</p> </div> </div> {% endblock %} diff --git a/templates/wiki-page.html b/templates/wiki-page.html index e69de29..7a24d02 100644 --- a/templates/wiki-page.html +++ b/templates/wiki-page.html @@ -0,0 +1,6 @@ +{% extends 'base.html' %} + +{% block body %} +<h1>{{ title }}</h1> +{{ html|safe }} +{% endblock %} diff --git a/templates/wiki.html b/templates/wiki.html index e69de29..66d870b 100644 --- a/templates/wiki.html +++ b/templates/wiki.html @@ -0,0 +1,9 @@ +{% extends 'base.html' %} + +{% block body %} +<ul> +{% for page in pages %} + <li><a href="{{ page.url }}">{{ page.title }}</a></li> +{% endfor %} +</ul> +{% endblock %} |
