hugo-theme-hyde-hyde/layouts/index.html
Anthony Fok e1a4df05e8 Use partial call to include partial templates
Replace `template` call with the `partial` call (new in Hugo v0.12)
for including partial templates
2014-09-08 12:13:10 -04:00

26 lines
428 B
HTML

{{ partial "head.html" . }}
<body>
{{ partial "sidebar.html" . }}
<div class="content container">
<div class="posts">
{{ range .Data.Pages }}
<div class="post">
<h1 class="post-title">
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</h1>
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
{{ .Content }}
</div>
{{ end }}
</div>
</div>
</body>
</html>