Files
blog_os/layouts/index.html
2016-04-30 13:32:13 +02:00

30 lines
1.1 KiB
HTML

{{ partial "header.html" . }}
<div class="front-page-introduction"><p>
This blog series creates a small operating system in the
<a href="https://www.rust-lang.org/">Rust programming language</a>. Each post
is a small tutorial and includes all needed code, so you can follow along if
you like. The source code is also available in the corresponding
<a href="https://github.com/phil-opp/blog_os">Github repository</a>.
</p>
<p>Latest post: {{ range first 1 (where .Site.Pages "Section" "post") }}
<strong><a href="{{ .RelPermalink }}">{{ .Title }}</a></strong>
{{ end }}
</p></div>
<div id="bare-bones" class="post-category bare-bones">Bare Bones</div>
<div class="posts bare-bones">
{{ range first 4 (where .Site.Pages.ByDate "Section" "post") }}
{{ .Render "teaser" }}
{{ end }}
</div>
<div id="memory-management" class="post-category memory-management">Memory Management</div>
<div class="posts memory-management">
{{ range first 4 (after 4 (where .Site.Pages.ByDate "Section" "post")) }}
{{ .Render "teaser" }}
{{ end }}
</div>
{{ partial "footer.html" . }}