Skip to content

fix: HTML issues with bootstrap2-dark theme#785

Open
gianluca-mascolo wants to merge 1 commit intogetpelican:masterfrom
gianluca-mascolo:fix-bootstrap2-dark
Open

fix: HTML issues with bootstrap2-dark theme#785
gianluca-mascolo wants to merge 1 commit intogetpelican:masterfrom
gianluca-mascolo:fix-bootstrap2-dark

Conversation

@gianluca-mascolo
Copy link
Copy Markdown

@gianluca-mascolo gianluca-mascolo commented Jan 10, 2026

I tried using the bootstrap2-dark theme, but when I generated the output with Pelican it failed the CI tests run with python html5validator and htmltest.

Since I’m not an HTML expert at all, I asked Claude AI to help me fix the theme templates. I personally reviewed the changes, and they make sense to me. Overall, this patch removes undefined variables, duplicate tags, and other minor issues of that kind.

A detailed explanation of the applied patch, along with the reason why each fix was necessary, can be found in my GitHub repository here.

A live version of this patched theme is available on my personal website here.

@gianluca-mascolo
Copy link
Copy Markdown
Author

@farseerfc looking back at github history looks like you are the original author of this theme (Thank you I like it!). Maybe you can help by commenting the PR 🙏

@farseerfc
Copy link
Copy Markdown
Contributor

I was the original author for bootstrap2 theme, and the bootstrap2-dark version is made based on mine.
Your changes seems to be good. I don't remember why I made those mistakes in the past. Thank you for fixing that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants