darshanbaral / aafu

Portfolio theme with blog
https://themes.gohugo.io/aafu/
MIT License
50 stars 58 forks source link

Don't show header if single page #29

Closed gfairchild closed 9 months ago

gfairchild commented 1 year ago

I don't use the blog feature. I prefer just a simple landing page, so I have singlePage = true in my config. However, I still see the header at the top with the link to the blog. Probably the most straightforward way to fix this is by adding a simple {{ if not .Site.Params.theme.singlepage }} check to this block. In fact, this is what I did for my website, and it worked just fine.