Remove 'read more' button from box
This commit is contained in:
parent
fa77b3abaa
commit
7fbb1940bb
4 changed files with 9 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
<div class="col-sm-6">
|
||||
<section class="box special image">
|
||||
{{ if .Params.image }}
|
||||
<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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue