Skip to content

[BUG] Some problem when getting started. #987

@WeepingDogel

Description

@WeepingDogel

Describe the bug

Missing a template when starting hugo server.

Error: html/template:_markup/render-codeblock-mermaid.html:6:17: no such template "_default/_markup/render-codeblock.html"

Expected behavior

Solution or assistance.

Screenshots

Image

Build Environment 构建环境

  • OS: Windows 11
  • Theme version/commit 0.3.0
  • Hugo version v0.148.1

Preview Environment 预览环境

  • OS: Windows 11
  • Browser type/version Chrome 138.0.7204.158

Additional Information

Configuration files

hugo.toml

baseURL = "http://example.org/"



# Change the default theme to be use when building the site with Hugo

theme = "LoveIt"



# website title

title = "My New Hugo Site"



# language code ["en", "zh-CN", "fr", "pl", ...]

languageCode = "en"

# language name ["English", "简体中文", "Français", "Polski", ...]

languageName = "English"



# Menu config

[menu]

  [[menu.main]]

    weight = 1

    identifier = "posts"

    # you can add extra information before the name (HTML format is supported), such as icons

    pre = ""

    # you can add extra information after the name (HTML format is supported), such as icons

    post = ""

    name = "Posts"

    url = "/posts/"

    # title will be shown when you hover on this menu link

    title = ""

  [[menu.main]]

    weight = 2

    identifier = "tags"

    pre = ""

    post = ""

    name = "Tags"

    url = "/tags/"

    title = ""

  [[menu.main]]

    weight = 3

    identifier = "categories"

    pre = ""

    post = ""

    name = "Categories"

    url = "/categories/"

    title = ""



# Markup related configuration in Hugo

[markup]

  # Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)

  [markup.highlight]

    # false is a necessary configuration (https://github.com/dillonzq/LoveIt/issues/158)

    noClasses = false

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions