Skip to content

Commit ee3b829

Browse files
committed
add 2 new categories
1 parent f8742a1 commit ee3b829

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

app/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
('video', 'video'),
88
('course', 'course'),
99
('docs', 'docs'),
10+
('book', 'book'),
11+
('cheatsheet', 'cheatsheet'),
1012
)
1113

1214

app/templates/contribute.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ <h2 class="title is-3"><i>{{ error }}</i></h2>
5050
<option value ="article">Article</option>
5151
<option value ="course">Course</option>
5252
<option value ="docs">Docs</option>
53+
<option value ="book">Books</option>
54+
<option value ="cheatsheet">Cheatsheet</option>
5355
</select>
5456
</div>
5557
</div>

app/templates/home.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ <h1 class="title" align="center">Search Tutorials</h1>
9797
<option value ="article">Articles</option>
9898
<option value ="course">Courses</option>
9999
<option value ="docs">Docs</option>
100+
<option value ="book">Books</option>
101+
<option value ="cheatsheet">Cheatsheet</option>
100102
</select>
101103
</div>
102104
</div>

0 commit comments

Comments
 (0)