1
Fork 0

Cleanup single page content

This commit is contained in:
Jake Howard 2017-04-21 13:46:53 +01:00
parent 66b1dcb6c3
commit 5777da3dda
5 changed files with 16 additions and 17 deletions

View file

@ -1,4 +1,4 @@
---
title: about
title: About
---
example about content

View file

@ -1,14 +1,16 @@
{{ partial "page_start.html" . }}
<div id="page-wrapper">
<section id="main" class="container">
<header>
<h2>Generic</h2>
<p>A generic page for every non-generic situation.</p>
</header>
<div class="box">
<span class="image featured"><img src="images/pic01.jpg" alt="" /></span>
{{ .Content }}
</div>
</section>
<header>
<h2>{{ title .Title }}</h2>
{{ if .Params.subtitle }}
<p>{{ .Params.subtitle }}</p>
{{ end }}
</header>
<div class="box">
<span class="image featured"><img src="images/pic01.jpg" alt="" /></span>
{{ .Content }}
</div>
</section>
</div>
{{ partial "page_end.html" . }}

View file

@ -1,13 +1,8 @@
{{ partial "page_start.html" . }}
<div id="page-wrapper">
<!-- Banner -->
<section id="banner">
<h2>Alpha</h2>
<p>Another fine responsive site template freebie by HTML5 UP.</p>
<ul class="actions">
<li><a href="#" class="button special">Sign Up</a></li>
<li><a href="#" class="button">Learn More</a></li>
</ul>
</section>
<!-- Main -->
@ -98,5 +93,4 @@
</form>
</section>
</div>
{{ partial "page_end.html" . }}

View file

@ -1,4 +1,5 @@
{{ partial "footer.html" . }}
{{ partial "footer.html" . }}
</div>
{{ partial "scripts.html" . }}
</body>
</html>

View file

@ -14,3 +14,5 @@
{{ end }}
{{ partial "navbar.html" . }}
<div id="page-wrapper">