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

github.com/kimcc/hugo-theme-noteworthy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/taxonomy.html')
-rw-r--r--layouts/_default/taxonomy.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index 764de44..c86d136 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -11,9 +11,10 @@
</a>
</h2>
<div>
- <p>
- {{ .Summary }}
- </p>
+ <p>{{ .Summary }}</p>
+ {{ if (and (.Site.Params.showReadMore) (.Truncated)) }}
+ <p><a href="{{ .RelPermalink }}">Read more...</a></p>
+ {{ end }}
</div>
<div class="post-footer">
<time>{{ .Date.Format "January 2, 2006" }}</time>