_includes/session/paginator.html in askclass-course-theme-0.12.0 vs _includes/session/paginator.html in askclass-course-theme-0.13.0
- old
+ new
@@ -24,19 +24,19 @@
{%- assign _prev_segment = site.data.syllabus[prev].items[-1] -%}
{%- assign _prev_item = site.data.sessions[_prev_segment] -%}
{%- endunless -%}
<section class="spacer center-align">
+ <div class="paginator-container spacer">
+ {%- include session/next_prev.html p="previous" item=_prev_item -%}
+ {%- include session/next_prev.html p="next" item=_next_item -%}
+ </div>
- {%- include segment/nav.html segment=session_data.segment -%}
<center>
{%- if session_data.header -%}
- <small>{{ session_data.header }}</small><br/>
+ <small class='special'>{{ session_data.header }}</small><br/>
{%- endif -%}
{{ session_data.title }}
</center>
- <div class="paginator-container spacer">
- {%- include session/next_prev.html p="previous" item=_prev_item -%}
- {%- include session/next_prev.html p="next" item=_next_item -%}
- </div>
+ {%- include segment/nav.html segment=session_data.segment -%}
</section>