Blog color palette does not change.
hrokr opened this issue · comments
Describe the bug
As with #156, the Blog
tab acts independently of the rest of the site. In this case, the color palette does not change
To Reproduce
Steps to reproduce the behavior:
- Modify colors in
hugo.yaml
- Note how the
blogs
section doesn't change
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
I changed the color pallet to this to decrease the contrast between the text and background:
And while the dark mode remains the same as the rest of the side.
The blogs light mode is still doing its own thing.
Desktop (please complete the following information):
- OS: OSX 14.2
- Browser: Firefox
- Version 122
Smartphone (please complete the following information):
N/A
Additional context
My surmise why blogs is such an issue has something to do with how the other sections have the generalized form of http://localhost:1313/#contact
but blogs is http://localhost:1313/blogs/
. Then again, I'm more of a data guy than a front-end guy so I could easily be wrong. But it sure is irritating.
I am not certain what I'm about to write is the solution but it caused an immediate change.
First a key point. I used this theme to start a site before. I had a few blog posts; some with accompanying images. I did something and screw things up (hopefully thereby teaching me to at least git init
all repos locally if I don't what them up on GitHub.
When I started again, I copied over the .md files and the images with no issues. The content is displayed correctly. I did notice later that all the .md files had been switched to a folder containing an index.html
and an index.xml
. This was annoying but it wasn't a dealbreaker. But these two issues are a grind and I thought maybe some help might come from the Hugo discorse.
On the site, I saw a question about incorporating LaTeX. I know this theme uses MathJaX but I also saw as of v0.122.0 LaTeX is now incorporated, so I made a new blog entry to see if I could verify it works well enough.
And the resulting blog page displays intended. The search bar is gone, as desired. The color pallet matches the rest of the site.
![Screenshot 2024-02-06 at 11 24 47 PM](https://private-user-images.githubusercontent.com/9368785/302859572-22479da4-cd52-49c3-a33e-cf88e221cc2b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1Mjg1OTIsIm5iZiI6MTcyNTUyODI5MiwicGF0aCI6Ii85MzY4Nzg1LzMwMjg1OTU3Mi0yMjQ3OWRhNC1jZDUyLTQ5YzMtYTMzZS1jZjg4ZTIyMWNjMmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDkyNDUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzBiMzA5Mjk4OTMwMGVkNmYxZDJhZGI0NDJlMTZiZDA2OTc4MDBjOTM4Mzg4OWUxYWU3MWI1YzU0NWFkYjhjNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.SOFdJnCKRxPo_rRQL88ZBJOqC7DFJztcfijEgHT1pmQ)
Again, I'm not certain if it's the solution but it either is the solution, a solution, or calls into doubt replicability, so I'm going close this and the other issue