From 9f28814f10caa2106a8b35b5fcd1fd10efa3bde4 Mon Sep 17 00:00:00 2001 From: Sun Haoran Date: Tue, 3 Dec 2019 18:35:01 +0800 Subject: [PATCH] feat($theme-default): external links in prev/next (close #1962)(#1984) --- .../@vuepress/theme-default/components/PageNav.vue | 7 +++++-- packages/docs/docs/guide/frontmatter.md | 14 ++++++++++++++ packages/docs/docs/zh/guide/frontmatter.md | 14 ++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/packages/@vuepress/theme-default/components/PageNav.vue b/packages/@vuepress/theme-default/components/PageNav.vue index c6597131ba..94d7e283be 100644 --- a/packages/@vuepress/theme-default/components/PageNav.vue +++ b/packages/@vuepress/theme-default/components/PageNav.vue @@ -3,11 +3,13 @@

← - {{ prev.title || prev.path }} + + {{ prev.title || prev.path }} - {{ next.title || next.path }} + {{ next.title || next.path }} + {{ next.title || next.path }}

@@ -98,6 +100,7 @@ function flatten (items, res) { } } +