Init Jekyll Theme
This commit is contained in:
parent
ef6d8f23ef
commit
e5d20c0faf
161 changed files with 11696 additions and 0 deletions
10
_includes/for-loop-title-only-counter.html
Normal file
10
_includes/for-loop-title-only-counter.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<ul class="side-nav">
|
||||
{% assign counter = 1 %}
|
||||
{% for post in site.posts reversed %}
|
||||
{% if post.categories contains include.list-category %}
|
||||
<li><a href="{{ site.url }}{{ post.url }}">#{{ counter }} {{ post.title }}</a></li>
|
||||
{% assign counter=counter | plus:1 %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<li> </li>
|
||||
</ul>
|
Reference in a new issue