Closed cdmo closed 8 years ago
This variable {{ site.data.path }} outputs /2016.code4lib.org/. So
{{ site.data.path }}
/2016.code4lib.org/
<link rel="stylesheet" href="{{ site.data.path }}prototype/bootstrap/dist/css/bootstrap.css">
produces:
<link rel="stylesheet" href="/2016.code4lib.org/prototype/bootstrap/dist/css/bootstrap.css">
Which, of course, doesn't load anything and the page just loads HTML. All of the links in header and footer break locally too.
@roastduckalamode am I missing something?
If you're working locally, you need to change _data/path.yml to "/", then it will put out
href="/prototype/..."
Okie doke
This variable
{{ site.data.path }}
outputs/2016.code4lib.org/
. So<link rel="stylesheet" href="{{ site.data.path }}prototype/bootstrap/dist/css/bootstrap.css">
produces:
<link rel="stylesheet" href="/2016.code4lib.org/prototype/bootstrap/dist/css/bootstrap.css">
Which, of course, doesn't load anything and the page just loads HTML. All of the links in header and footer break locally too.
@roastduckalamode am I missing something?