Skip to content

Releases: mitydigital/statamic-sitemapamic

3.1.0

16 Jul 23:35
9f2f78d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.2...3.1.0

3.0.2

15 May 22:57
Compare
Choose a tag to compare

Fixes #21 by forcing the external url (ArrayableLink) to be a string.

3.0.1

10 May 23:34
Compare
Choose a tag to compare

Remove all references to old Site configuration

3.0.0

10 May 08:57
Compare
Choose a tag to compare

Support for Statamic 5
Drops support for Statamic 3 and 4.

2.4.1

10 May 08:43
aa1c660
Compare
Choose a tag to compare

Removed Statamic 5 support.
This will be a major update to 3.0.0 (will be tagged shortly)

2.3.9

15 Jan 20:40
Compare
Choose a tag to compare

Corrects an issue (#18) when submit routes were created when single mode was defined.

2.3.8

22 Jun 07:40
Compare
Choose a tag to compare

Adds support for field mappings.

Refer to the revised default config file for the new mappings key that allows you to map Statamic's opinionated field handles with fields of your own:

    /*
    |--------------------------------------------------------------------------
    | Field mappings
    |--------------------------------------------------------------------------
    |
    | Allows you to map your blueprint fields with what Sitemapamic is expecting for controlling
    | the change frequency, inclusion and priority.
    |
    */
    'mappings' => [
        'include' => 'meta_include_in_xml_sitemap',
        'change_frequency' => 'meta_change_frequency',
        'priority' => 'meta_priority',
    ]

If you have your own fields, such as "sitemap_include", "sitemap_change_frequency" and "sitemap_priority", your config file needs:

    'mappings' => [
        'include' => 'sitemap_include',
        'change_frequency' => 'sitemap_change_frequency',
        'priority' => 'sitemap_priority',
    ]

If you don't want to change use the mappings, that's cool: there's nothing to do. Your existing setups will function as they always have.

2.3.7

05 May 22:26
Compare
Choose a tag to compare

So hurtful that you want to leave... and just to visit some other site?

Well fine then, I suppose entries with a "link" blueprint (automagically created by Statamic), that have a "redirect" property, and link to an external URL should be excluded from the sitemaps.

See Issue #12.

2.3.6

29 Mar 05:57
Compare
Choose a tag to compare

Hello, handsome. And we're talking to you, Statamic 4.

2.3.5

08 Jan 20:38
Compare
Choose a tag to compare

A logic update here which may impact your expected behaviour.

Prior to this update, past/future entries that were configured to be 'unlisted' were incorrectly included in Sitemapamic.

This update corrects this behaviour: only 'public' entries are shown: 'unlisted' and 'private' entries are not included when they are not visible on the main site itself.