mirror of
https://github.com/seigler/dash-website
synced 2025-07-28 15:36:09 +00:00
* Update: Merchant page and images * Update: Blog hero image * Update: Team hero image / content * Update: Blog content and images * Update: Start-page copy, images and featured merchants / blog posts * Update: Add remaining merchants / images (requires styling) * Update: Footer * Add: Terms of use page and translations
37 lines
1 KiB
HTML
37 lines
1 KiB
HTML
---
|
|
layout: default
|
|
title: pages.blog.title
|
|
description: pages.blog.description
|
|
---
|
|
|
|
{% include hero/blog.html %}
|
|
|
|
<div class="page page--blog">
|
|
|
|
<section class="section">
|
|
<div class="section__content content">
|
|
<div class="featurepost-grid">
|
|
{% for post in paginator.posts %}
|
|
<!-- limit:10 -->
|
|
<article class="featurepost">
|
|
<div class="featurepost__preview {% if post.image %}featurepost__preview--image{% else %}featurepost__preview--no-image{% endif %}">
|
|
{% if post.image %}
|
|
<img src="{{ basenav }}/assets/img/blog/{{ post.image }}" class="featurepost__image">
|
|
{% endif %}
|
|
</div>
|
|
|
|
<h2 class="featurepost__title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
|
|
|
<em class="featurepost__date">{{ post.date | date: "%b %d, %Y" }}</em>
|
|
|
|
<p class="featurepost__description">{{ post.excerpt | strip_html | truncatewords: 50 }}</p>
|
|
<div class="featurepost__divider"></div>
|
|
</article>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
{% include pagination_navigation_all.html %}
|
|
</div>
|
|
</section>
|
|
|
|
</div>
|