diff options
Diffstat (limited to 'layouts/partials/li.html')
-rw-r--r-- | layouts/partials/li.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/partials/li.html b/layouts/partials/li.html index 5a202e9..ab87312 100644 --- a/layouts/partials/li.html +++ b/layouts/partials/li.html @@ -5,9 +5,8 @@ <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 pa3 ttu tc bg-black-60"> - <div style="width: 0" class="dn-s dn-m dib-l v-mid h-100"></div> - <i class="dib v-mid child far {{ cond (gt .Date.Unix now.Unix) "fa-hourglass" "fa-calendar-alt" }}"> {{ .Date.Format "Jan 2, 2006" }}</i> + <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> </div> {{ end }} |