Paper Mod Profile Show How to Navbar on Profile Mode

Profile mode without navbar Even with some pages created, my profile mode was not showing my pages at any place I was strugling to change this, so I started to dive into the papermod internal code. I figured out that we can siimply change the config adding the main section The variable papermod tries to find to show the navbar is site.Params.mainSections so, go to your hugo.yaml, anf add that: ...

March 26, 2025 · 1 min · 70 words · Me

Adding a Pages Section in PaperMod Profile Mode

Introduction PaperMod is a popular Hugo theme known for its clean design and flexibility. When using profileMode, the default setup does not display a list of pages. If you want to add a section that lists your pages (e.g., About, Contact, Projects), follow this guide. Enabling Profile Mode Ensure that profileMode is enabled in your site’s configuration file (config.yaml or config.toml): [params.profileMode] enabled = true title = "Your Name" # Customize your title subtitle = "Your tagline or description" imageUrl = "images/profile.jpg" buttons = [ { name = "Blog", url = "/posts/" }, { name = "Projects", url = "/projects/" } ] Creating a Pages Section To display a list of pages below your profile, modify layouts/partials/profile.html. Add the following snippet after the existing profile block: ...

March 26, 2025 · 2 min