Update language setting and versions in several packages
This commit includes an update of the language setting in the DocsPage and BlogPage functions in the marketing app to make it more dynamic. Additionally, the package versions of next, @makerkit/data-loader-supabase-nextjs, and various Next packages in the Supabase package have been updated.
This commit is contained in:
@@ -54,8 +54,13 @@ export class WordpressClient implements CmsClient {
|
||||
}
|
||||
|
||||
if (options?.tags) {
|
||||
const ids = await this.getCategories({
|
||||
slugs: options.tags,
|
||||
const allTags = [
|
||||
...options.tags,
|
||||
options.language ? options.language : '',
|
||||
].filter(Boolean);
|
||||
|
||||
const ids = await this.getTags({
|
||||
slugs: allTags,
|
||||
}).then((tags) => tags.map((tag) => tag.id));
|
||||
|
||||
if (ids.length) {
|
||||
|
||||
Reference in New Issue
Block a user