From f60e9ccd5b046101903a79bf6afa0cf87fdd956c Mon Sep 17 00:00:00 2001 From: joak Date: Mon, 17 Aug 2020 11:55:24 +0200 Subject: init --- templates/blocks/collaborator.html | 1 + templates/blocks/content.html | 3 +++ templates/blocks/gallery.html | 5 +++++ templates/blocks/galleryvideo.html | 8 ++++++++ templates/blocks/html.html | 3 +++ templates/blocks/picture.html | 2 ++ templates/blocks/video.html | 9 +++++++++ 7 files changed, 31 insertions(+) create mode 100644 templates/blocks/collaborator.html create mode 100644 templates/blocks/content.html create mode 100644 templates/blocks/gallery.html create mode 100644 templates/blocks/galleryvideo.html create mode 100644 templates/blocks/html.html create mode 100644 templates/blocks/picture.html create mode 100644 templates/blocks/video.html (limited to 'templates/blocks') diff --git a/templates/blocks/collaborator.html b/templates/blocks/collaborator.html new file mode 100644 index 0000000..90f91ad --- /dev/null +++ b/templates/blocks/collaborator.html @@ -0,0 +1 @@ +{{ this.collaborator }} diff --git a/templates/blocks/content.html b/templates/blocks/content.html new file mode 100644 index 0000000..52b67d7 --- /dev/null +++ b/templates/blocks/content.html @@ -0,0 +1,3 @@ +
+ {{this.content}} +
diff --git a/templates/blocks/gallery.html b/templates/blocks/gallery.html new file mode 100644 index 0000000..d34bb5a --- /dev/null +++ b/templates/blocks/gallery.html @@ -0,0 +1,5 @@ + diff --git a/templates/blocks/galleryvideo.html b/templates/blocks/galleryvideo.html new file mode 100644 index 0000000..661337a --- /dev/null +++ b/templates/blocks/galleryvideo.html @@ -0,0 +1,8 @@ + + diff --git a/templates/blocks/html.html b/templates/blocks/html.html new file mode 100644 index 0000000..40cee00 --- /dev/null +++ b/templates/blocks/html.html @@ -0,0 +1,3 @@ +
+ {{this.html}} +
diff --git a/templates/blocks/picture.html b/templates/blocks/picture.html new file mode 100644 index 0000000..a75eb3e --- /dev/null +++ b/templates/blocks/picture.html @@ -0,0 +1,2 @@ +{% set img = record.attachments.images.get(this.url) %} +{{ this.caption }} diff --git a/templates/blocks/video.html b/templates/blocks/video.html new file mode 100644 index 0000000..b906e9d --- /dev/null +++ b/templates/blocks/video.html @@ -0,0 +1,9 @@ +
+ {%if this.caption %}

{{ this.caption }}

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