From ec0bc45e5d7824b5a04daf7f34c221cc66d8eff9 Mon Sep 17 00:00:00 2001
From: Xiang Li <78754416+xiangli2pro@users.noreply.github.com>
Date: Sun, 21 Mar 2021 10:47:33 +0000
Subject: [PATCH] Added readmore links in index.html (#160)

---
 README.md |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md
index 061987a..a10b27a 100644
--- a/README.md
+++ b/README.md
@@ -150,6 +150,13 @@
 listDateFormat = "Jan 2"
 ```
 
+### Read-more Links
+You can enable read-more links for truncated posts by setting the `readMore = true`. The length of the preview is controlled by Hugo's `summarylength`. Read-more links are disabled by default.
+```toml
+[params]
+  readMore = true
+```
+
 ### Have a static page as a home page
 If you prefer having a static page as your home page rather than a listing of the latest posts, then make sure you leave the `mainSections` parameter blank:
 ```toml

--
Gitblit v1.10.0