在 Pelican 中,如何在主页上显示完整的最新 article/post?

In Pelican, how do I display the full latest article/post on the home page?

我使用的是 Pelican 4.2.0,我希望总是在 'home' 页面上显示我最新博客 post 的全文,然后将其他 post 列在单独的 'Articles' 页面上。这是设置、模板配置还是...?

完整内容与摘要显示行为完全在主题模板中管理。例如,Pelican 包含的默认 notmyidea 主题有一个 index.html template that shows the most recent full-content article at the top, followed by summaries of previous articles below. The relevant line that displays the full article content 包含以下模板变量:

{{ article.content }}

... 而 line that shows article summaries 而是使用以下模板变量:

{{ article.summary }}