Add index.html

This commit is contained in:
Philipp Oppermann
2016-02-14 15:31:46 +01:00
parent 840ed0097a
commit 6be428b248

21
layouts/index.html Normal file
View File

@@ -0,0 +1,21 @@
{{ 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 .Site.Pages }}
<strong><a href="{{ .RelPermalink }}">{{ .Title }}</a></strong>
{{ end }}
</p></div>
<div class="posts">
{{ range .Site.Pages }}
{{ .Render "teaser" }}
{{ end }}
</div>
{{ partial "footer.html" . }}