Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/carsonip/hugo-theme-minos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarson Ip <carsonip715@gmail.com>2017-02-28 23:04:33 +0300
committerCarson Ip <carsonip715@gmail.com>2017-02-28 23:04:33 +0300
commit6bc9aebf91d6a3455a19aca99c39cb3fdb4cf91e (patch)
tree81a920f157442ced3991cf4749659d87d775551e
parented684972fa5b7f728b0a4ab7d106e174ace03e27 (diff)
Fix index spacing and add featured image
-rw-r--r--layouts/index.html3
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>