I am new here. Tried jekyll for a few days and then started considering Hugo. So far I like it.
For now, I am trying to replicate something I did before (in Jekyll) but it’s seems I don’t understand how to do it in Hugo.
In Jekyll, I was able to accomplish that using:
{% include {{ filename | prepend:site.baseurl }} %}
where filename points to the html file.
Basically, I want to include (import, insert) a html file from a directory under the partials directory. This table is better included as a file because it is a large table and I have another program that runs and writes out the html file when I need to update the table. This html file is not a template file but rather a fully specified html file (table) that does not need any processing but rather just copying and pasting in my post.md file.
So far, I did:
{{ partial “post/somepath/table.html” .}} inside the markdown but this does not seem to include the table in the post and that particular command bleeds through to my post. I tried added the % symbol but that didn’t work too.
Please post suggestions on how to accomplish this or kindly point me to an answer somewhere elsewhere.
Thanks,
Jay