Moving so much stuff around
This commit is contained in:
parent
b1719e8d24
commit
cd10df9d32
13 changed files with 34 additions and 22 deletions
|
|
@ -1,12 +1,10 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
<h3>Latest blog posts</h3>
|
||||
{{ with .GetPage "blog" }}
|
||||
<ul id="posts">
|
||||
{{- range first 5 .Pages }}
|
||||
{{ .Render "li" }}
|
||||
{{- end }}
|
||||
{{ range .Site.RegularPages }}
|
||||
{{ .Render "li" }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
<a href="{{ .Permalink }}">Older</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue