1
Fork 0

Remove 'read more' button from box

This commit is contained in:
Jake Howard 2017-06-13 14:02:07 +01:00
parent fa77b3abaa
commit 7fbb1940bb
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 9 additions and 8 deletions

View file

@ -5,7 +5,7 @@ title: TheOrangeOne
params:
author: TheOrangeOne
author_name: Jake Howard
summary_length: 100
summary_length: 125
summary_length_long: 200
nav_items: 5
index_items: 6

View file

@ -4,8 +4,5 @@
<h3>{{ title .LinkTitle }}</h3>
</a>
<p>{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length "..." }}</p>
<ul class="actions">
<li><a href="{{ .Permalink }}" class="button alt">Read More</a></li>
</ul>
</section>
</div>

View file

@ -1,14 +1,13 @@
<div class="col-sm-6">
<section class="box special image">
{{ if .Params.image }}
<span class="image featured" data-image="{{ .Params.image }}"></span>
<a href="{{ .Permalink }}">
<span class="image featured" data-image="{{ .Params.image }}"></span>
</a>
{{ end }}
<a href="{{ .Permalink }}">
<h3>{{ title .LinkTitle }}</h3>
</a>
<p>{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length "..." }}</p>
<ul class="actions">
<li><a href="{{ .Permalink }}" class="button alt">Read More</a></li>
</ul>
</section>
</div>

View file

@ -10,6 +10,11 @@ $fa-font-path: "../fonts";
border-radius: 0;
}
.box a .image {
margin-top: -3em !important;
border-radius: 0 !important;
}
.dropotron {
width: initial;
}