Put drop case only on post page and make whole card a link

This commit is contained in:
Joseph Hutchinson
2018-03-19 14:43:45 -04:00
parent 1fca68207d
commit df668bdb61
3 changed files with 12 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
<article class="card">
<h2 class="card-title">
<a href="{{ .Permalink }}" rel="bookmark" title="Link to {{ .Title }}">{{ .Title }}</a>
</h2>
<span class="post-date">Published {{ .Date.Format "Jan 2, 2006" }}</span>
<p>{{ .Description }}</p>
{{ if .Truncated }}<a class="moretag" href="{{ .Permalink }}">Continue reading</a>{{ end }}
</article>
<a href="{{ .Permalink }}" rel="bookmark" title="Link to {{ .Title }}" style="display: block;">
<article class="card">
<h2 class="card-title">{{ .Title }}</h2>
<span class="post-date">Published {{ .Date.Format "Jan 2, 2006" }}</span>
<p>{{ .Description }}</p>
<!-- {{ if .Truncated }}<a class="moretag" href="{{ .Permalink }}">Continue reading</a>{{ end }} -->
</article>
</a>