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:
|
params:
|
||||||
author: TheOrangeOne
|
author: TheOrangeOne
|
||||||
author_name: Jake Howard
|
author_name: Jake Howard
|
||||||
summary_length: 100
|
summary_length: 125
|
||||||
summary_length_long: 200
|
summary_length_long: 200
|
||||||
nav_items: 5
|
nav_items: 5
|
||||||
index_items: 6
|
index_items: 6
|
||||||
|
|
|
@ -4,8 +4,5 @@
|
||||||
<h3>{{ title .LinkTitle }}</h3>
|
<h3>{{ title .LinkTitle }}</h3>
|
||||||
</a>
|
</a>
|
||||||
<p>{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length "..." }}</p>
|
<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>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<section class="box special image">
|
<section class="box special image">
|
||||||
{{ if .Params.image }}
|
{{ if .Params.image }}
|
||||||
|
<a href="{{ .Permalink }}">
|
||||||
<span class="image featured" data-image="{{ .Params.image }}"></span>
|
<span class="image featured" data-image="{{ .Params.image }}"></span>
|
||||||
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a href="{{ .Permalink }}">
|
<a href="{{ .Permalink }}">
|
||||||
<h3>{{ title .LinkTitle }}</h3>
|
<h3>{{ title .LinkTitle }}</h3>
|
||||||
</a>
|
</a>
|
||||||
<p>{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length "..." }}</p>
|
<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>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,6 +10,11 @@ $fa-font-path: "../fonts";
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.box a .image {
|
||||||
|
margin-top: -3em !important;
|
||||||
|
border-radius: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.dropotron {
|
.dropotron {
|
||||||
width: initial;
|
width: initial;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue