Browse Source

fix demo cols

pull/803/head
afc163 9 years ago
parent
commit
b87158ccd9
  1. 20
      site/templates/demos.html

20
site/templates/demos.html

@ -10,16 +10,6 @@
</a>
{%- endif %}
</h2>
<ul class="demos-anchor">
{%- for item in items %}
{%- set post = item.meta.filepath|parsePost %}
<li>
<a title="{{ post.title }}" href="#{{post.meta.id|removeCodeBoxIdPrefix}}">
<span>{{ post.title }}</span>
</a>
</li>
{%- endfor %}
</ul>
<div class="code-boxes">
{%- if post.meta.cols == 1 %}
<div class="code-boxes-col-1-1">
@ -43,4 +33,14 @@
</div>
{%- endif %}
</div>
<ul class="demos-anchor">
{%- for item in items %}
{%- set post = item.meta.filepath|parsePost %}
<li>
<a title="{{ post.title }}" href="#{{post.meta.id|removeCodeBoxIdPrefix}}">
<span>{{ post.title }}</span>
</a>
</li>
{%- endfor %}
</ul>
{%- endif %}

Loading…
Cancel
Save