From 14958653b9bf92f56316511e8080baeeaf409b97 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 7 Aug 2017 08:55:33 +0300 Subject: Basic structure and initial homepage --- templates/base.html | 25 +++++++++++++++++++++++++ templates/blog-post.html | 6 ++++++ templates/blog.html | 9 +++++++++ templates/index.html | 15 +++++++++++++++ templates/wiki-page.html | 0 templates/wiki.html | 0 6 files changed, 55 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/blog-post.html create mode 100644 templates/blog.html create mode 100644 templates/index.html create mode 100644 templates/wiki-page.html create mode 100644 templates/wiki.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..379b224 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,25 @@ + + + + + + {% block title %}postmarketOS{% endblock %} + + + + + + + + + + + + + + + + {% block body %} + {% endblock %} + + diff --git a/templates/blog-post.html b/templates/blog-post.html new file mode 100644 index 0000000..7a24d02 --- /dev/null +++ b/templates/blog-post.html @@ -0,0 +1,6 @@ +{% extends 'base.html' %} + +{% block body %} +

{{ title }}

+{{ html|safe }} +{% endblock %} diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..deb2148 --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,9 @@ +{% extends 'base.html' %} + +{% block body %} + +{% endblock %} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..e0067fb --- /dev/null +++ b/templates/index.html @@ -0,0 +1,15 @@ +{% extends 'base.html' %} + +{% block body %} +
+
+

postmarketOS

+
+ +
+
+

postmarketOS, or pmOS in short, is a touch-optimized, pre-configured Alpine Linux with own packages, that can be installed on smartphones (Not usable for most people yet!).

+
+
+
+{% endblock %} diff --git a/templates/wiki-page.html b/templates/wiki-page.html new file mode 100644 index 0000000..e69de29 diff --git a/templates/wiki.html b/templates/wiki.html new file mode 100644 index 0000000..e69de29 -- cgit v1.3.1