a mini theme for pelican
git clone https://mcol.xyz/code/mini-theme
Log | Files | Refs | README

commit f55427af2280e5b21b9d117b56940864e60ea922
parent 2bd5e018eae5521498049c3cf340a06994495b68
Author: mcol <mcol@posteo.net>
Date:   Fri,  2 Oct 2020 23:32:32 +0100

add screenshots template

Diffstat:
Atemplates/screenshots.html | 24++++++++++++++++++++++++
1 file changed, 24 insertions(+), 0 deletions(-)

diff --git a/templates/screenshots.html b/templates/screenshots.html @@ -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 %}