I’m getting pretty frustrated, but nothing is working for me as per the documentation.
I’ve created a new Hugo site and installed the Docsy theme as a submodule at themes/docsy. I have a home page, at content/index.html, and I’m just trying to render a partial. Here is my index.html file:
---
title: Home
---
{{ partial "platform.html" . }}
Here is the contents of layouts/partials/platforms.html:
<p>Platform?</p>
It doesn’t work. The literal string just gets printed to the browser instead of the contents of the partial file.
If fact, it seems as if nothing dynamic is working as per the Hugo docs. The same for things like ranges. Any time I try and do something with curly brackets, it just gets printed as-is instead of being parsed by Hugo.
What am I doing wrong?