monkeyWzr / hugo-theme-cactus

Cactus theme for hugo
MIT License
537 stars 338 forks source link

Why isn't my site title on my post pages? #111

Closed david-bakin closed 2 years ago

david-bakin commented 3 years ago

I have a fairly vanilla hugo-theme-cactus setup for my blog. But with this setup, though the main site page (index) has both the site title and site logo, none of the post pages do: they only have the post title (they do have the collapsed menu off to the right).

I'm not really sure what to look at to fix this.

Goal: each post page shows the site title + logo + maybe the description above the post title.

LandonFerg commented 2 years ago

The header is defined as a hugo partial template already, so to include the header in your post pages, simply edit the layouts > posts > single.html file to include the line {{ partial "header.html" . }} somewhere after the main content div.

david-bakin commented 2 years ago

That was it. Thanks!