Sections, pages have stopped rendering

I’ve made many hugo sites, and am using a theme and structure I have used many times. I’m developing a site locally and it suddenly stopped rendering the sections and pages. The index page is listed below for just the sections, my method for pages is is similar. Hugo server shows that pages are being rendered but I don’t see them in the /public dir. index.html is below.

| EN | ES

Pages | 16 | 6
Paginator pages | 0 | 0
Non-page files | 0 | 0
Static files | 34 | 34
Processed images | 0 | 0

Aliases | 1 | 0
Cleaned | 0 | 0

The content is standard, i.e.
content
—index.md
—sections
___section1.md
___section2.md
___section3. md
——

{{ partial "head" . }}
<body>
  {{ partial "header" . }}

  <div class="main-content" role="main">


    
   
      {{ range where .Site.Pages "Section" "sections"}}
        {{ $section1 := "section1"}}
        {{ $section2 := "section2"}}
        {{ $section3 := "section3"}}
        {{ if eq .Params.Id $section1 }}
          {{ partial "section" . }}
        {{ end }}
        {{ if eq .Params.Id $section2 }}
          {{ partial "section" . }}
        {{ end }}
        {{ if eq .Params.Id $section3 }}
          {{ partial "section" . }}
        {{ end }}
      {{ end }}
      </div>


  </div> 
  {{ partial "footer" . }}

I deleted content > index.md and undeleted it and the site came back. Weird!

Sections should have _index.md and not index.md.

Interesting, as I have been using index.md, but I’ll switch it. Thanks!

See Page bundles.