-
Notifications
You must be signed in to change notification settings - Fork 196
Fixed intro section overlap & Hugo native SCSS #57
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this remove main.min.css
since it will be processed by Hugo now? main.min.css
was the processed version of main.scss
.
If not, it should.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on what I see, everything is good to go! 🎉
The "Files Changed" tab shows the overall diff hunk
|
Sorry, the diff wasn't clear to me. Once I checked out the PR I noticed it
was removed.
Thanks for this.
… |
Does removing the pre-processed main.css.min now mean you must run Hugo Extended in order for the scss to be processed? Or am I misunderstanding the gist of this thread? Regardless, I'm currently using Hugo Extended 0.56.3, but with the latest commits including this one, it's no longer generating a |
See @bep's reply.
If you don't change the theme's SCSS rules, you don't need extended verision.
As written in my previous reply, the generated resources go to Have you considered using the snap package for Hugo to automatically get the latest version of Hugo? ℹ️ In the prerequisites for submitting an issue, using the latest version of Hugo is included.
That's expected, since the generated main CSS file is called
I found the first point check all the prerequisites in the relevant section in the Contributing Guidelines quite difficult to observe in case of big projects with thousands of issues and PRs. In this theme, we're expecting users to get things built "with minimal setup", so feel free to ask questions. Conducting a simple search using the search box with placeholder "is:issue is:open" before opening your issue is even better. |
Running the latest Hugo wasn't the issue and actually seems to introduce its own problems I haven't submitted an issue about yet. My problem was I had forgotten about an overridden version of |
Description
#wrapper
toauto
so that the#intro
can contain its contents no matter who large the avatar is.resources.ToCSS
to automatically compile themain.scss
file in runtime. This method only works forassets
, so the relevant files have been moved around. I prefer naming the subfolder containingmain.scss
asassets/scss
. That's the practice in the linked docs, and this improves the organisation of ourassets
. In addition, fingerprinting has been introduced.Motivation and Context
To resolve #53 and #55.
Screenshots (if appropriate):
Types of changes
Checklist:
theme.toml
, accordingly.