From 8b8305f92a567b342b24f4163186257e906a15f5 Mon Sep 17 00:00:00 2001 From: Luffy <52o@qq52o.cn> Date: Tue, 21 Jan 2025 14:08:17 +0800 Subject: [PATCH] Fix OSGraph link (#78) --- themes/OpenSouceWin/layout/_partial/detail.ejs | 2 +- themes/OpenSouceWin/layout/_partial/osgraph.ejs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/OpenSouceWin/layout/_partial/detail.ejs b/themes/OpenSouceWin/layout/_partial/detail.ejs index bf24e36b..79936839 100644 --- a/themes/OpenSouceWin/layout/_partial/detail.ejs +++ b/themes/OpenSouceWin/layout/_partial/detail.ejs @@ -42,7 +42,7 @@
<%- item.content %> - <%- partial('osgraph', {github_id: item.github_id}) %> + <%- partial('osgraph', {slug: item.slug}) %>
diff --git a/themes/OpenSouceWin/layout/_partial/osgraph.ejs b/themes/OpenSouceWin/layout/_partial/osgraph.ejs index f25b3490..4da1e85c 100644 --- a/themes/OpenSouceWin/layout/_partial/osgraph.ejs +++ b/themes/OpenSouceWin/layout/_partial/osgraph.ejs @@ -1,10 +1,10 @@ -<% if (github_id) { %> +<% if (slug) { %>

开发活动

- +

开源伙伴

- +

开源兴趣

- + <% } %> \ No newline at end of file