(trans) make links.blogLatest optional when locale has no blog

This commit is contained in:
Valentyne Stigloher 2024-05-02 13:04:21 +02:00
parent a75e5fd169
commit 393d67859f

View File

@ -128,6 +128,10 @@ export function listMissingTranslations(
return false;
}
if (!config.blog && keyMatches('links.blogLatest')) {
return false;
}
if (config.api === null && keyMatches('profile.header', 'api.example', 'api.query')) {
return false;
}