forked from reudnetz/website
add some css elements to the blog template
This commit is contained in:
parent
c3fe78040b
commit
f049281f73
1 changed files with 16 additions and 14 deletions
|
@ -5,14 +5,16 @@
|
|||
{% set posts = get_section(path="blogposts/_index.md") %}
|
||||
|
||||
{% for post in posts.pages %}
|
||||
<h2><a href="{{ get_url(path=post.path) }}" title="{{ post.title }}">{{ post.title }}</a></h2>
|
||||
<p class="date">{{ post.date }}</p>
|
||||
<div class="post-content">
|
||||
<h2 class="fg8" style="margin-bottom: 0px;"><a
|
||||
href="{{ get_url(path=post.path) }}" title="{{ post.title }}">{{ post.title }}</a></h2>
|
||||
<p class="fg4" style="margin-bottom: 0px;margin-top: 0px;">{{ post.date }}</p>
|
||||
<div class="fg12">
|
||||
{% if post.summary %}
|
||||
{{ post.summary | safe }}
|
||||
{% else %}
|
||||
{{ post.content | safe }}
|
||||
{% endif %}
|
||||
<hr style="margin-bottom: 1.5em">
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Reference in a new issue