A mini theme for the pelican static site generator
git clone https://github.com/m-col/mini-theme
Files | Refs | Readme

Commit f55427af2280e5b21b9d117b56940864e60ea922
Parent: 2bd5e018eae5521498049c3cf340a06994495b68
Author: mcol <mcol@posteo.net>
Date: 2020-10-02 23:32:32 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2020-10-02 23:32:32 +0100

add screenshots template

templates/screenshots.html Added

@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+
+
+{% block title %}{{ SITENAME }} / {{ page.title }}{% endblock %}
+
+
+{% block header %}
+<a href=/>mcol.xyz</a> /
+<a href=/{{ output_file }}>{{ page.title }}</a>
+{% endblock %}
+
+
+{% block content %}
+{% for img in SCREENSHOTS %}
+{% if loop.index != 1 %}
+<hr>
+{% endif %}
+<table>
+	<tr><td><a href="/screenshots/{{ img }}"><img class="maim" src="/screenshots/{{ img }}"/></a></td></tr>
+</table>
+{% endfor %}
+
+<footer><hr>- mcol.xyz -</footer>
+{% endblock %}