Skip to content

Disable daily archives? #2

Closed Answered by jmooring
klipspringr asked this question in Q&A
Discussion options

You must be logged in to vote

Upgrade to v0.5.0:

hugo mod get -u github.com/jmooring/[email protected]

Then, in your site configuration, set params.modules.archive.enableDaily to false. For example:

[params.modules.archive]
enableDaily = false   # Whether to enable daily archive pages.
navigation = false    # Whether to display previous and next buttons on archive pages.
paginate = true       # Whether to paginate archive pages.
prefix = '/archive/'  # The URL prefix for archive pages.
section = '/posts/'   # The section for which to build archive pages.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@klipspringr
Comment options

Answer selected by jmooring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants