diff --git a/assets/scss/_medias.scss b/assets/scss/_medias.scss index 343faab..16be130 100644 --- a/assets/scss/_medias.scss +++ b/assets/scss/_medias.scss @@ -1,3 +1,9 @@ +/////////////////// +// // +// MEDIAS // +// // +/////////////////// + .audio, .stream { border: $dark-polar solid 1px; @@ -71,3 +77,15 @@ figure { } } } + +.post-image { + border: none; + margin-left: 0; + padding-left: 0; + + @include breakpoint(laptop) { + max-width: 97%; + margin-right: 0; + padding-right: 0; + } +} diff --git a/assets/scss/_post.scss b/assets/scss/_post.scss index ae968be..d0fc570 100644 --- a/assets/scss/_post.scss +++ b/assets/scss/_post.scss @@ -10,10 +10,6 @@ } } -.post-image { - width: 97%; -} - .post-info { > ul { diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 854c203..f469733 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -29,7 +29,7 @@ {{ .Title }} {{ .Permalink }} - {{ .PublishDate.Format "2006-01-02" | safeHTML }} + {{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} {{ .Content | html }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b852cd2..3483a52 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,17 +1,30 @@ {{ define "main" }}
- {{ if .Params.postimage -}} - {{ .Params.postimagedescription }} - {{ end }}

{{ .Title }}

+ {{- if ne .Layout "static" }} {{- partial "post-info.html" . -}} {{ end }}
+
+ + {{ if .Params.postimage -}} +
+ {{ .Params.postimagedescription }} +
+ {{ end }} {{ .Content -}}
{{ end -}}