diff options
author | Carson Ip <carsonip715@gmail.com> | 2017-02-28 23:04:33 +0300 |
---|---|---|
committer | Carson Ip <carsonip715@gmail.com> | 2017-02-28 23:04:33 +0300 |
commit | 6bc9aebf91d6a3455a19aca99c39cb3fdb4cf91e (patch) | |
tree | 81a920f157442ced3991cf4749659d87d775551e | |
parent | ed684972fa5b7f728b0a4ab7d106e174ace03e27 (diff) |
Fix index spacing and add featured image
-rw-r--r-- | layouts/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html index 81cf403..8e550f2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -36,7 +36,10 @@ {{ end }} </div> <div class="article-entry" itemprop="articleBody"> + <p> + {{ if .Params.featuredImage }}<img src="{{.Params.featuredImage}}"><br>{{ end }} {{ .Summary }} + </p> <p class="article-more-link"> <a href="{{ .RelPermalink }}">Read More</a> </p> |