mirror of https://github.com/inolen/redream.git
update current page conditional to work with latest Liquid
This commit is contained in:
parent
11c89443e6
commit
7755f47e4c
|
@ -4,25 +4,25 @@ layout: default
|
|||
|
||||
<ul id="docs">
|
||||
<ul>
|
||||
<li><a {% if page.url.end_with? '/docs' %} class="current"{% endif %} href="{{ site.github.url }}/docs">About</a></li>
|
||||
<li><a {% if page.url == '/docs/' %} class="current"{% endif %} href="{{ site.github.url }}/docs">About</a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<ul>
|
||||
<li><a {% if page.url.end_with? '/docs/building' %} class="current"{% endif %} href="{{ site.github.url }}/docs/building">Building</a></li>
|
||||
<li><a {% if page.url.end_with? '/docs/running' %} class="current"{% endif %} href="{{ site.github.url }}/docs/running">Running</a></li>
|
||||
<li><a {% if page.url.end_with? '/docs/testing' %} class="current"{% endif %} href="{{ site.github.url }}/docs/testing">Testing</a></li>
|
||||
<li><a {% if page.url == '/docs/building' %} class="current"{% endif %} href="{{ site.github.url }}/docs/building">Building</a></li>
|
||||
<li><a {% if page.url == '/docs/running' %} class="current"{% endif %} href="{{ site.github.url }}/docs/running">Running</a></li>
|
||||
<li><a {% if page.url == '/docs/testing' %} class="current"{% endif %} href="{{ site.github.url }}/docs/testing">Testing</a></li>
|
||||
<li>
|
||||
</ul>
|
||||
<hr>
|
||||
<ul>
|
||||
<li><a {% if page.url.end_with? '/docs/directory-structure' %} class="current"{% endif %} href="{{ site.github.url }}/docs/directory-structure">Directory structure</a></li>
|
||||
<li><a {% if page.url.end_with? '/docs/memory-access' %} class="current"{% endif %} href="{{ site.github.url }}/docs/memory-access">Memory access</a></li>
|
||||
<li><a {% if page.url.end_with? '/docs/powervr-notes' %} class="current"{% endif %} href="{{ site.github.url }}/docs/powervr-notes">PowerVR notes</a></li>
|
||||
<li><a {% if page.url.end_with? '/docs/jit-design' %} class="current"{% endif %} href="{{ site.github.url }}/docs/cpu-design">JIT design</a></li>
|
||||
<li><a {% if page.url == '/docs/directory-structure' %} class="current"{% endif %} href="{{ site.github.url }}/docs/directory-structure">Directory structure</a></li>
|
||||
<li><a {% if page.url == '/docs/memory-access' %} class="current"{% endif %} href="{{ site.github.url }}/docs/memory-access">Memory access</a></li>
|
||||
<li><a {% if page.url == '/docs/powervr-notes' %} class="current"{% endif %} href="{{ site.github.url }}/docs/powervr-notes">PowerVR notes</a></li>
|
||||
<li><a {% if page.url == '/docs/jit-design' %} class="current"{% endif %} href="{{ site.github.url }}/docs/cpu-design">JIT design</a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<ul>
|
||||
<li><a {% if page.url.end_with? '/docs/contributing' %} class="current"{% endif %} href="{{ site.github.url }}/docs/contributing">Contributing</a></li>
|
||||
<li><a {% if page.url == '/docs/contributing' %} class="current"{% endif %} href="{{ site.github.url }}/docs/contributing">Contributing</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in New Issue