Skip to content

vitepress集成algolia时,搜索报错,title为空 #4995

@demo-zexuan

Description

@demo-zexuan

Describe the bug

Image 咨询如上问题,vitepress集成algolia时,报错,因为对应的title为null,检查对应的页面配置发现,确实是有声明title的 请问如何解决呢? Image

Reproduction

如上

Expected behavior

如上

System Info

System:
    OS: macOS 26.0.1
    CPU: (10) arm64 Apple M4
    Memory: 229.45 MB / 16.00 GB
    Shell: 3.2.57 - /bin/sh
  Binaries:
    Node: 22.20.0 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 11.6.2 - /usr/local/bin/npm
    pnpm: 10.18.3 - /usr/local/bin/pnpm
  Browsers:
    Chrome: 141.0.7390.108
    Safari: 26.0.1
  npmPackages:
    vitepress: 2.0.0-alpha.12 => 2.0.0-alpha.12

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions