@SantosGuillamot
I am not allowed to disclose that details yet, so I can not share the repo as it’s private right now.
below is my frontity.settings.js file which is working after updating @frontity/wp-source to 1.11.2 version. but not working with the 1.11.3 version
const settings = {
"name": "test",
"state": {
"frontity": {
"url": "http://test.frontend.com/",
"title": "Site Title",
"description": "Meta Description"
}
},
"packages": [
{
"name": "@frontity/mars-theme",
"state": {
"theme": {
"menu": [
[
"Home",
"/"
],
[
"Nature",
"/category/nature/"
],
[
"Travel",
"/category/travel/"
],
[
"Japan",
"/tag/japan/"
],
[
"About Us",
"/about-us/"
]
],
"featured": {
"showOnList": false,
"showOnPost": false
}
}
}
},
{
"name": "@frontity/wp-source",
"state": {
"source": {
"url": "https://admin.wordpress.com/",
"homepage" : "/home",
"postTypes": [
{
type: "video",
endpoint: "video"
},
{
type: "voice",
endpoint: "voice"
},
{
type: "our-stories",
endpoint: "our-stories"
},
{
type: "press-releases",
endpoint: "press-releases"
},
{
type: "in-the-news",
endpoint: "in-the-news"
},
{
type: "events-and-travel",
endpoint: "events"
},
{
type: "our-work",
endpoint: "our-work"
},
{
type: "disasters",
endpoint: "disasters"
}
],
taxonomies: [
{
taxonomy: "our-collection",
endpoint: "our-collection",
postTypeEndpoint: "our-stories"
},
{
taxonomy: "voice-collection",
endpoint: "voice-collection",
postTypeEndpoint: "voice"
}
]
}
}
},
{
name: "@frontity/google-tag-manager-analytics",
state: {
googleTagManagerAnalytics: {
containerId: "GTM-TEST",
},
},
},
"@frontity/tiny-router",
"@frontity/html2react",
"@frontity/head-tags"
]
};
export default settings;