add theme

This commit is contained in:
Carl Pearson
2017-07-18 17:40:37 -04:00
parent 04a0a49b78
commit c86ae95ea6
105 changed files with 5367 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<!-- Flag for jQuery -->
<span id="homepage" style="display: none"></span>
<!-- Widgets -->
{{ range $index, $page := where .Data.Pages "Type" "home" }}
{{ $params := dict "root" $ "page" $page }}
{{ $widget := printf "widgets/%s.html" ( or $page.Params.widget "custom" ) }}
<section id="{{ $page.File.TranslationBaseName }}" class="home-section">
<div class="container">
{{ partial $widget $params }}
</div>
</section>
{{ end }}
<!-- Page Footer -->
{{ partial "footer_container.html" . }}
{{ partial "footer.html" . }}