middleman / middleman-blog

Blog Engine Extension for Middleman
https://middlemanapp.com
MIT License
325 stars 179 forks source link

Paginate is showing as false even if set in config.rb to true #385

Closed 0foo closed 5 months ago

0foo commented 1 year ago

Expected behavior

With paginate set as true in config.rb it is expected to see the paginate variable set as true in layouts/templates.

paginate set to true: https://github.com/0foo/0foo.dev/blob/master/config.rb#L41

Actual behaviour

Screenshot from 2023-07-27 13-45-29

https://github.com/0foo/0foo.dev/blob/master/source/layouts/layout.erb#L17

Screenshot from 2023-07-27 13-46-45

https://0foo.dev/

[Steps to reproduce the problem]

Can just run docker-compose up on this repository.

(https://github.com/0foo/0foo.dev)

(https://github.com/0foo/0foo.dev)

Additional information

0foo commented 9 months ago

This project appears to be abandoned?

Can someone make an announcement or post something on the main github page that this is abandoned?

markets commented 7 months ago

Hello @0foo 👋🏼

I'm helping to maintain this project now, so no, this is not abandoned... but maintaining "large" open source projects for years is hard. This project is more than 12 years old now, so of course there are some legacy code and decisions that will be really hard to understand at this point. That said, I'm still exploring the code, issues, ... but I'll try to do my best (last week I fixed the CI and moved to GH Actions, which a good 1st step).

Could you please send a failing test or an app that reproduces your error? I'm using this pagination module in a couple of sites with no problems at all.

Best, Marc

0foo commented 7 months ago

Hey cool! Glad to see this project is still alive. Its my fav static site generator.

The ticket has a repo with a docker container in it. Should just be able to pull the repo down and docker-compose up.

I couldnt figure it out but I didnt have time to work on it.

markets commented 7 months ago

It's still my favorite too 👌 And it's really really powerful, you can even write more tools and abstractions on top easily. I've been building a small framework for an specific use-case: https://github.com/Subgin/tonic. The combination of Data + Sitemap + configuration as code => super powers 🚀

I already checked those links, but it seems a Jekyll site now.