如何在模板目录中添加 .html 文件并在 Pelican 的输出中解析 .html 文件?

How is it possible to add a .html file in templates directory and parse .html file in output in Pelican?

我正在使用 Pelican 创建静态站点。我想要实现的是创建一个新的 .html 文件,比方说“模板”目录中的“contactus.html”并在“内容”目录中解析它的输出。

非常感谢您。

我@Alex N 所做的是在content/pages 目录中创建一个.md 文件并添加属性“save_us:contact.html”和“template:contactus”。它实际上所做的是在内容根页面中生成一个 contact.html 文件,并从放置在我的模板目录中的“contactus.html”中获取信息。

如有任何其他问题,请告诉我。