Variables in HTML content not being interpreted?

I have an HTML file, which is called content/_index.en.html , but the variable blocks don’t appear to be interpreted. My file looks like:

---
date: 2020-06-24T14:51:43-04:00
draft: false
---

    <div class="simple-section" id="partners">
        <div class="container">
            <h2 class="main_title greenbg">{{ i18n "Partners" }}</h2>
            <br />
            <div class="row">
                <div class="col-sm-12"><br /><br />
                {{ partial "sponsors.html" . }}
                </div>
            </div>
        </div>
    </div>

Template code (in curly braces, “{{}}”) isn’t rendered directly from the content of a file; instead use a shortcode. :slight_smile:

Do you have an example, still new to Hugo?

1 Like

I tried the following to no avail:

{{% partial “sponsors.html” . %}}
{{< partial “sponsors.html” . >}}

Share your project and I’ll take a look. :slight_smile: