mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
[Refactor] Blog/Post: Use hero instead of (duplicate) header, update post templates with page module
This commit is contained in:
parent
d7a13d8c9a
commit
61a012ac30
15 changed files with 201 additions and 215 deletions
|
@ -4,33 +4,33 @@ title: pages.blog.title
|
|||
description: pages.blog.description
|
||||
---
|
||||
|
||||
{% tf blog/header.html %}
|
||||
{% include hero/blog.html %}
|
||||
|
||||
<div class="content post">
|
||||
<div class="single-col">
|
||||
|
||||
{% include pagination_navigation_all.html %}
|
||||
|
||||
{% for post in paginator.posts %}
|
||||
<!-- limit:4 -->
|
||||
|
||||
{% for post in paginator.posts %}
|
||||
<!-- limit:4 -->
|
||||
<div class="feature">
|
||||
{% if post.image %}
|
||||
<img src="{{ post.image }}" class="preview">
|
||||
{% endif %}
|
||||
|
||||
|
||||
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
||||
|
||||
|
||||
<p><em>{{ post.date | date: "%b %d, %Y" }}</em><br />{{ post.excerpt | strip_html | truncatewords: 50 }}</p>
|
||||
|
||||
|
||||
</div>
|
||||
<span class="clear"></span>
|
||||
|
||||
<div class="divider">
|
||||
|
||||
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% include pagination_navigation_all.html %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue