Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

why after build the website, gen the file resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.content #115

Closed
xtccc opened this issue Sep 17, 2023 · 1 comment

Comments

@xtccc
Copy link

xtccc commented Sep 17, 2023

after I run the hugo
it generate the resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.content resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.json

It is a bug ? I don't want to add the two file to the git

hugo 

git status
public/   
resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.content
resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.json

hugo-blog-awesom verson is

  • main aa7630b [origin/main] ci: update Hugo version for Netlify builds
@hugo-sid
Copy link
Owner

It is a bug ?

This is not a bug.

From https://gohugo.io/getting-started/directory-structure/#directories :

The resources directory contains cached output from Hugo’s asset pipelines, generated when you run the hugo or hugo server commands. By default this cache directory includes CSS and images. Hugo recreates this directory and its content as needed.

Feel free to add this folder to your .gitignore.

Repository owner locked and limited conversation to collaborators Sep 18, 2023
@hugo-sid hugo-sid converted this issue into discussion #117 Sep 18, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants