fix(v2): use frontmatter title at first for paginated links (#4859)

This commit is contained in:
Alexey Pyltsyn 2021-06-02 18:02:48 +03:00 committed by GitHub
parent 08b94580e9
commit 0417ab9532
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View file

@ -286,7 +286,7 @@ describe('simple site', () => {
isDocsHomePage: false,
permalink: '/docs/foo/bazSlug.html',
slug: '/foo/bazSlug.html',
title: 'baz',
title: 'Baz markdown title',
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/docs/foo/baz.md',
description: 'Images',
@ -345,7 +345,7 @@ describe('simple site', () => {
isDocsHomePage: false,
permalink: '/docs/foo/bazSlug.html',
slug: '/foo/bazSlug.html',
title: 'baz',
title: 'Baz markdown title',
editUrl: hardcodedEditUrl,
description: 'Images',
frontMatter: {