This release adds support for Dynamic public paths. They can be configured using the frontity.settings.js
file like this:
export default [
{
name: "site",
match: ["/site/"],
state: {
frontity: {
options: {
publicPath: "/site/custom-static-path",
},
},
},
packages: ["..."],
},
{
name: "site-2",
match: ["/site-2/"],
state: {
frontity: {
options: {
publicPath: "/site-2/other-static-path",
},
},
},
packages: ["..."],
},
];
Or passed as a Frontity Query Option: https://site.com/some-post/?frontity_public_path=https://other-domain.com/custom-static-path
Features
@frontity/[email protected]
-
#890 Thanks @orballo! - Add support for dynamic
publicPath
configuration viastate.frontity.options.publicPath
(infrontity.settings.js
) or the?frontity_public_path=/your-path
query option.
Fixes
[email protected]
-
#893 Thanks @luisherranz! - Move favicon from Vercel hosting to WordPress.com hosting to avoid connectivity problems.
-
#892 Thanks @SantosGuillamot! - Disable newsletter from the CLI.