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

github.com/wayjam/hugo-theme-mixedpaper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayJam So <imsuwj@gmail.com>2020-05-10 11:31:39 +0300
committerWayJam So <imsuwj@gmail.com>2020-05-10 11:31:39 +0300
commit9579d503bf75ba1fc5b08f0326236137b289c3c5 (patch)
tree0fd47c2ef73fdc33d6a211b33cf081e0f003f976 /layouts
parent123118da50d662b9d9dcdbad231df72ccbdc08c0 (diff)
fix: summary length
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 31a951a..742c6bc 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -10,6 +10,9 @@
</h3>
<div class="post_content summary">
{{ .Summary }}
+ {{ if .Truncated }}
+ <span class="hellip">&hellip;</span>
+ {{ end }}
</div>
</article>
{{ end }}