Frontity release: Fix Frontity returning a 404 page when state.source.homepage is defined

Enhancements

  • Send a X-Frontity-Dev header when Frontity is run in development mode. Useful to know what type of error should be shown in the Embedded mode plugin. #798

Bug fixes

  • Fix an incorrect regular expression which matches the link with internal redirections when a homepage is defined in state.source. This fixes Frontity returns a 404 in all pages when state.source.homepage is defined bug. #806
  • Prevent inifinite scroll from loading the same post twice if the post’s link contains a query string. #804
  • Fix the Post component in mars-theme and twentytwenty-theme to render attachment pages properly. #799
  • Update image links in mars-theme and twentytwenty-theme README.md files. #797
  • Remove a negative lookbehind in the verboseRegExp function. #810

Packages Changelog


@frontity/core@1.13.0

Minor Changes

  • 8d6dbd5e #798 Thanks @luisherranz! - Send a X-Frontity-Dev header when Frontity is run in development mode. Useful to know what type of error should be shown in the Embedded mode plugin.

@frontity/hooks@2.2.2

Patch Changes


@frontity/mars-theme@1.5.2

Patch Changes


@frontity/twentytwenty-theme@1.3.2

Patch Changes


@frontity/wp-source@1.11.4

Patch Changes

  • 3108535b #810 Thanks @DAreRodz! - Remove a negative lookbehind in the verboseRegExp function.

  • df7d6c42 #806 Thanks @michalczaplinski! - Fix an incorrect regular expression which matches the link with internal redirections when a homepage is defined in state.source.