gurusabarish / hugo-profile

A highly customizable and mobile first Hugo template for personal portfolio and blog.

Home Page:https://hugo-profile.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. Modify colors in hugo.yaml
  2. 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:
Screenshot 2024-02-06 at 1 34 01 AM

And while the dark mode remains the same as the rest of the side.
Screenshot 2024-02-06 at 1 34 17 AM

The blogs light mode is still doing its own thing.
Screenshot 2024-02-06 at 1 34 11 AM

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

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