We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Need to solve relative paths in gh-pages deployment.
The text was updated successfully, but these errors were encountered:
The main issue is this:
To get docpad to work with gh-pages, you have to hardcode the local CSS. e.g. style.css, rainbow.css, etc and the local scripts.
styles: [ "//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" "//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" "//hutchy68.github.io/coding-std-new/styles/style.css" "//hutchy68.github.io/coding-std-new/styles/rainbow.css" "//hutchy68.github.io/coding-std-new/styles/toc.css" ] # Scripts scripts: [ "//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" "//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" "//hutchy68.github.io/coding-std-new/scripts/script.js" "//hutchy68.github.io/coding-std-new/scripts/jquerywidget.js" "//hutchy68.github.io/coding-std-new/scripts/tocify.js" "//hutchy68.github.io/coding-std-new/scripts/tocbuild.js" ]
Should really look like
styles: [ "//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" "//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" "styles/style.css" "styles/rainbow.css" "styles/toc.css" ] # Scripts scripts: [ "//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" "//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" "scripts/script.js" "scripts/jquerywidget.js" "scripts/tocify.js" "scripts/tocbuild.js" ]
which should create relative links to scripts and styles in a top level to the web pages locations.
scripts
styles
Sorry, something went wrong.
No branches or pull requests
Need to solve relative paths in gh-pages deployment.
The text was updated successfully, but these errors were encountered: