Skip to content

Commit

Permalink
Fix OSGraph link (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Jan 21, 2025
1 parent 9de7b47 commit 8b8305f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion themes/OpenSouceWin/layout/_partial/detail.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<div class="contribute mt-4 mt-sm-1">
<%- item.content %>
<%- partial('osgraph', {github_id: item.github_id}) %>
<%- partial('osgraph', {slug: item.slug}) %>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions themes/OpenSouceWin/layout/_partial/osgraph.ejs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<% if (github_id) { %>
<% if (slug) { %>
<h4>开发活动</h4>
<iframe width="100%" height="500" src="https://osgraph.com/result?shareId=4&shareParams=<%= github_id %>,10&isShare=true" title="" frameborder="0"></iframe>
<iframe width="100%" height="500" src="https://osgraph.com/graphs/developer-activity/github/<%= slug %>?user-limit=10" title="" frameborder="0"></iframe>
<h4>开源伙伴</h4>
<iframe width="100%" height="500" src="https://osgraph.com/result?shareId=5&shareParams=<%= github_id %>,10&isShare=true" title="" frameborder="0"></iframe>
<iframe width="100%" height="500" src="https://osgraph.com/graphs/os-partner/github/<%= slug %>?user-limit=10" title="" frameborder="0"></iframe>
<h4>开源兴趣</h4>
<iframe width="100%" height="500" src="https://osgraph.com/result?shareId=6&shareParams=<%= github_id %>,5,3&isShare=true" title="" frameborder="0"></iframe>
<iframe width="100%" height="500" src="https://osgraph.com/graphs/os-interest/github/<%= slug %>?repo-limit=5&topic-limit=3" title="" frameborder="0"></iframe>
<% } %>

0 comments on commit 8b8305f

Please sign in to comment.