Stylistic corrections

This commit is contained in:
Oleg Lavrovsky 2019-09-09 14:59:47 +02:00
parent 06badb6a75
commit 9290a03110
3 changed files with 11 additions and 6 deletions

View file

@ -54,14 +54,15 @@
<article class="box page-content blog_grid"> <article class="box page-content blog_grid">
<section> <section>
{% if entry.header_image %} {% if entry.header_image %}
<span class="img-responsive"> <span class="img-responsive"><a href="{{ post_url }}">
{% image entry.header_image fill-800x240 as header_image %} {% image entry.header_image fill-800x240 as header_image %}
<img alt="{{ entry.header_image.title }}" src="{{ header_image.url }}"> <img alt="{{ entry.header_image.title }}" src="{{ header_image.url }}">
</span> </a></span>
{% endif %} {% endif %}
{% include 'puput/entry_links.html' %} <!--{% include 'puput/entry_links.html' %}-->
</section> </section>
<section class="article"> <section class="article">
<h4><a href="{{ post_url }}">{{ entry.title }}</a></h4>
{% if entry.excerpt %} {% if entry.excerpt %}
{{ entry.excerpt|richtext }} {{ entry.excerpt|richtext }}
{% else %} {% else %}
@ -83,7 +84,7 @@
</li> </li>
</ul> </ul>
<div class="col-md-3"> <div class="col-md-3">
<a class="blog_btn continue" href="{{ post_url }}">{% trans 'Continue reading' %} &raquo;</a> <a class="blog_btn continue" href="{{ post_url }}">/{{ entry.slug|truncatechars:25 }} &raquo;</a>
</div> </div>
</div> </div>
</section> </section>

View file

@ -59,7 +59,9 @@
<div class="row"> <div class="row">
<div class="col-md-2"> <div class="col-md-2">
<a href="{% pageurl blog_page %}" class="blog_btn back"> <a href="{% pageurl blog_page %}" class="blog_btn back">
<i class="fa fa-angle-left"></i> {% trans 'Return' %} <i class="fa fa-angle-left"></i>
<i class="fa fa-angle-left"></i>
<i class="fa fa-angle-left"></i>
</a> </a>
</div> </div>
{% entry_url self blog_page as post_url %} {% entry_url self blog_page as post_url %}

View file

@ -64,7 +64,9 @@ $slider-nav: 200px;
font-size: 70%; background: #2643A9 !important; font-size: 70%; background: #2643A9 !important;
} }
.blog-header a { .blog-header a {
color: white !important; text-shadow: 1px 1px 2px black; color: white !important;
text-shadow: 1px 1px 2px black;
text-decoration: none;
} }
@import "subsites"; @import "subsites";