From c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 18 Jul 2018 23:46:06 +0100 Subject: init commit --- templates/blog.html | 7 +++++++ templates/default.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ templates/error.html | 5 +++++ templates/index.html | 22 ++++++++++++++++++++++ templates/post.html | 16 ++++++++++++++++ templates/project.html | 16 ++++++++++++++++ templates/projects.html | 11 +++++++++++ templates/tag.html | 7 +++++++ 8 files changed, 130 insertions(+) create mode 100644 templates/blog.html create mode 100644 templates/default.html create mode 100644 templates/error.html create mode 100644 templates/index.html create mode 100644 templates/post.html create mode 100644 templates/project.html create mode 100644 templates/projects.html create mode 100644 templates/tag.html (limited to 'templates') diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..658f69d --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,7 @@ +{% extends "default.html" %} +{% block content %} +

Posts

+ +{% endblock %} diff --git a/templates/default.html b/templates/default.html new file mode 100644 index 0000000..337cb20 --- /dev/null +++ b/templates/default.html @@ -0,0 +1,46 @@ + + + + {% block head %} + {{ page.title }} + + + + + + + + + {% endblock %} + + +
+
+ +
+
+ {% block content %}{% endblock %} +
+ +
+ + + diff --git a/templates/error.html b/templates/error.html new file mode 100644 index 0000000..23ba358 --- /dev/null +++ b/templates/error.html @@ -0,0 +1,5 @@ +{% extends "default.html" %} +{% block content %} +

Error

+

{{ page.code }} - {{ page.error }}

+{% endblock %} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..c32a7fb --- /dev/null +++ b/templates/index.html @@ -0,0 +1,22 @@ +{% extends "default.html" %} +{% block content %} +

Welcome

+ +

Welcome, this is my website, an under-maintained infodump. Hopefully you'll find something useful here.

+ +

Recent blogposts:

+ +{% endblock %} diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..6cb47c3 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,16 @@ +{% extends "default.html" %} +{% block content %} +
+
+

{{ page.title }}

+
+ {{ page.content }} +
{% if page.tags %} +
    +
  • Tags:
  • {% for tag in page.tags %} +
  • {{ tag }}
  • {% endfor %} +
{% endif %} + +
+
+{% endblock %} diff --git a/templates/project.html b/templates/project.html new file mode 100644 index 0000000..15e4d9a --- /dev/null +++ b/templates/project.html @@ -0,0 +1,16 @@ +{% extends "default.html" %} +{% block content %} +

{{ page.title }}

+{{ page.content }} +{% if page.source or page.ml %}
+
+{% if page.source %}
Source
+
{{ page.source }}
{% endif %} +{% if page.ml %}
Mailing list
+
{{ page.ml }}@the-tk.com + (archive)
{% endif %} +{% if page.aur %}
AUR
+
{{ page.aur }}
{% endif %} +
+{% endif %} +{% endblock %} diff --git a/templates/projects.html b/templates/projects.html new file mode 100644 index 0000000..7405542 --- /dev/null +++ b/templates/projects.html @@ -0,0 +1,11 @@ +{% extends "default.html" %} +{% block content %} +

Projects

+ +{% endblock %} diff --git a/templates/tag.html b/templates/tag.html new file mode 100644 index 0000000..47c5fa0 --- /dev/null +++ b/templates/tag.html @@ -0,0 +1,7 @@ +{% extends "default.html" %} +{% block content %} +

Posts tagged - {{ page.tag }}

+ +{% endblock %} -- cgit v1.2.3