wangchucheng / hugo-eureka

Eureka is a feature-rich and highly customizable Hugo theme.
https://www.wangchucheng.com/en/docs/hugo-eureka/
Apache License 2.0
927 stars 193 forks source link

Heading level 2 not working #27

Closed natasak closed 3 years ago

natasak commented 3 years ago

Could you please check why Heading 2 is not working? Thank you.

In _index.md I have:

+++
title = ...
description = ...
date = ...
series = ...
categories = ...
draft = false
collapsible = true
+++

...

## Header 2
....

Preview works, but the commit fails with pipeline error:

Error: Error building site: failed to render pages: render of "section" failed: execute of template failed: template: products/list.html:2:3: executing "main" at <partial "doc_layout.html" .>: error calling partial: "/builds/.../layouts/partials/doc_layout.html:44:23": execute of template failed: template: partials/doc_layout.html:44:23: executing "partials/doc_layout.html" at <partial "doc_toc.html" .>: error calling partial: partial "doc_toc.html" not found

wangchucheng commented 3 years ago

What is your Eureka version? And sharing a repo which can show this problem may be helpful.


发件人: Natasa notifications@github.com 发送时间: Tuesday, January 5, 2021 3:18:48 AM 收件人: wangchucheng/hugo-eureka hugo-eureka@noreply.github.com 抄送: Subscribed subscribed@noreply.github.com 主题: [wangchucheng/hugo-eureka] Heading level 2 not working (#27)

In _index.md I have:

+++ title = ... description = ... date = ... series = ... categories = ... draft = false collapsible = true +++

...

Header 2

....

Preview works, but the commit fails with pipeline error:

Error: Error building site: failed to render pages: render of "section" failed: execute of template failed: template: products/list.html:2:3: executing "main" at <partial "doc_layout.html" .>: error calling partial: "/builds/.../layouts/partials/doc_layout.html:44:23": execute of template failed: template: partials/doc_layout.html:44:23: executing "partials/doc_layout.html" at <partial "doc_toc.html" .>: error calling partial: partial "doc_toc.html" not found

― You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/wangchucheng/hugo-eureka/issues/27, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJEXGNBTUJJ2IPGHYFAVDC3SYIIBRANCNFSM4VTOA7RQ.

natasak commented 3 years ago

Hi, it was really a problem with not updated Eureka version. I've updated to the latest master and now it works. Thanks!