diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 278d8e0..4ca061d 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -67,6 +67,10 @@ a:visited, a:hover { max-width: 820px; margin: auto; padding: 4px; + + img { + width: 100%; + } } .center-text { diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d02df25..d496035 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,7 +7,7 @@ {{ range (.GetTerms "tags") }} {{ .LinkTitle }} {{ end}} - {{ partial "responsive-image.html" (dict "context" .Params.featured "class" "shadow large-image") }} + {{ partial "responsive-image.html" (dict "context" . "class" "shadow large-image") }} {{ if .Params.toc }} diff --git a/layouts/authors/list.html b/layouts/authors/list.html index 7a9d4fd..200f981 100644 --- a/layouts/authors/list.html +++ b/layouts/authors/list.html @@ -8,7 +8,9 @@ | {{ .Params.email}}
- + {{ with .Resources.GetMatch "avatar" }} + + {{ end }} {{ end }} {{ .Content }} diff --git a/layouts/games/list.html b/layouts/games/list.html index cf3cbbc..013fc29 100644 --- a/layouts/games/list.html +++ b/layouts/games/list.html @@ -3,14 +3,14 @@