diff options
-rw-r--r-- | layouts/partials/home/download.html | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/layouts/partials/home/download.html b/layouts/partials/home/download.html index 293d306..c1e24dd 100644 --- a/layouts/partials/home/download.html +++ b/layouts/partials/home/download.html @@ -1,27 +1,14 @@ -<div class="row section topspace"> - <div class="panel panel-cta"> - <div class="panel-body"> - <div class="col-lg-8"> - <p>A simple, nice-looking <b>call to action box</b>. Boxing is about respect. getting it for yourself, - and taking it away from the other guy. no, this is mount everest. </p> - </div> - <div class="col-lg-4 text-right"> - <a href="http://www.gettemplate.com/downloads/initio.zip " class="btn btn-primary btn-lg">Download original template</a> - </div> - </div> - </div> -</div> <!-- /section --> - -<div class="row section topspace"> - <div class="panel panel-cta"> - <div class="panel-body"> - <div class="col-lg-8"> - <p>A simple, nice-looking <b>call to action box</b>. Boxing is about respect. getting it for yourself, - and taking it away from the other guy. no, this is mount everest. </p> - </div> - <div class="col-lg-4 text-right"> - <a href="https://github.com/miguelsimoni/hugo-initio/archive/master.zip " class="btn btn-primary btn-lg">Download HUGO template</a> +{{ range where .Data.Pages "Section" .Section }} + <div class="row section topspace"> + <div class="panel panel-cta"> + <div class="panel-body"> + <div class="col-lg-8"> + {{ .Content }} + </div> + <div class="col-lg-4 text-right"> + <a href={{ .Params.file }} class="btn btn-primary btn-lg">{{ .Title }}</a> + </div> </div> </div> - </div> -</div> <!-- /section --> + </div> <!-- /section --> +{{ end }} |