diff options
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/layouts/index.html b/layouts/index.html index ae69809..d5e293f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,16 +7,20 @@ <body class="landing is-preload"> <div id="page-wrapper"> {{- partial "header.html" . -}} + <!-- Banner --> <section id="banner"> - <h2>{{ .Site.Title }}</h2> - {{ with .Site.Params.description }} - <p>{{ . }}</p> - {{ end }} + {{ if .Site.Data.homepage.banner.enable }} + {{ with .Site.Data.homepage.banner }} + <h2>{{ .title }}</h2> + <p>{{ .content }}</p> <ul class="actions special"> - <li><a href="#" class="button primary">Sign Up</a></li> - <li><a href="#" class="button">Learn More</a></li> + {{ range .buttons }} + <li><a href="{{ .link }}" class="button {{ .class }}">{{ .title }}</a></li> + {{ end }} </ul> + {{ end }} + {{ end }} </section> <!-- Main --> |