diff options
Diffstat (limited to 'layouts/partials/li.html')
-rw-r--r-- | layouts/partials/li.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/li.html b/layouts/partials/li.html index ab87312..a2919df 100644 --- a/layouts/partials/li.html +++ b/layouts/partials/li.html @@ -1,12 +1,12 @@ {{- $hdr := cond (or (in .Site.Params.classes "feature-nohdr") (in .Params.classes "feature-nohdr")) false true -}} <div class="relative w-100"> - <article class="bb b--black-10"> + <article> <div class="db pv4 {{ cond $hdr "ph3" "" }} ph0-l no-underline dark-gray"> <div class="flex flex-column flex-row-ns"> {{ if $hdr }} <div class="mb4 mb0-ns w-100 h4 h4-m w4-m h5-ns w5-ns br3 cover {{ if lt .Date.Unix now.Unix }}hide-child{{ end }}" style="background-image: url('{{ absURL (default "img/default-header-img.tn-500x500.jpg" (default .Params.image .Params.thumbnail)) }}'); background-position: center;"> - <a href="{{ .Permalink }}" class="db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60"> - <i class="mt3 mt5-l child far {{ cond (gt .Date.Unix now.Unix) "fa-hourglass" "fa-calendar-alt" }}"> {{ .Date.Format "Jan 2, 2006" }}</i> + <a href="{{ .Permalink }}" class="sans-serif db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60"> + <i class="mt3 mt5-l child far {{ cond (gt .Date.Unix now.Unix) "fa-hourglass" "fa-calendar-alt" }}"></i> {{ .Date.Format "Jan 2, 2006" }} </a> </div> {{ end }} |