broken index

This commit is contained in:
sakrecoer 2020-09-11 19:22:14 +02:00
parent f2a35c4196
commit 85fffe5094

View file

@ -28,19 +28,29 @@ video_path: /videos/pingu.mp4
</div>
</section>
{% for post in site.posts limit: 3 %}
{% if post.category == 'ramblings' %}
<section class="front-section">
<section class="news">
<h2>Latest News</h2>
<div style="background-image:url({{ relBase }}{{ post.image }}"></div>
<div class="description">
<h2>{{ post.title }}</h2>
<p><strong>{% include forloop-dates.html %}</strong></p>
<p>{{ post.description }}</p>
<p><a href="{{ relBase }}{{ post.url }}" class="button">Read post</a></p>
</div>
<div style="background-image:url({{ post.image }})">
<p class="editor-link"><a href="cloudcannon:collections/_posts/{{ post.path }}" rel="nofollow"
class="btn"><strong>&#9998;</strong> Edit Post</a></p>
</div>
<div class="description">
<div class="container">
<div class="">
<h3>{{ post.title }}</h3>
{{ post.description }}
</div>
<div>
<p><a class="button" href="{{ relBase }}{{ post.url }}">📰 Read Highlight</a></p>
</div>
</div>
</div>
</section>
{% endif %}
{% endfor %}