Skip to content

Commit 7012f27

Browse files
Copilotsunshineg
andcommitted
Fix ranking page template selection to display data correctly
Co-authored-by: sunshineg <[email protected]>
1 parent f242884 commit 7012f27

File tree

1 file changed

+1
-1
lines changed
  • ossheroes/themes/OpenSouceWin/layout

1 file changed

+1
-1
lines changed

ossheroes/themes/OpenSouceWin/layout/page.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% if (page.path.startsWith('/ranking')) { %>
1+
<% if (page.data_year) { %>
22
<%- partial('_partial/ranking_detail', { item: page }) %>
33
<% } else { %>
44
<%- partial('_partial/detail', { item: page }) %>

0 commit comments

Comments
 (0)