diff options
-rw-r--r-- | layouts/index.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index 69bf2b6..6cd7fd6 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -16,9 +16,13 @@ {{ partial "post/title.html" . -}} {{- .Scratch.Delete "class_name"}} </div> - {{- if .Summary }} + {{- if .Description }} <div class="article-entry text-muted" itemprop="description"> - {{- .Summary -}} + {{- .Description -}} + </div> + {{ else if .Summary }} + <div class="article-entry text-muted" itemprop="description"> + {{ .Summary }} </div> {{- end }} <p class="article-meta"> |