website/themes/scroll/layouts/index.html

38 lines
1.4 KiB
HTML

{{ partial "header.html" . }}
<body class="home-template">
<!-- The big featured header on the homepage, with the site logo and description -->
<header id="site-head" {{ if .Site.Params.cover }}style="background-image: url({{ .Site.Params.cover }})"{{ end }}>
<div class="vertical">
<div id="site-head-content" class="inner">
{{ if .Site.Params.logo }} <a id="blog-logo" href="{{ .Site.BaseURL }}"><img src="{{ .Site.Params.logo }}" alt="Blog Logo" /></a>{{ end }}
<br/>
{{ if .Site.Params.description }}<h2 class="blog-description">{{ .Site.Params.description }}</h2> {{ else }}
<h2 class="blog-description">Power puff girls</h2>
{{ end }}
<a class='btn first' href="https://docs.parallelvirtualcluster.org">Documentation</a>
<a class='btn last' href="https://github.com/parallelvirtualcluster">GitHub</a>
<i id='header-arrow' class="fa fa-angle-down"></i>
</div>
</div>
</header>
<main class="content" role="main">
{{ range .Data.Pages.ByWeight }}
{{ if eq .Type "post" }}
{{ .Render "post"}}
{{ end }}
{{ end }}
</main>
{{ partial "footer.html" .}}
{{ partial "script.html" .}}
<script src="//rum-static.pingdom.net/pa-5ab7d7250b34680007000569.js" async></script>
</body>
</html>