diff --git a/assets/scss/_post.scss b/assets/scss/_post.scss index b3b5442..aa21c1e 100644 --- a/assets/scss/_post.scss +++ b/assets/scss/_post.scss @@ -5,13 +5,16 @@ /////////////////// .post-header { - margin: 1rem 0 .5rem 0; - h1 { margin: 0; } } +.post-image { + width: 100%; + border-radius: .2rem; +} + .post-info { font-size: $font-size-small; color: $snow-storm-light-grey; diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d76ef74..6e85bac 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,12 +1,17 @@ {{ define "main" }}
+ {{ if .Params.postimage -}} + {{ .Params.postimagedescription }} + {{ end }}

{{ .Title }}

{{- partial "post-info.html" . -}}
-
- {{ .Content }} -
+
+ {{ .Content }} +
{{ end }}