{{$banner := ""}}
{{if .CurrentColumn}}{{if .CurrentColumn.Ext}}{{$banner = index .CurrentColumn.Ext "banner_img"}}{{end}}{{end}}
<section class="page-hero {{if $banner}}has-image{{end}}">
  {{if $banner}}<img src="{{$banner}}" alt="{{if .CurrentColumn}}{{.CurrentColumn.Name}}{{else}}{{.Title}}{{end}}">{{end}}
  <div class="wrap page-hero-content">
    <nav class="breadcrumb"><a href="/">首页</a><span>/</span><span>{{if .CurrentColumn}}{{.CurrentColumn.Name}}{{else}}{{.Title}}{{end}}</span></nav>
    <p class="eyebrow">{{index .ThemesExt "hero_eyebrow"}}</p>
    <h1>{{if .CurrentColumn}}{{.CurrentColumn.Name}}{{else}}{{.Title}}{{end}}</h1>
    <p>{{if .CurrentColumn}}{{.CurrentColumn.Description}}{{else}}{{.Description}}{{end}}</p>
  </div>
</section>
