Skip to content

Commit 2f3263d

Browse files
authored
Merge pull request #86 from OpenSourceWin/copilot/fix-ranking-page-data
Fix ranking page template selection to display data correctly
2 parents d1c498a + 7012f27 commit 2f3263d

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)