digitalglarus: changed style of posts.
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
dbc53d0deb
commit
eb1d4b04a5
3 changed files with 15 additions and 18 deletions
|
@ -8,26 +8,27 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
<header>
|
||||
{% block blog_meta %}
|
||||
{# include "glarus_blog/includes/blog_meta.html" #}
|
||||
{% endblock %}
|
||||
<h2>
|
||||
<a href="{% url 'digitalglarus:blog-detail' post.slug %}">
|
||||
<hr></hr>
|
||||
<h2 class="text-center intro-text">
|
||||
<a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
|
||||
{{ post.title }}
|
||||
</a>
|
||||
<br>
|
||||
<small>
|
||||
{{ post.date_created }}
|
||||
</small>
|
||||
</h2>
|
||||
<hr></hr>
|
||||
{% block blog_meta %}
|
||||
{% include "glarus_blog/includes/blog_meta.html" %}
|
||||
{% endblock %}
|
||||
</header>
|
||||
<div class="blog-lead text-center">
|
||||
<div class="blog-lead text-center blog-abstract">
|
||||
<p>
|
||||
{{ post.abstract| safe }}
|
||||
</p>
|
||||
</div>
|
||||
<footer class="read-more">
|
||||
<div class="read-more">
|
||||
<a class="lead" href="{% url 'digitalglarus:blog-detail' post.slug %}">{% trans "read more" %} »</a>
|
||||
</footer>
|
||||
</div>
|
||||
<hr></hr>
|
||||
</article>
|
||||
|
|
|
@ -15,20 +15,21 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
<header class="text-center">
|
||||
<h2>
|
||||
<a href="{% url 'digitalglarus:blog-detail' post.slug %}">
|
||||
<hr></hr>
|
||||
<h2 class="text-center intro-text">
|
||||
<a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
|
||||
{{ post.title }}
|
||||
</a>
|
||||
<br>
|
||||
<small>
|
||||
{{ post.date_created }}
|
||||
</small>
|
||||
</h2>
|
||||
<hr></hr>
|
||||
{% block blog_meta %}
|
||||
{% include "glarus_blog/includes/blog_meta.html" %}
|
||||
{% endblock %}
|
||||
</header>
|
||||
{% endspaceless %}
|
||||
<div class="blog-content">{% render_placeholder post.content %}</div>
|
||||
<div class="digitalglarus-blog-content">{% render_placeholder post.content %}</div>
|
||||
</article>
|
||||
{% endblock content_blog %}
|
||||
|
|
|
@ -7,11 +7,6 @@
|
|||
<section class="blog-list">
|
||||
{% block blog_title %}
|
||||
<header>
|
||||
<hr></hr>
|
||||
<h2 class="intro-text text-center">
|
||||
Digital Glarus <b>Blog</b>
|
||||
</h2>
|
||||
<hr></hr>
|
||||
</header>
|
||||
{% endblock %}
|
||||
{% for post in post_list %}
|
||||
|
|
Loading…
Reference in a new issue