diff options
author | Vivek R <vividvilla@gmail.com> | 2020-02-14 18:04:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-14 18:04:43 +0300 |
commit | 38751fe8623c96bc74d80f2db01712c2be93e515 (patch) | |
tree | bd81a25a002dab314519d73323660125bddcc447 | |
parent | 7b9ac34f10bd29ea5fd600b6b61d5b85ee501ee3 (diff) | |
parent | 2dcf88303aa950b5ee78bf723a72401c5c33fa70 (diff) |
Merge pull request #43 from iromeister/patch-1
replace .RawContent with .Summary - looks way better
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html index d7711bc..1c97468 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -19,10 +19,8 @@ <span class="description"> {{ if isset .Params "description" }} {{ .Description }} - {{ else if gt (len .RawContent) 120 }} - {{ slicestr .RawContent 0 120 }}... {{ else }} - {{ .RawContent }} + {{ .Summary }}… {{ end }} </span> </div> |