ppoffice / hexo-theme-hueman

A redesign of Alx's wordpress theme Hueman, ported to Hexo.
http://ppoffice.github.io/hexo-theme-hueman/
GNU General Public License v2.0
1.17k stars 335 forks source link

[Request] Supporting sub-menus #181

Closed noraj closed 4 years ago

noraj commented 7 years ago

Please make sure these boxes are checked before submitting your issue. Thank you!


In menu we can add Categories: (with sub-categories that generate sub-menus) or a single link. Can you support sub-menus when adding a list of several links for example:

About: 
    trademark: /about/trademark/
    enterprise: /about/enterprise/

Thanks.

AimeSoleil commented 7 years ago

+1

noraj commented 6 years ago

Is it an easy or complex feature to do ?

noraj commented 5 years ago

@ppoffice Please an update?

ppoffice commented 5 years ago

@noraj I'm sorry for the late update, but I didn't get much time lately to take care of this theme. I probably will do a full upgrade later this year. For all of you who want a secondary menu, please add your menus like this after this line: https://github.com/ppoffice/hexo-theme-hueman/blob/master/layout/common/header.ejs#L31

<li class="main-nav-list-item" >
    <a class="main-nav-list-link" href="#">About</a>
    <ul class="main-nav-list-child">
        <li class="main-nav-list-item">
            <a class="main-nav-list-link" href="/about/trademark/">Trademark</a>
            <a class="main-nav-list-link" href="/about/enterprise/">Enterprise</a>
        </li>
    </ul>
</li>
noraj commented 5 years ago

@ppoffice You can add hacktoberfest tag to some issues to attract some contributors ;) https://hacktoberfest.digitalocean.com