diff --git a/content/u/penguincomics/contents.lr b/content/u/penguincomics/contents.lr index a7f5853..1b64227 100644 --- a/content/u/penguincomics/contents.lr +++ b/content/u/penguincomics/contents.lr @@ -1,3 +1,3 @@ _model: comics --- -title: ungleich penguin comics +title: Penguin Comics diff --git a/content/u/penguincomics/somethingelse/contents.lr b/content/u/penguincomics/somethingelse/contents.lr new file mode 100644 index 0000000..5a0fea1 --- /dev/null +++ b/content/u/penguincomics/somethingelse/contents.lr @@ -0,0 +1,8 @@ +subtitle: NOT THE Security Policy +--- +pub_date: 2020-02-04 +--- +_hidden: no +--- +_discoverable: yes +--- diff --git a/content/u/penguincomics/somethingelse/ipv6_header-only-inside-sketch.jpg b/content/u/penguincomics/somethingelse/ipv6_header-only-inside-sketch.jpg new file mode 100644 index 0000000..a0c5af2 Binary files /dev/null and b/content/u/penguincomics/somethingelse/ipv6_header-only-inside-sketch.jpg differ diff --git a/templates/comic.html b/templates/comic.html index fd5a368..956012c 100644 --- a/templates/comic.html +++ b/templates/comic.html @@ -5,7 +5,6 @@ {% block content %} {% set image = this.attachments.images.first() %} -
diff --git a/templates/comics.html b/templates/comics.html index b9a210c..254aa31 100644 --- a/templates/comics.html +++ b/templates/comics.html @@ -1,33 +1,13 @@ {% extends "layout-2020.html" %} -{% from "macros/blog.html" import render_blog_post %} {% from "macros/pagination.html" import render_pagination %} -{% block title %}{{ this.title }}{% endblock %} -{% block body %} -
-
-
-
-
-

ungleich blog

-
- -
-
-
-
-
-
-
-
-
-
- {% for child in this.pagination.items %} - {{ render_blog_post(child, from_index=true) }} - {% endfor %} - {{ render_pagination(this.pagination) }} -
-
-
-
-
+{% from "macros/comic.html" import render_comic %} + +{% block title %}Penguin Comics{% endblock %} + +{% block content %} +{% for child in this.pagination.items %} +{{ render_comic(child) }} +{% endfor %} + +{{ render_pagination(this.pagination) }} {% endblock %} diff --git a/templates/macros/comic.html b/templates/macros/comic.html new file mode 100644 index 0000000..651f14a --- /dev/null +++ b/templates/macros/comic.html @@ -0,0 +1,36 @@ +{% macro render_comic(comic) %} +{% set image = comic.attachments.images.first() %} + + +
+
+
+ +
+
+

{{ comic.subtitle }}

+ {{ comic.subtitle }} +
+
+ +
+
+
+ +{% if comic.body %} +
+
+
+ +
+
+ {{ comic.body }} +
+
+ +
+
+
+{% endif %} +{% endmacro %} diff --git a/templates/macros/pagination.html b/templates/macros/pagination.html index 9d047ff..d935218 100644 --- a/templates/macros/pagination.html +++ b/templates/macros/pagination.html @@ -1,26 +1,34 @@ {% macro render_pagination(pagination) %} -
-
+x-off {% if this.description2 %}