Closed olsove closed 6 years ago
maybe you can build it as bundle exec jekyll build --baseurl ''
?
I pushed a working example https://github.com/aksakalli/jekyll-doc-theme/commit/8ef3c13c7d5554173f59be22920edc63d06fd57c
maybe you can build it as
bundle exec jekyll build --baseurl ''
?
That means i dont need an extra config.yaml file. Thanks, I didn't think of that.
It still leave me with the 404 problem in _includes/js_files.html
from this code
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
Perhaps its missing http:
?
I thought adding the file to the js folder would seem cleaner so I did that.
hey, I think it is not related to the server. double slash //
means relative protocol.
see for more details
Problem: nginx is compaining that it can not find the static js resources while run under other contextpath
My solution:
1: Create a
Dockerfile
2: create a
build.sh
file3: create a
_config_dev.yml
file:4: Some changes to
_includes/js_files.html
are required:The file
jquery-1.10.2.min.js
must be added to thejs
folder.5: run the
build.sh
script and navigate to http://localhost