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

CSS changes in landscape theme not used during generate or deploy #568

Closed
practicalli-johnny opened this issue Mar 31, 2014 · 1 comment
Closed

Comments

@practicalli-johnny
Copy link

I am using Hexo (updated today) and the default landscape theme.

I changed the banner image (banner-url) in landscape theme and that works correctly when running "hexo server", however when running "hexo deploy" the original image is used as the banner URL (the public/css/style.css and .deploy/css/style.css are both using the original banner-url setting)

To change the banner image, I edited themes/landscape/source/css/_variables.styl

banner-url = "images/cat-eyes-and-paw.png"

Either there is a bug in the CSS creation for generate/deployment or I misunderstand where else banner-url is being set.

I don't understand why hexo server has the correct results unless it does not use the static content created by heroku generate

Thank you

@practicalli-johnny
Copy link
Author

Sorry, now realise I need to do a "Hexo clean" command in my project in order to pick up changes in the theme. The Hexo clean removes .cache and deploy folders so I am assuming hexo uses the cache to minimise what is generated each time.

If this is the desired behaviour, it would be good to document it.

I'll be bloging my experiences learning hexo in the next few days at jr0cket.co.uk if you would find that useful.

Thanks

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

1 participant