Extra Generated Output


Sorry if I can’t describe it well.

Does anyone having this problem. Let say I have the following content structure:


For some reason I got the following output


Index.html in blogpage1 contain html redirect script to blog section.

All the section got this sectiontitlepage1.
All the tags got this tagstagtitlepage1

Basically Hugo is generating unnecessary files. Is this Hugo default behavior. Or I mess up my config or something?

Thank you.

Looks related to this mystery issue:

In my case.

I am not using theme. I am styling mine directly in layouts.
There are only default config.toml in my install.


I have read link mention by @bep, it seem to be cause by paginator. Below is the code I used for my paginator.

{{ if ne .Paginator.TotalPages 1 }}
{{ if .Paginator.HasPrev }}

{{ else }}

{{ end }}
Page {{.Paginator.PageNumber}} of {{.Paginator.TotalPages}}
{{ if .Paginator.HasNext }}

{{ else }}

{{ end }}
{{ end }}

The problem only occur in my windows 10 64 bit machine.

When I switch to Linux everything work just fine though.