mirror of
https://github.com/codeninjasuk/codeninjasuk.github.io.git
synced 2024-11-29 10:45:42 -05:00
23 lines
515 B
HTML
23 lines
515 B
HTML
|
---
|
||
|
layout: archive
|
||
|
---
|
||
|
|
||
|
{{ content }}
|
||
|
|
||
|
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
||
|
|
||
|
{% if paginator %}
|
||
|
{% assign posts = paginator.posts %}
|
||
|
{% else %}
|
||
|
{% assign posts = site.posts %}
|
||
|
{% endif %}
|
||
|
|
||
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||
|
<div class="entries-{{ entries_layout }}">
|
||
|
{% for post in posts %}
|
||
|
{% include archive-single.html type=entries_layout %}
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
|
||
|
{% include paginator.html %}
|