Skip to content

Commit

Permalink
Replace built-in SEO functionality with wagtailseo (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsalvino authored Aug 3, 2021
1 parent 01f605f commit f17ab4b
Show file tree
Hide file tree
Showing 37 changed files with 244 additions and 1,273 deletions.
4 changes: 0 additions & 4 deletions coderedcms/blocks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@
GridBlock,
HeroBlock
)
from .metadata_blocks import ( # noqa
OpenHoursBlock,
StructuredDataActionBlock
)
from .base_blocks import ( # noqa
BaseBlock,
BaseLayoutBlock,
Expand Down
90 changes: 0 additions & 90 deletions coderedcms/blocks/metadata_blocks.py

This file was deleted.

38 changes: 38 additions & 0 deletions coderedcms/migrations/0022_auto_20210731_1853.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Generated by Django 3.1.13 on 2021-07-31 22:53

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('wagtailimages', '0023_add_choose_permissions'),
('coderedcms', '0021_auto_20210730_1637'),
]

operations = [
migrations.AddField(
model_name='coderedpage',
name='canonical_url',
field=models.URLField(blank=True, help_text="Leave blank to use the page's URL.", max_length=255, verbose_name='Canonical URL'),
),
migrations.AlterField(
model_name='coderedpage',
name='og_image',
field=models.ForeignKey(blank=True, help_text='Shown when linking to this page on social media.', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Preview image'),
),
migrations.AlterField(
model_name='coderedpage',
name='struct_org_geo_lat',
field=models.DecimalField(blank=True, decimal_places=8, max_digits=11, null=True, verbose_name='Geographic latitude'),
),
migrations.AlterField(
model_name='coderedpage',
name='struct_org_geo_lng',
field=models.DecimalField(blank=True, decimal_places=8, max_digits=11, null=True, verbose_name='Geographic longitude'),
),
migrations.DeleteModel(
name='SeoSettings',
),
]
Loading

0 comments on commit f17ab4b

Please sign in to comment.