Browse Source

correctly use slice for classes argument

Alexander Avery 3 weeks ago
parent
commit
bd91ccffe9
  1. 2
      layouts/_default/single.html

2
layouts/_default/single.html

@ -16,7 +16,7 @@
"image" (.Resources.GetMatch "featured") "image" (.Resources.GetMatch "featured")
"alt" .Params.featured.alt "alt" .Params.featured.alt
"sizes" (slice 320 480 600 800) "sizes" (slice 320 480 600 800)
"classes" "shadow featured") }} "classes" (slice "shadow" "featured")) }}
{{ .Content }} {{ .Content }}
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}

Loading…
Cancel
Save