From fe4bd53f01c469ad62848fbc85b06185b9f1e653 Mon Sep 17 00:00:00 2001 From: Prefetch Date: Sat, 8 Jun 2019 20:01:43 +0000 Subject: Create repository --- templates/index.html | 22 ++++++++++++++++++++++ templates/page.html | 8 ++++++++ templates/section.html | 7 +++++++ 3 files changed, 37 insertions(+) create mode 100644 templates/index.html create mode 100644 templates/page.html create mode 100644 templates/section.html (limited to 'templates') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..18b833a --- /dev/null +++ b/templates/index.html @@ -0,0 +1,22 @@ + + + + +{% block title %}{{ config.title }}{% endblock title %} + + + + +
+
+{% block content %}{{ section.content | safe }}{% endblock content %} +
+
+© "Prefetch".   Licensed under CC BY-SA 4.0. + + diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..ce0155e --- /dev/null +++ b/templates/page.html @@ -0,0 +1,8 @@ +{% extends "index.html" %} +{% block title %} + {{ config.title }} | {{ page.title }} +{% endblock title %} +{% block content %} +

{{ page.title }}

+ {{ page.content | safe }} +{% endblock content %} diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..18d23c3 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,7 @@ +{% extends "index.html" %} +{% block title %} + {{ config.title }} | {{ section.title }} +{% endblock title %} +{% block content %} + {{ section.content | safe }} +{% endblock content %} -- cgit v1.2.3