Sha256: 1a245d1275281be6b2c3994c12e899ffb7578885b6f2a9d3b095c48fb0c1587f

Contents?: true

Size: 1.01 KB

Versions: 42

Compression:

Stored size: 1.01 KB

Contents

{%- assign titlelen = page.title.size -%}
{%- if titlelen > 0 -%}
<h2>{{ page.title }}</h2>
{%- endif -%}
{%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
{%
  include archive_list.html
  collection=paginator.posts
  limit=site.paginate
-%}

{{ content }}

<div class="pagebar">
  {%- if paginator.previous_page -%}
  <a href="{{ paginator.previous_page_path  | relative_url}}" class="previous">
    {{ site.theme_config.previous_page_title | default: "Previous" }} 
  </a>
  {%- else -%}
  <span class="previous">
    {{ site.theme_config.previous_page_title | default: "Previous" }} 
  </span>
  {%- endif -%}
  <span class="page_number "> 
    {{ paginator.page }}/{{ paginator.total_pages }}
  </span>
  {%- if paginator.next_page -%}  
  <a href="{{ paginator.next_page_path | relative_url }}" class="next">
    {{ site.theme_config.next_page_title | default: "Next" }} 
  </a>
  {%- else -%}
  <span class="next ">
    {{ site.theme_config.next_page_title | default: "Next" }} 
  </span>
  {%- endif -%}
</div>

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
jekyll-zeta-0.3.6.7 _includes/paginate.html
jekyll-zeta-0.3.6.6 _includes/paginate.html