-
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.
Merge pull request #12 from sown/wagtail-6-0
Upgrade to Wagtail 6.0
- Loading branch information
Showing
10 changed files
with
506 additions
and
569 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
{% 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 img-fluid p-3" alt="Image"> | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ value.title }}</h5> | ||
<p class="card-text">{{ value.text|richtext}}</p> | ||
{% for cta in value.cta_list %} | ||
{% include_block cta %} | ||
{% endfor %} | ||
<div class="m-auto"> | ||
<img src="{{ tmp_image.url }}" class="card-img-top img-fluid p-3" alt="Image"> | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ value.title }}</h5> | ||
<p class="card-text">{{ value.text|richtext}}</p> | ||
{% for cta in value.cta_list %} | ||
{% include_block cta %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</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
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
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
Oops, something went wrong.