hardcoded context path
This commit is contained in:
parent
1b6ddaf222
commit
a612f3dc44
3 changed files with 7 additions and 4 deletions
|
@ -1,2 +1 @@
|
|||
exclude : ["README.md"]
|
||||
BASE_PATH : http://ivaynberg.github.com/select2/
|
||||
exclude : ["README.md", "jekyll.sh"]
|
||||
|
|
|
@ -24,9 +24,9 @@ Usage:
|
|||
{% if node.title != null %}
|
||||
{% if group == null or group == node.group %}
|
||||
{% if page.url == node.url %}
|
||||
<li class="active"><a href="{{BASE_PATH}}{{node.url}}" class="active">{{node.title}}</a></li>
|
||||
<li class="active"><a href="/select2{{node.url}}" class="active">{{node.title}}</a></li>
|
||||
{% else %}
|
||||
<li><a href="{{BASE_PATH}}{{node.url}}">{{node.title}}</a></li>
|
||||
<li><a href="/select2{{node.url}}">{{node.title}}</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
4
jekyll.sh
Executable file
4
jekyll.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm -rf _site
|
||||
jekyll --server --auto --base-url '/select2'
|
Loading…
Add table
Reference in a new issue