Skip to content

Some themeConfig options are not respected. #629

@MichMich

Description

@MichMich

Bug report

Version

0.10.2

Steps to reproduce

Create a vue press site using the following config.js

module.exports = {
  title: 'My Site',
  description: 'Foo Bar',
  themeConfig: {
    displayAllHeaders: true,
    lastUpdated: true,
    sidebarDepth: 2,
    sidebar: [
      '/',
      '/page-a',
      '/page-b',
    ]
  }

Add secondary headers to the page-a and page-b pages.

What is expected?

  • All the headers should be expanded due to the displayAllHeaders: true setting. This is not the case.
  • Last updated timestamp should be shown at the bottom of the page.

What is actually happening?

  • Only the sub-headers of the active page are displayed.
  • Last updated timestamp is not displayed.

Other relevant information

  • Your OS: macOS 10.13.5
  • Node.js version: v9.0.0
  • Browser version: Chrome Version 67.0.3396.99 (Official Build) (64-bit)
  • Is this a global or local install? Global
  • Which package manager did you use for the install? NPM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions