From d680e98905f512a1245a738aef554d7770216bac Mon Sep 17 00:00:00 2001 From: Vivek R Date: Fri, 14 Feb 2020 20:38:38 +0530 Subject: chore: add doc for summary length config --- README.md | 3 +++ exampleSite/config.toml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index dddbbec..b19d340 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,9 @@ disqusShortname = "localhost" # Number of posts to show in recent posts list (Optional). Defaults to 10. paginate = 10 +# Number of characters to show in summary. +summaryLength = 20 + [params] # Blog subtitle which appears below blog title. Supports markdown. subtitle = "Clean and minimal personal [blog theme for Hugo](https://github.com/vividvilla/ezhil)" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 1320964..cf4141e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -13,6 +13,8 @@ pygmentscodefencesguesssyntax = true googleAnalytics = "UA-123-45" disqusShortname = "ezhil-demo" +summaryLength = 20 + [params] subtitle = "Clean and minimal personal [blog theme for Hugo](https://github.com/vividvilla/ezhil)" disableDisqusTypes = ["page"] -- cgit v1.2.3