Skip to content
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

Regenerating SCSS #99

Closed
mkjmdski opened this issue Oct 14, 2018 · 2 comments
Closed

Regenerating SCSS #99

mkjmdski opened this issue Oct 14, 2018 · 2 comments

Comments

@mkjmdski
Copy link

mkjmdski commented Oct 14, 2018

Hey!
First of all I would like to thank you for this amazing theme! I forked your repository and changed coder.scss file to import new style I have added to the theme, but unfortunately files in the resources directory aren't regenerating. I'm wondering is it lack of my knowledge or is this a bug? I've taken a look into the baseof.html file and it should be using Hugo Pipes but somehow assets are still the same. I have disabled cache, opened a private mode etc... but still my CSS is the same. I'm really sorry if it is just lack of my knowledge and not the bug.

P.S. I don't want to add custom css option, because I want to override some colors. ;)

Edit: I have deleted generated css files from resources directory and now I've got this error: Building sites … ERROR 2018/10/14 19:32:19 error: failed to transform resource: TOCSS: failed to transform "style.coder.css" (text/x-scss): this feature is not available in your current Hugo version

Maybe that is more hugo bug itself?

@mkjmdski
Copy link
Author

Ok I have found out that I need to use extended hugo version. Sorry for mess :)

@khos2ow
Copy link
Contributor

khos2ow commented Oct 14, 2018

Yes, you need Hugo extended version, or you can simply use the existing targets in Makefile (e.g. prepare, build, etc). In your particular case you need to run release target. It will regenerate the content of resources folder:

$: cd /path/to/the/repo && make release

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

No branches or pull requests

2 participants