aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/home.html10
-rw-r--r--layouts/partials/list.html2
2 files changed, 7 insertions, 5 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 }}
diff --git a/layouts/partials/list.html b/layouts/partials/list.html
index 329d47b..cd62507 100644
--- a/layouts/partials/list.html
+++ b/layouts/partials/list.html
@@ -1,6 +1,6 @@
<article>
<header>
- <div class="row between-sm">
+ <div class="row between-xs">
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
{{ if .Date }}
<span>