We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autoAddCategoryToNavbar Add judgment
file : NavbarLinks.vue code👇
const parseCategories = computed(() => { let arr = []; if (Object.values(categorySummary?.categories?.items).length > 0) { arr.push({ text: themeLocal.value.autoAddCategoryToNavbar?.categoryText || 'Categories', children: Object.values(categorySummary?.categories?.items || {}).map((c) => ({ // @ts-ignore text: c.label, // @ts-ignore link: `/categories/${convertToPinyin(c.label)}/1/`, })) }) } if (Object.values(categorySummary?.tags?.items).length > 0) { arr.push({ text: themeLocal.value.autoAddCategoryToNavbar?.tagText || 'Tags', children: Object.values(categorySummary?.tags?.items || {}).map(t => ({ // @ts-ignore text: t.label, // @ts-ignore link: `/tags/${convertToPinyin(t.label)}/1/`, })) }) } return arr; })
When I don't have a tag, I don't add a tag
The text was updated successfully, but these errors were encountered:
这个是2.0的建议。package.json 中的url 指向了这里。
Sorry, something went wrong.
No branches or pull requests
Feature request
autoAddCategoryToNavbar Add judgment
file : NavbarLinks.vue
code👇
What problem does this feature solve?
When I don't have a tag, I don't add a tag
How should this be implemented in your opinion?
Are you willing to work on this yourself?
The text was updated successfully, but these errors were encountered: