Skip to content

Commit

Permalink
fix: block templates with params
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Apr 15, 2021
1 parent ba5f7bb commit 1154c27
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 27 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name=PKG_NAME,
version='0.4.9',
version='0.4.10',

packages=[PKG_NAME],
package_dir={PKG_NAME: f"{SRC_FOLDER}/{PKG_NAME}"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

{% if carousel_items %}

{{ custom }}

<div id="italia_carousel_{{ carousel_identifier }}" class="owl-carousel owl-theme">

{% for item in carousel_items %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- https://getbootstrap.com/docs/4.0/utilities/embed/#aspect-ratios -->

<div class="embed-responsive embed-responsive-{% block aspect_ratio %}16by9{% endblock %}">
<div class="embed-responsive embed-responsive-{{ ratio }}">
<iframe class="embed-responsive-item" src="{{ url }}" allowfullscreen></iframe>
</div>

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load unicms_contexts %}


<div class="alert alert-{% block variant %}info{% endblock %}" role="alert">
<div class="alert alert-{{ variant }}" role="alert">
<h4 class="alert-heading">{{ publication.title }}</h4>
{% if publication.subheading %}
<p><i>{{ publication.subheading }}</i></p>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 1154c27

Please sign in to comment.