Custom config.json not overriding

I’m working on a theme at the moment. Haven’t had a problem with config.json before but today I’ve pulled from my GitHub repo and my custom config.json created myself is no longer overriding the default one from the repository.

Here’s the default content of that config.json:

{
    "params": {
        "showTagline": true,
        "paginateReplies": true,
        "tagline": "Modern art makes me want to rock out",
        "letterboxdUsername": "",
        "lastfmUsername": "",
        "blueskyUsername": "",
        "threadsUsername": "",
        "categoriesOnPosts": true,
        "categoriesInSidebar": true,
        "showCurrentlyReading": true,
        "archivesInSidebar": false,
        "truncatePostsOnIndex": true,
        "truncatePostsCharLimit": 250,
        "categoriesFullImgsHome": [
            "Blog"
        ],
        "categoriesIgnorePhotosPage":[]
    }
}

Is there anything particular here that would cause that behaviour?

As ever, I’m an idiot. The custom one I have had a missing quote, so was getting ignored.

I’ll leave this here in case anybody ends up in the same position as me! Validate your JSON!

1 Like