-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add a page template for crawlers to impact stoires * move blocks around on impact page * ensure all sitemap.xml urls don't end in a slash * middleware cleanup - no trailing slashes on canonical urls * add cards to impact section of page
- Loading branch information
Showing
6 changed files
with
191 additions
and
150 deletions.
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
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,61 @@ | ||
# Generated by Django 5.0.12 on 2025-02-26 04:42 | ||
|
||
import wagtail.fields | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("pages", "0153_alter_homepage_options"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="impact", | ||
name="improving_access", | ||
field=wagtail.fields.StreamField( | ||
[("content", 12)], | ||
block_lookup={ | ||
0: ("wagtail.images.blocks.ImageChooserBlock", (), {"required": False}), | ||
1: ("wagtail.blocks.CharBlock", (), {"required": False}), | ||
2: ("wagtail.blocks.URLBlock", (), {"required": False}), | ||
3: ("pages.custom_blocks.ImageFormatChoiceBlock", (), {}), | ||
4: ( | ||
"wagtail.blocks.CharBlock", | ||
(), | ||
{"help_text": "Used by the frontend for Google Analytics.", "required": False}, | ||
), | ||
5: ( | ||
"wagtail.blocks.StructBlock", | ||
[[("image", 0), ("alt_text", 1), ("link", 2), ("alignment", 3), ("identifier", 4)]], | ||
{}, | ||
), | ||
6: ("wagtail.blocks.CharBlock", (), {}), | ||
7: ("wagtail.blocks.RichTextBlock", (), {}), | ||
8: ("wagtail.blocks.URLBlock", (), {}), | ||
9: ("pages.custom_blocks.APIImageChooserBlock", (), {"required": False}), | ||
10: ( | ||
"wagtail.blocks.StructBlock", | ||
[[("icon", 9), ("description", 6), ("link_text", 1), ("link_href", 2)]], | ||
{}, | ||
), | ||
11: ("wagtail.blocks.ListBlock", (10,), {}), | ||
12: ( | ||
"wagtail.blocks.StructBlock", | ||
[ | ||
[ | ||
("image", 5), | ||
("heading", 6), | ||
("description", 7), | ||
("button_text", 6), | ||
("button_href", 8), | ||
("cards", 11), | ||
] | ||
], | ||
{}, | ||
), | ||
}, | ||
), | ||
), | ||
] |
Oops, something went wrong.