aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/hero.html
blob: 5acafdefb5649b1e58abfb01764599f295383dd2 (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 id="hero" class="mw7 center ph2 near-white lh-copy">
    <h1 class="f1 tc title berkshire-swash">{{ .Title }}</h1>
    {{ .Content }}
  </div>
</div>