You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My content folder has
refs
andposts
, and inparams.toml
I addedmainSections = ["posts", "refs"]
andhomepage.showRecent = true
.Some of the most recent articles aren't displaying.
I looked into
recent-articles.html
and changed this line:{{ range first .Site.Params.homepage.recentLimit (.Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) .Site.Params.homepage.recentLimit).Pages }}
to this:
{{ range first .Site.Params.homepage.recentLimit (.Paginate .Site.RegularPages .Site.Params.homepage.recentLimit).Pages }}
and the newer articles are displaying.
I can't tell what
"Type" "in" .Site.Params.mainSections
is doing, or how to update the frontmatter of those articles correctly (if necessary).Original:
With modification:
Any suggestions @jpanther or other Congo users?
Beta Was this translation helpful? Give feedback.
All reactions