Skip to content

[Bug]: ShowPostNavLinks showing nav-links only for posts in 1st directory(if multiple directories present in /content). #1715

Open
@ShaikAleemAhamed123

Description

@ShaikAleemAhamed123

What happened?

I trued using ShowPostNavLinks parameter in config.toml file.

But it only shows the nav-links in the posts present in 1st sub-directory of /content and not others(if more sub-directories are present)

HUGO_VERSION: hugo v0.145.0-666444f0a52132f9fec9f71cf25b441cc6a4f355+extended linux/amd64 BuildDate=2025-02-26T15:41:25Z VendorInfo=gohugoio
GO_VERSION: 1.23

Steps to reproduce

  1. Create multiple directories in /content/ eg: /content/subjects, /content/exams etc...
  2. enable ShowPostNavLinks in config.yml file
  3. Check all posts for PostNavLinks at the bottom.

Hugo Version

Hugo >= 0.125.7 (Recommended - Minimum version required for PaperMod)

PaperMod Version

PaperMod V8.0

What kind of devices are you seeing the problem on?

Desktop

What browsers are you seeing the problem on?

Chrome

Browser Version

Brave Version 1.77.95 Chromium: 135.0.7049.52 (Official Build) (64-bit)

Relevant log output

No textual logs.. but can only be verified visually.

Repository/Source Code link where this issue can be reproduced

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions