aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/hero.html
blob: 1926f04478d27baaf40083122bba0ebe06136955 (plain)
1
2
3
4
5
6
7
8
9
10
11
<div
  style="background: linear-gradient( rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15) ){{ with resources.Get (index .Params.images 0) }}
    , url('{{ .RelPermalink }}')
  {{ end }}; background-position: center;"
  class="pv5"
>
  <div class="mw7 center ph2 near-white">
    <h1 class="f1 tc title berkshire-swash">{{ .Title }}</h1>
    {{ .Content }}
  </div>
</div>