From 99ae3b1a481268f21d1d2d5793e783f366d1a2e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=B8=E9=B9=BF/Zhilu?= Date: Tue, 13 Aug 2024 16:22:22 +0800 Subject: [PATCH] fix: link path in nav_tabs_blog.ejs (#508) --- layout/_partial/main/navbar/nav_tabs_blog.ejs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/layout/_partial/main/navbar/nav_tabs_blog.ejs b/layout/_partial/main/navbar/nav_tabs_blog.ejs index e5c5a94..896482c 100644 --- a/layout/_partial/main/navbar/nav_tabs_blog.ejs +++ b/layout/_partial/main/navbar/nav_tabs_blog.ejs @@ -11,37 +11,37 @@ function layoutDiv() { if (site.categories && site.categories.length > 0) { if (page.category) { - el += '' + __("btn.category") + __("symbol.colon") + page.category + ''; + el += '' + __("btn.category") + __("symbol.colon") + page.category + ''; } else if (page.layout == "categories") { - el += '' + __("btn.categories") + ''; + el += '' + __("btn.categories") + ''; } else { - el += '' + __("btn.categories") + ''; + el += '' + __("btn.categories") + ''; } } if (site.tags && site.tags.length > 0) { if (page.tag) { - el += '' + __("btn.tag") + __("symbol.colon") + page.tag + ''; + el += '' + __("btn.tag") + __("symbol.colon") + page.tag + ''; } else if (page.layout == "tags") { - el += '' + __("btn.tags") + ''; + el += '' + __("btn.tags") + ''; } else { - el += '' + __("btn.tags") + ''; + el += '' + __("btn.tags") + ''; } } if (theme.topic?.publish_list?.length > 0) { if (page.layout == 'index_topic') { - el += '' + __("btn.topic") + ''; + el += '' + __("btn.topic") + ''; } else { - el += '' + __("btn.topic") + ''; + el += '' + __("btn.topic") + ''; } } if (site.posts && site.posts.length > 0) { if (is_archive()) { - el += '' + __("btn.archives") + ''; + el += '' + __("btn.archives") + ''; } else { - el += '' + __("btn.archives") + ''; + el += '' + __("btn.archives") + ''; } }