Skip to content

Commit

Permalink
revise the order of dojos
Browse files Browse the repository at this point in the history
  • Loading branch information
mudongliang committed May 17, 2024
1 parent e1b61b7 commit cb6cc84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dojo_plugin/pages/dojos.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def listing():
typed_dojos["Start Here"].append(dojo)
elif dojo.type == "tools":
typed_dojos["Tools Learning"].append(dojo)
elif dojo.type == "course":
typed_dojos["Courses"].append(dojo)
elif dojo.type == "elementary":
typed_dojos["Elementary"].append(dojo)
elif dojo.type == "intermediate":
Expand All @@ -55,8 +57,6 @@ def listing():
typed_dojos["Topics"].append(dojo)
elif dojo.type == "archive":
typed_dojos["Archive"].append(dojo)
elif dojo.type == "course":
typed_dojos["Courses"].append(dojo)
elif dojo.type == "hidden":
continue
elif dojo.type == "example" and dojo.official:
Expand Down
2 changes: 1 addition & 1 deletion dojo_theme/templates/dojos.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2>工具篇</h2>
<p>工欲善其事必先利其器。我们提供了多种新手训练家门需要的工具学习课程,例如如何使用神器宝贝图鉴,如何使用神奇宝贝球,如何收服神奇宝贝等。</p>
{% elif type == "Course" %}
<h2>课程</h2>
<p>我们在平台上提供了众多课程,包含软件安全</p>
<p>我们在平台上提供了众多课程,包含软件安全与软件安全实验</p>
{% elif type == "Elementary" %}
<h2>初级篇</h2>
<p>深灰道馆,华蓝道馆构成了 pwn.hust.college 平台初级篇的主要课程内容,完成关卡后你可以获得<a href="{{ url_for("pwncollege_belts.view_belts") }}">徽章</a>奖励。建议按照顺序进行学习,祝你好运!</p>
Expand Down

0 comments on commit cb6cc84

Please sign in to comment.