getpelican / pelican-themes

Themes for Pelican
https://getpelican.com/
2.13k stars 1.09k forks source link

Many broken themes (23 of 128 WORK with pelican 4.2.0) #677

Open someone-somenet-org opened 4 years ago

someone-somenet-org commented 4 years ago

I just tried to take a look at all the themes ... Of all 128 themes here, only these 23 seem to work with pelican 4.2.0. :/

Could you consider moving old/unmaintained themes to some subdir?

kakila commented 4 years ago

This would be really needed, I spent a lot of time testing before finding this issue

KeithCu commented 3 years ago

It is amazing this issue doesn't get fixed.

dakshsriv commented 3 years ago

Apparently, a 24th theme has broken down. twenty-pelican-html5up has worked horribly: #10 on twenty-pelican-html5up. Also, it's not pelican's fault that some themes are sub-maintained. It's the theme makers' fault.

someone-somenet-org commented 3 years ago

Also, it's not pelican's fault that some themes are sub-maintained. It's the theme makers' fault.

true, but it looks bad for pelican to host seemingly broken templates giving pelican as a whole a little dead feeling.

It would - for example - be great to get the templates into versioned directories. That way, if you just care about previewing/testing the template, you can downgrade pelican. And you would not have a large list of dead templates, just a versioned list.

edit: also, imho dont host the templates themselves, just links to their repos or add them as branch-tracked subrepos.

maphew commented 1 year ago

The picture is a lot better at end of 2022 but there are still far too many broken themes at the top end. Current stats in my testing are 73 working and 56 not; listed here (note: short term link). I'm happy to put some effort at re-arranging, just let me know what I could do.

leekimber commented 1 year ago

Following the link from #645... Thanks maphew for surveying the themes. It's an interesting read. It formalises what I found last year when I started looking for a small file-size, dark/light mode-supporting theme that was as attractive as the Alchemy (bootstrap) theme.

I concluded there was no suitable theme and that I would have to create my own.

Being a non-web developer pelican user, the complex of problems I then encountered are:

This one is hard to capture but it seems to me an invisible accident occurred. I think jmeyer et al created us a great python back-end and offered us starter themes and a chance to add more themes. Which people who were not web designers by profession or inclination did. But while they were doing it, the web world moved on a long way in multiple directions - some of them even damaging to web users - leaving pelican themes behind. So today we sit amid quite a lot of abandonware, non-functional and old fashioned themes.

There are probably other issues too but even I'm tired of reading me.

So, quoting Alex Ivanovs in Minimal CSS Frameworks:

a framework like Tailwind CSS or Bootstrap is not intended to be minimal or lightweight by default.

And:

I love the idea of using a framework that gives me quick access to pre-defined layouts and additional style components. All without requiring me to do code gymnastics to get the design working across multiple devices.

And:

Last but not least, it's a lot easier to add custom CSS to a small framework base because of no class interference. When you don't have a thousand different classes depending on one another, it's much easier to add custom CSS snippets you find in tutorials or on sites like CodePen.

Yep!

Recognising that what I want in a pelican theme may be the same as what Alex Ivanovs wants from a css framework but not the same as other pelican users want, here's a list of what I want in a pelican theme and its css:

I've been trying to solve these problems by:

I've tried a lot of alternative CSS files. I quite like:

I started to rework the existing Bulma-based pelican themes and would have continued with that if they didn't make images and videos even smaller on mobile than they already are. And if they met my dark/light mode requirement.

I've tried many more than the above. I'm currently focused on Chota because it looks as though I'll eventually get it close to Alchemy's layout. But with tiny Chota filesizes and jenil's understanding of smartphone users' mindsets.

It's not entirely theme related but I'm also writing a markdown pre-processor that lets me research and write in markdown as a writer in a multimedia and HTML5 world. Which means it:

Whatever I eventually come up with for a theme and for better markdown-handling, it won't solve the theme problems maphew identified.

Given that the web UI design world is waking up to the problems its rapid advances in coding and toolchains are causing web readers, web content creators and web devs, perhaps now is a good time to learn from the web UI world-of-pain and take pelican's themes down a different path.

I wonder if pelican themes management needs an approach that can create and maintain a base set of themes that are:

Perhaps it might work to take the best in navigation and functionality trends in HTML dev and multimedia support and require them to be in the core set of themes but not let the core set of themes become dependent on library fashions (bootstrap, jquery, css classes (and their conflicts), or whatever).

I'm not saying: don't have more complex themes. I am saying: perhaps we need to work towards creating and maintaining a base of modern, minimal, tweakable themes that work regardless of what css or js or toolchain is the fashion du jour. And providing support for them. While encouraging users to add to a separate set of more complex or difficult themes for which pelican provides no support. Perhaps create a distinctly separate but federated area for variant theme contributions and themes based on complex or fashionable frameworks.

I don't know where jmeyer's skill-boundaries are but I do know that work takes time and his work seems to be in providing a fantastic python back-end. Meanwhile, the web UI world has added workloads to theme design - and even to markdown rendering requirements - that no-one could be expected to keep pace with. So can we design a future for pelican themes that takes these facts of life into account?

I don't think this work can be done entirely by non-UI folks like me but I'm happy to add in my code (chortle) to that effort or some variation of that effort.

Thoughts?

maphew commented 1 year ago

Thoughts?

Oh yeah, way too many to write out. Lot of affirmative head nodding with regard to the goal of a minimal css starting point yet also friendly for middling html-css knowledgeable folks to build on. Thanks for sharing your extensive thoughts. More later as I go through and digest them.

Also see https://github.com/mosra/m.css, which is a highly refined pelican theme with many of these ideals at heart. It's not referenced in the pelican-themes repository.