Extract website theme into its own repository
This commit is contained in:
11
layouts/index.html
Normal file
11
layouts/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
Recent posts:
|
||||
<ul class="post-list">
|
||||
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
|
||||
{{ partial "post.html" . }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user