diff options
author | Baron Schwartz <xaprb@users.noreply.github.com> | 2019-01-28 03:58:13 +0300 |
---|---|---|
committer | Baron Schwartz <xaprb@users.noreply.github.com> | 2019-01-28 03:58:13 +0300 |
commit | f3a57457d8f508857f24766af36adb8ee9edb7aa (patch) | |
tree | f6e69bb55c628d3ae02526e36d71fa3b195b87ff | |
parent | 3152c0a37f92ccc6d36ad76143151d2a25f820ed (diff) |
Fix typography bugs, omit needless lines
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/partials/li.html | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index aa95b23..48a3d70 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "title" }}{{ cond (eq .Site.Params.titlecase true) (.Title | title | markdownify) (.Title | markdownify) }}{{ end }} {{ define "main" }} -<article class="center bg-white br-3 pv1 ph4 nested-copy-line-height lh-copy f4 nested-links mw-100 measure-wide"> +<article class="center bg-white br-3 pv1 ph4 lh-copy f5 nested-links mw7"> {{ .Content }} </article> {{ end }} 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 }} |