-
Notifications
You must be signed in to change notification settings - Fork 41
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
'Relativisation' #8
base: gh-pages
Are you sure you want to change the base?
'Relativisation' #8
Conversation
…-compilation # Conflicts: # assets/css/main.css # index.html # jquerycourse/index.html # jquerycourse/thanks/index.html
This is pretty cool. Thanks for doing it. Sorry about the conflicts... If you resolve I'll pull. Do you have any suggestions about the @include's I do for the svg icons and stuff? |
…-compilation # Conflicts: # assets/css/main.css # gifs/index.jade # index.html # jquerycourse/index.html # jquerycourse/thanks/index.html
Conflicts are resolved for now - they were due to my different way of compiling HTML and CSS. As regards the For more information about Jade includes: http://jade-lang.com/reference/includes/ |
…-compilation # Conflicts: # assets/css/main.css # gifs/index.html # index.html # jquerycourse/index.html # jquerycourse/thanks/index.html
Just a bunch of code to make links relative -- idea from issue #7
I used Jade variables (like @travisneilson's htmlClass) to create a customizable reference to the assets folder, so you have only to declare the path once at the top of each index.jade file. Moreover, I converted the other paths into relative ones (like the gifs' hrefs).