mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-01-22 13:48:36 +01:00
c049484e4c
- Updated frameworks for better browser support - Improved responsive design - Versioned documentation - Better social media support via the Jekyll SEO plugin - New looks, fwiw - Start page has some more relevant info - Documentation sorted to be more easily accessible - Internally upgraded from plain CSS to SASS
46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
---
|
|
title: What's New
|
|
layout: default
|
|
redirect_from:
|
|
- /archive.html
|
|
created_at: 1999-04-06
|
|
---
|
|
|
|
<div class="news">
|
|
{%- if paginator.page == 1 -%}
|
|
<h1 class="page-heading mb-4">{{ page.title }}</h1>
|
|
{%- else -%}
|
|
<div class="mb-4">
|
|
{%- include paginator.html -%}
|
|
</div>
|
|
{%- endif -%}
|
|
|
|
{%- if site.paginate -%}
|
|
{%- assign posts = paginator.posts -%}
|
|
{%- else -%}
|
|
{%- assign posts = site.posts -%}
|
|
{%- endif -%}
|
|
|
|
{%- if posts.size > 0 -%}
|
|
{%- if page.list_title -%}
|
|
<h2 class="post-list-heading">{{ page.list_title }}</h2>
|
|
{%- endif -%}
|
|
|
|
{%- for post in posts -%}
|
|
<div class="card mb-4">
|
|
<div class="card-header"><a class="bx-post-link" href="{{ post.url | relative_url }}">{{-
|
|
post.date | date: "%b %-d, %Y" }} - <span class="font-weight-bold">{{ post.title | escape }}</span></a></div>
|
|
<div class="card-body">
|
|
<div class="card-text">{{- post.content | split: '<!--break-->' | first | markdownify | remove: '<p>' | remove: '</p>' -}}
|
|
{%- if post.content contains '<!--break-->' %} <a href="{{ post.url | relative_url }}"> ... read more</a>{% endif %}</div>
|
|
</div>
|
|
</div>
|
|
{% endfor -%}
|
|
|
|
<div class="mt-4">
|
|
{%- include paginator.html -%}
|
|
</div>
|
|
{%- endif -%}
|
|
|
|
</div>
|