Giter Club home page Giter Club logo

Comments (17)

rhukster avatar rhukster commented on May 28, 2024

Probably more a problem with the boostrap theme than the blog skeleton. Can you put this issue there please?

from grav-skeleton-blog-site.

bobrocke avatar bobrocke commented on May 28, 2024

I can move it, but maybe I need to move it to the Paginate plug-in? The same weirdness happens with the Grav Team theme Striped (on a clean blog skeleton install) and my own theme on my site.

Of the several themes I've tried, only Antimatter works as expected.

from grav-skeleton-blog-site.

rhukster avatar rhukster commented on May 28, 2024

Bootstrap with latest Grav, Bootstrap theme, + Pagination works fine for me:

http://demo.getgrav.org/bootstrap-skeleton/

also striped:

http://demo.getgrav.org/bootstrap-skeleton/

How is it breaking for you? It might be related to running at root only. I don't have a test install with these as root currently.

from grav-skeleton-blog-site.

bobrocke avatar bobrocke commented on May 28, 2024

Hmm. Your demo sites work fine for me, too.

My install is a standard blog skeleton install with bootstrap and stripe added via gpm install. It's at http://www.grav.dev/ served locally via MAMP PRO on Apache and PHP 5.4.42.

When I'm on page 2, my pagination looks like this:

bootstrap

You can see that the back arrow links to page:2 as does the 1 item.

How can I dig into this more to describe the problem better?

from grav-skeleton-blog-site.

rhukster avatar rhukster commented on May 28, 2024

what does the source look like for the pagination?

from grav-skeleton-blog-site.

bobrocke avatar bobrocke commented on May 28, 2024

Ask that a different way? What part of the source?

from grav-skeleton-blog-site.

rhukster avatar rhukster commented on May 28, 2024

home grav 2015-08-30 08-50-10

from grav-skeleton-blog-site.

rhukster avatar rhukster commented on May 28, 2024

Your browser interprets the link when it provides you the preview, but it doesn't actually display the generated link, which is the important part when trying to determine what is going on.

If the browser doesn't understand the link, it merely shows as the current page (what you pasted)

from grav-skeleton-blog-site.

bobrocke avatar bobrocke commented on May 28, 2024

When on page 2:

home grav

Weird hrefs.

from grav-skeleton-blog-site.

rhukster avatar rhukster commented on May 28, 2024

Oh I think I know what the problem is.. I put a fix into the pagination.html.twig to remove double '//' and that is probably overridden in both bootstrap and striped, so those themes will probably need an update to reflect the fix.

Also, probably need to actually "View source" when having a problem, and find the section of code. Rather than the inspector, which has already 'interpreted' the code.

from grav-skeleton-blog-site.

bobrocke avatar bobrocke commented on May 28, 2024

View source is messy! :)

<ul class="pagination">
                    <li><a rel="prev" href="">&laquo;</a></li>


                                <li><a href="">1</a></li>


                    <li><span>2</span></li>

                <li><span>&raquo;</span></li>
    </ul>

Maybe that's the problem as I have it with my site, too and I override pagination.html.twig. I'll experiment a bit more by using the default pagination.html.twig instead...

from grav-skeleton-blog-site.

bobrocke avatar bobrocke commented on May 28, 2024

Wait! Bootstrap does not appear to override pagination.html.twig.

from grav-skeleton-blog-site.

rhukster avatar rhukster commented on May 28, 2024

yah doesn't might be something else with your theme then.

from grav-skeleton-blog-site.

bobrocke avatar bobrocke commented on May 28, 2024

But I get the problem on a clean skeleton install using bootstrap.

from grav-skeleton-blog-site.

rhukster avatar rhukster commented on May 28, 2024

i'll have to look at it later.. got chores to do today and wife is calling :)

from grav-skeleton-blog-site.

bobrocke avatar bobrocke commented on May 28, 2024

OK. No worries...

from grav-skeleton-blog-site.

bobrocke avatar bobrocke commented on May 28, 2024

Fixed by the latest Grav updates and corrections to my theme templates to match newest antimatter templates.

from grav-skeleton-blog-site.

Related Issues (14)

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.