Comments (17)
Probably more a problem with the boostrap theme than the blog skeleton. Can you put this issue there please?
from grav-skeleton-blog-site.
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.
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.
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:
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.
what does the source look like for the pagination?
from grav-skeleton-blog-site.
Ask that a different way? What part of the source?
from grav-skeleton-blog-site.
from grav-skeleton-blog-site.
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.
When on page 2:
Weird hrefs.
from grav-skeleton-blog-site.
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.
View source is messy! :)
<ul class="pagination">
<li><a rel="prev" href="">«</a></li>
<li><a href="">1</a></li>
<li><span>2</span></li>
<li><span>»</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.
Wait! Bootstrap does not appear to override pagination.html.twig
.
from grav-skeleton-blog-site.
yah doesn't might be something else with your theme then.
from grav-skeleton-blog-site.
But I get the problem on a clean skeleton install using bootstrap.
from grav-skeleton-blog-site.
i'll have to look at it later.. got chores to do today and wife is calling :)
from grav-skeleton-blog-site.
OK. No worries...
from grav-skeleton-blog-site.
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)
- Missing plugins Pagination, Breadcrumbs, Taxonomy List HOT 1
- Admin Account / Password HOT 2
- tag links are broken HOT 3
- Grid content rendering off-page on iPhone HOT 7
- @1x caption on image when blog template is used HOT 1
- Skeleton download has old plugins.
- Blog plugin running/adding CSS etc in the admin area plugin
- What's about the pages\authors folder? HOT 2
- Assumption that /grav/ has no parent
- Contact form modular HOT 2
- Archives KO on skeleton-blog-site HOT 2
- Provide the Admin Panel with this skeleton by default? HOT 1
- Expects Antimatter theme to be installed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grav-skeleton-blog-site.