yequari.com/layouts/index.html

30 lines
737 B
HTML
Raw Normal View History

{{ define "main" }}
<div class="index-wrapper">
<div class="box index-status">
</div>
<div class="box index-content">
{{ .Content }}
</div>
<div class="box index-blog">
<h3>Latest Blog Posts</h3>
<ul>
{{ range first 3 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }}
<li><a class="title u-url p-name" href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
<div class="box index-social">
<h3>Social</h3>
{{- partial "social.html" . -}}
</div>
<div class="box index-banners">
<h3>Check Out These Sites</h3>
<a href="/links">More Links</a>
</div>
<div class="box index-recent">
<h3>What I'm Up To</h3>
<a href="/now">See More</a>
</div>
</div>
{{ end }}