Files
blog_os/layouts/index.html
Philipp Oppermann 7bd6030185 Rename “Interrupts” section to “Exceptions”
There will be some more posts about exceptions, so they get their own section.
2016-06-14 11:51:51 +02:00

47 lines
1.5 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>
<div id="interrupts" class="post-category exceptions">Exceptions</div>
<div class="posts exceptions">
{{ range first 4 (after 8 (where .Site.Pages.ByDate "Section" "post")) }}
{{ .Render "teaser" }}
{{ end }}
</div>
<hr>
<h1>Additional Resources</h1>
<ul>
{{ range (where .Site.Pages.ByDate "Section" "additional-resource") }}
<li>{{ .Render "link" }}
{{ end }}
</ul>
<hr>
{{ partial "footer.html" . }}