Hi, everyone. I’ve got a partial template, about.html, which hugo calls incomplete with the following error: ERROR: 2017/01/05 14:22:43 general.go:236: theme/partials/about.html is an incomplete or empty template
However, the template is entirely identical to another partial template with the exception of the data it calls. So where this one says .Site.Params.about.title, the working one says .Site.Params.beers.title, etc.
For the life of me, I cannot figure out why. Logs generated by verbose log do not give me any more than the error above.
Thanks for your help!
> {{ "<!-- Portfolio Grid Section -->" | safeHTML }}
> <section id="about" class="bg-light-gray">
> <div class="container">
> <div class="row">
> <div class="col-lg-12 text-center">
> <h2 class="section-heading">{{ with .Site.Params.about.title }}{{ . | markdownify }}{{ end }}</h2>
> <h3 class="section-subheading text-muted">{{ with .Site.Params.about.subtitle }}{{ . | markdownify }}{{ end }}</h3>
> </div>
> </div>
> <div class="row">
> {{ range .Site.Data.about }}
> <div class="col-md-4 col-sm-6 portfolio-item">
> <a href="#aboutModal{{ .modalID }}" class="portfolio-link" data-toggle="modal">
> <div class="portfolio-hover">
> <div class="portfolio-hover-content">
> <i class="fa fa-plus fa-3x"></i>
> </div>
> </div>
> {{ $url := printf "img/about/%s" .preview }}
> <img src="{{ $url | absURL }}" class="img-responsive" alt="">
> </a>
> <div class="portfolio-caption">
> <h4>{{ .title | markdownify }}</h4>
> <p class="text-muted">{{ .category | markdownify }}</p>
> </div>
> </div>
> {{ end }}
> </div>
> </div>
> </section>