| <!-- |
| Copyright (c) 2018 Eclipse Foundation, Inc. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License v. 2.0 which is available at |
| http://www.eclipse.org/legal/epl-2.0. |
| |
| Contributors: |
| Christopher Guindon <chris.guindon@eclipse-foundation.org> |
| |
| SPDX-License-Identifier: EPL-2.0 |
| --> |
| {{ if isset .Page.Params "headline" }} |
| <div class="jumbotron featured-jumbotron margin-bottom-0"> |
| <div class="container"> |
| <div class="row"> |
| <div class="col-md-20 col-md-offset-2 col-sm-18 col-sm-offset-3"> |
| <h1>{{ .Page.Params.headline }}</h1> |
| {{ if isset .Page.Params "subtitle" }} |
| <h2>{{ .Page.Params.subtitle }}</h2> |
| {{end}} |
| |
| {{ if isset .Page.Params "tagline" }} |
| <div class="row"> |
| <div class="col-sm-18 col-sm-offset-3"> |
| <p>{{ .Page.Params.tagline }}</p> |
| </div> |
| </div> |
| {{end}} |
| {{ if isset .Page.Params "links" }} |
| <ul class="list-inline"> |
| {{range $key,$val := index .Page.Params.links}} |
| <li><a class="btn btn-primary" href="{{ (index $val 0).href}}">{{ (index $val 1).text}}</a></li> |
| {{end}} |
| </ul> |
| {{end}} |
| </div> |
| </div> |
| </div> |
| </div> |
| {{ end }} |