Browse Source

add index class to article.html

Alexander Avery 3 weeks ago
parent
commit
9676f08755
  1. 2
      layouts/partials/article.html

2
layouts/partials/article.html

@ -1,4 +1,4 @@
<article class="float-on-hover"> <article class="index float-on-hover">
<a href=" {{ .Permalink }}"> <a href=" {{ .Permalink }}">
{{- $image := (.Resources.GetMatch "featured").Resize "256x webp q90" }} {{- $image := (.Resources.GetMatch "featured").Resize "256x webp q90" }}
<img src={{ $image.RelPermalink }} alt="{{ .Params.featured.alt }}"> <img src={{ $image.RelPermalink }} alt="{{ .Params.featured.alt }}">

Loading…
Cancel
Save