aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/home.html10
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 }}