Website content for chibug.org
at master 33 lines 711 B view raw
1--- 2layout: default 3--- 4 5{% for post in paginator.posts %} 6 <section class="update"> 7 <header> 8 <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a> 9 <span class="details"> 10 {{ post.date | date: "%B %d, %Y" }} 11 by 12 {{ post.author }} 13 </span> 14 </header> 15 16 {{ post.content }} 17 </section> 18{% endfor %} 19 20<div class="page_nav"> 21 Page: 22 {% for page in (1..paginator.total_pages) %} 23 {% if page == paginator.page %} 24 <a class="page cur_page"> 25 {{ page }} 26 </a> 27 {% elsif page == 1 %} 28 <a href="/" class="page">{{ page }}</a> 29 {% else %} 30 <a href="{{ site.paginate_path | relative_url | replace: ':num', page }}" class="page">{{ page }}</a> 31 {% endif %} 32 {% endfor %} 33</div>