diff options
author | Luke Hong <luke0724@hotmail.com> | 2022-07-25 20:22:48 +0300 |
---|---|---|
committer | Luke Hong <luke0724@hotmail.com> | 2022-07-27 11:24:53 +0300 |
commit | e1d52af448aba8d8f6b5ed6c7f47085740487d7e (patch) | |
tree | 9ccaf155edde1a3e4599cb884574112a1af90aa3 /exampleSite | |
parent | 6d90564fef2c4d6783b1e7bfbf2105f81301760e (diff) |
Add pinning featured posts option
Signed-off-by: Luke Hong <luke0724@hotmail.com>
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config/_default/params.toml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 2ba2b67..8e02001 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -105,12 +105,18 @@ languageMenuName = "🌐" # utterancesTheme = "github-light" # Default: github-dark # utterancesIssueTerm = "pathname" # Default: pathname -# Maximum number of recent posts. +# Maximum number of recent posts. (default: 8) # numberOfRecentPosts = 8 -# Maximum number of featured posts. +# Maximum number of featured posts. (default: 8) # numberOfFeaturedPosts = 8 +# Pin featured posts in list. +# pinFeatured = true + +# Maximum number of pinned featured posts. (default: 8) +# numberOfPinnedPosts = 8 + # Date format. Checkout https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference for details. # dateFormat = "2006-01-02" # Default to "Jan 2, 2006". # customFonts = false # toggle to true if you want to use custom fonts only. |