adds resume and streaming block
This commit is contained in:
parent
b6554fbf83
commit
b2001195fc
18 changed files with 223 additions and 0 deletions
7
base/templates/base/blocks/heading_block.html
Normal file
7
base/templates/base/blocks/heading_block.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
{% if self.size == 'h2' %}
|
||||
<h2>{{ self.heading_text }}</h2>
|
||||
{% elif self.size == 'h3' %}
|
||||
<h3>{{ self.heading_text }}</h3>
|
||||
{% elif self.size == 'h4' %}
|
||||
<h4>{{ self.heading_text }}</h4>
|
||||
{% endif %}
|
6
base/templates/base/blocks/image_block.html
Normal file
6
base/templates/base/blocks/image_block.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% load wagtailimages_tags %}
|
||||
|
||||
<figure>
|
||||
{% image self.image fill-600x338 loading="lazy" %}
|
||||
<figcaption>{{ self.caption }} - {{ self.attribution }}</figcaption>
|
||||
</figure>
|
Loading…
Add table
Add a link
Reference in a new issue