diff options
Diffstat (limited to 'layouts/_default/home.html')
-rw-r--r-- | layouts/_default/home.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 99524d3..b160025 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -11,12 +11,14 @@ <header> <div class="row between-xs"> <span class="p-name"> {{ .Title }} </span> - <a href="/posts/index.xml">{{ partial "icon.html" "rss" }}</a> + <a href="/feed">{{ partial "icon.html" "rss" }}</a> </div> </header> - <div class="e-content"> - {{ .Content }} - </div> + {{ if .Params.Image }} + <img src="{{.Params.Image}}" /> + {{ end }} + <div class="p-summary">{{ .Summary }}</div> + <div class="e-content">{{ .Content }}</div> </article> {{ $pages := where site.RegularPages "Type" "posts" }} {{ $paginator := .Paginate $pages 7 }} |