Browse Source

responsive images in game pages

master
Alexander Avery 3 years ago
parent
commit
43b6a2c893
  1. 2
      layouts/games/list.html

2
layouts/games/list.html

@ -10,7 +10,7 @@
<div class="break"></div> <div class="break"></div>
<h2 class="small-text">Platforms:</h2> <h2 class="small-text">Platforms:</h2>
<span class="margin small-text">{{ delimit .Params.platforms " · " }}</span> <span class="margin small-text">{{ delimit .Params.platforms " · " }}</span>
<img class="shadow" srcset="{{ .Params.featured.srcset }}" src="{{ .Params.featured.url }}" alt="{{ .Params.featured.alt }}"/> {{ partial "responsive-image.html" (dict "context" .Params.featured "class" "shadow fill-wh") }}
</div> </div>
{{ if .Params.toc }} {{ if .Params.toc }}

Loading…
Cancel
Save