1
0
mirror of synced 2024-11-28 15:46:03 +03:00

hardcoded context path

This commit is contained in:
Igor Vaynberg 2012-05-28 14:59:57 -07:00
parent 1b6ddaf222
commit a612f3dc44
3 changed files with 7 additions and 4 deletions

View File

@ -1,2 +1 @@
exclude : ["README.md"]
BASE_PATH : http://ivaynberg.github.com/select2/
exclude : ["README.md", "jekyll.sh"]

View File

@ -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
View File

@ -0,0 +1,4 @@
#!/bin/bash
rm -rf _site
jekyll --server --auto --base-url '/select2'