Giter Club home page Giter Club logo

Comments (5)

wzpan avatar wzpan commented on August 26, 2024

Hello @mYmNeo ,

The tag page is designed to have only one listing page, without paginations.

Can you provide an example page that has this issue?

from hexo-theme-freemind.

mYmNeo avatar mYmNeo commented on August 26, 2024

https://github.com/mYmNeo/mymneo.github.io/tree/pagination/tags/algorithm, here is my blog which is generated by hexo deploy -g with pagination and parameter per_page: 5, you can see that there is a subdirectory called page but its index.html has no button or navigation pointed to any of them, so the only way user want to see next page or prev page is to type URL in browser.

from hexo-theme-freemind.

wzpan avatar wzpan commented on August 26, 2024

The pagination for tags/categories page has been added. Please update the theme and see whether it works.

I don't quite like what it looks now, especially when I give a little value like 5 to per_page. But since Hexo doesn't allow me to control how many items to display at tags/categories page, I'm afraid that this is the only scenario I can do for you.

from hexo-theme-freemind.

mYmNeo avatar mYmNeo commented on August 26, 2024

I have applied the new commit, it works but needs to be modified a little

        <!-- pagination for tag-->
        <% if (page.tag) { %> # only tag page use pagination, or archive page has a lot of same page index
        <div>
        <center>
        <%- partial('index_pagination') %>
        </center>
        </div>
        <% } %>

Thanks a lot at last. 👍

from hexo-theme-freemind.

wzpan avatar wzpan commented on August 26, 2024

Updated. Closed this issue.

from hexo-theme-freemind.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.