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