From bb28e76551834a70f1889fb7601b49e5abd7e328 Mon Sep 17 00:00:00 2001 From: Vivek R Date: Tue, 10 Sep 2019 00:12:59 +0530 Subject: fix: paginate recent posts and use params.mainSections --- exampleSite/config.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index eeea110..d77f39e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -2,6 +2,7 @@ baseURL = "http://example.org/" languageCode = "en-us" title = "Ezhil" theme = "ezhil" +paginate = 5 pygmentsstyle = "vs" pygmentscodefences = true @@ -11,11 +12,8 @@ googleAnalytics = "UA-123-45" disqusShortname = "localhost" [params] + mainSections = ["posts"] subtitle = "Clean and minimal personal [blog theme for Hugo](https://github.com/vividvilla/ezhil)" - # Number of posts to show in recent posts list. - recentPostsCount = 10 - # Content types which are excluded from recent posts and archive page. - excludedTypes = ["page"] disableDisqusTypes = ["page"] featherIconsCDN = true -- cgit v1.2.3