Skip to content
New issue

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

Page does not support tags and categories #54

Open
jiangtj opened this issue Aug 13, 2019 · 0 comments · May be fixed by #84
Open

Page does not support tags and categories #54

jiangtj opened this issue Aug 13, 2019 · 0 comments · May be fixed by #84

Comments

@jiangtj
Copy link

jiangtj commented Aug 13, 2019

if (page.tags && page.tags.length > 0) {
var tags = new Array()
var tag_index = 0
page.tags.each(function (tag) {
tags[tag_index] = tag.name;
});
temp_page.tags = tags
}
if (page.categories && page.categories.length > 0) {
temp_page.categories = []
(page.categories.each || page.categories.forEach)(function (item) {
temp_page.categories.push(item);
});
}

Page does not support tags and categories, need to delete them.

crycode-de added a commit to crycode-de/hexo-generator-search that referenced this issue Apr 8, 2024
Pages don't support tags and categories.
Closes wzpan#54
@crycode-de crycode-de linked a pull request Apr 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant