hexojs / hexojs/hexo-theme-landscape

Shows arrow when multiple non-nesting categories are set

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Stylus
Stars
335
Forks
373
PR merge metrics
No merged PRs in 30d

Description

When categories are set like this:
```
categories:
- [Featured]
- [Tutorial]
```
Landscape theme shows arrows between categories, although they are not nested:
![wp-hierar-cat-01](https://user-images.githubusercontent.com/7857310/88483440-c7eeb300-cf89-11ea-9e25-80fd34f31d33.png)

Discussed [here](https://github.com/hexojs/hexo-migrator-wordpress/issues/36#issuecomment-664199660) and [here](https://github.com/hexojs/hexo-migrator-wordpress/issues/54#issuecomment-664005653)

> The theme displays it as nested, but if you check the `Tutorial` link, it should be `http://yourhexo.com/categories/tutorial`, not `http://yourhexo.com/categories/featured/tutorial`. Perhaps a theme couldn't differentiate whether a category is nested or not, but that's a separate issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the two non-nesting categories shown in the report and inspect the Landscape theme's category navigation rendering. Review the linked discussions for the distinction between nested and separate categories. Done means arrows appear only for actual nesting, while the Tutorial link remains at /categories/tutorial.

Written by the indexing model from the issue text.

Assessment

Tech stack
stylus
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.