commit e8c129eee9ff487468bf41ab8dfd226931d7f7a3
parent 943bdf0a33546486f69f41da8c55a912578eeb2e
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Sun, 30 Aug 2020 14:33:14 +0200
Minor details
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/assets/css/style.scss b/assets/css/style.scss
@@ -297,7 +297,7 @@ article {
margin-bottom: 0.5rem;
}
p,
- ul,
+ :not(li) > ul,
ol {
margin-bottom: var(--content-gap);
}
diff --git a/layouts/partials/read-time.html b/layouts/partials/read-time.html
@@ -1,2 +1,2 @@
{{ $readTime := math.Round (div (countwords .Content) 140.0) -}}
-{{ if le $readTime 1.0 }}1 minute{{ else }}{{ $readTime }} minutes{{ end }}
+{{ if le $readTime 1.0 }}1 minute{{ else }}{{ $readTime }} minutes{{ end -}}