diff --git a/content/u/penguincomics/contents.lr b/content/u/penguincomics/contents.lr new file mode 100644 index 0000000..a7f5853 --- /dev/null +++ b/content/u/penguincomics/contents.lr @@ -0,0 +1,3 @@ +_model: comics +--- +title: ungleich penguin comics diff --git a/content/u/penguincomics/security-and-privacy-policy/contents.lr b/content/u/penguincomics/security-and-privacy-policy/contents.lr index 066a217..f581c9b 100644 --- a/content/u/penguincomics/security-and-privacy-policy/contents.lr +++ b/content/u/penguincomics/security-and-privacy-policy/contents.lr @@ -1,11 +1,8 @@ -title: ... +subtitle: Privacy and Security Policy --- pub_date: 2020-02-05 --- _hidden: no --- -_discoverable: no +_discoverable: yes --- -body: - -A description or don't know what. diff --git a/content/u/penguincomics/security-and-privacy-policy/ipv6_header-only-inside-sketch.jpg b/content/u/penguincomics/security-and-privacy-policy/ipv6_header-only-inside-sketch.jpg new file mode 100644 index 0000000..a0c5af2 Binary files /dev/null and b/content/u/penguincomics/security-and-privacy-policy/ipv6_header-only-inside-sketch.jpg differ diff --git a/models/comic.ini b/models/comic.ini new file mode 100644 index 0000000..79953d1 --- /dev/null +++ b/models/comic.ini @@ -0,0 +1,21 @@ +[model] +name = Comic +label = {{ this.title }} +hidden = yes + +[attachments] +order_by = _id + +[fields.subtitle] +label = Subtitle +type = string +size = large + +[fields.pub_date] +label = Publication date +type = date +width = 1/4 + +[fields.body] +label = Body +type = markdown \ No newline at end of file diff --git a/models/comics.ini b/models/comics.ini new file mode 100644 index 0000000..62a3b19 --- /dev/null +++ b/models/comics.ini @@ -0,0 +1,16 @@ +[model] +name = Comic +label = Comic +hidden = yes + +[fields.title] +label = Title +type = string + +[children] +model = comic +order_by = -pub_date, title + +[pagination] +enabled = yes +per_page = 1 \ No newline at end of file diff --git a/templates/comic.html b/templates/comic.html new file mode 100644 index 0000000..fd5a368 --- /dev/null +++ b/templates/comic.html @@ -0,0 +1,39 @@ +{% extends "layout-2020.html" %} +{% block title %}Penguin Comics{% endblock %} +{% block subtitle %}{{ this.subtitle }}{% endblock %} + +{% block content %} +{% set image = this.attachments.images.first() %} + + +