Skip to content

Use Hugo's new Asset directory for CSS #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

mezpahlan
Copy link

Attempts to fix #94 .

Moves the existing CSS files to the new Assets directory. This allows them to be used in Hugo asset pipelines which makes them eligible for transforms such as minification and fingerprinting.

Adds an empty overrides files so that users of the theme can easily tweak their CSS in a single place. This is also minified along with the other CSS.

Finally, references this in the head partial.

bep added a commit that referenced this pull request Jul 27, 2025
@bep bep mentioned this pull request Jul 27, 2025
bep added a commit that referenced this pull request Jul 27, 2025
@bep bep closed this in #96 Jul 27, 2025
pull bot pushed a commit to trai25/hyde that referenced this pull request Jul 27, 2025
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.

Use of assets directory for CSS
1 participant