-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
542a05c
commit 7f3ffd6
Showing
4 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{% load wagtailcore_tags %} | ||
<div class="row row-cols-1 {{ value.grid_class }} g-4"> | ||
{% for card in value.card_list %} | ||
<div class="col"> | ||
{% include_block card %} | ||
</div> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% load wagtailcore_tags wagtailimages_tags %} | ||
{% image value.image width-728 height-240 as tmp_image %} | ||
<div class="card"> | ||
<img src="{{ tmp_image.url }}" class="card-img-top" alt="Image"> | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ value.title }}</h5> | ||
<p class="card-text">{{ value.text|richtext}}</p> | ||
</div> | ||
</div> |