broken index
This commit is contained in:
parent
f2a35c4196
commit
85fffe5094
30
index.html
30
index.html
|
@ -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>✎</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 %}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue