home page: add home page with the latest posts and photos
screenshots: update screenshot with new home page
This commit is contained in:
parent
49427a6f50
commit
512902121b
7 changed files with 91 additions and 21 deletions
|
@ -3,12 +3,16 @@
|
|||
<br/>
|
||||
{{ .Content }}
|
||||
|
||||
<div class="posts-list">
|
||||
{{ range sort .Data.Pages "Date" "desc" }}
|
||||
{{ if not .Params.private }}
|
||||
<div class="post-list-date">{{ .PublishDate.Format "Jan. 2, 2006" }}</div>
|
||||
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
|
||||
{{ .Summary }}
|
||||
<div class="post">
|
||||
<div class="date">{{ .PublishDate.Format "Jan. 2, 2006" }}</div>
|
||||
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
|
||||
{{ .Summary }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue