diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6a2227a..2f8abcb 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -6,6 +6,9 @@ {{ if .Content }}
+ {{ if .Params.image }} + {{ .Title }} image + {{ end }} {{ .Content }}
{{ end }} diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 927b3e7..67cc855 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -8,14 +8,8 @@ $fa-font-path: "../fonts"; @import "alpha"; -.box { - &:not(.image) { - padding: 2em; - } - - .box { - border-radius: 0; - } +.box .box { + border-radius: 0; } .dropotron { @@ -37,3 +31,7 @@ pre code { background: none; padding: 0; } + +.image.featured { + max-height: 45vh; +}