File tree Expand file tree Collapse file tree 10 files changed +25
-100
lines changed
content/internships/project-ideas Expand file tree Collapse file tree 10 files changed +25
-100
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- _ model: redirect
2- ---
3- target: /internships/project-ideas/all/
4- ---
5- _ discoverable: no
1+ _ model: project-ideas
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88 < hr />
99 <!-- We display all ideas by default. -->
1010 {% set ideas = site.query('/internships/project-ideas-collection').include_undiscoverable(true) %}
11- {% set filters = site.query('/internships/project-ideas').include_undiscoverable(true).order_by('order') %}
12- {% set current_filter = filters.filter(F._slug == this._slug).first() %}
1311 < div class ="mt-4 ">
1412 < div >
15- {% for filter in filters %}
16- < button type ="button " class ="m-1 btn btn-sm btn-primary filter-btn " data-filter ="{{ filter.filter_label }} ">
17- {{ filter.nav_label }}
18- </ button >
19- {% endfor %}
13+ < button type ="button " class ="m-1 btn btn-sm btn-dark filter-btn " data-filter ="all ">
14+ All Projects
15+ </ button >
16+ < button type ="button " class ="m-1 btn btn-sm btn-primary filter-btn " data-filter ="difficulty-easy ">
17+ Difficulty: Easy
18+ </ button >
19+ < button type ="button " class ="m-1 btn btn-sm btn-primary filter-btn " data-filter ="difficulty-medium ">
20+ Difficulty: Medium
21+ </ button >
22+ < button type ="button " class ="m-1 btn btn-sm btn-primary filter-btn " data-filter ="difficulty-hard ">
23+ Difficulty: Hard
24+ </ button >
25+ < button type ="button " class ="m-1 btn btn-sm btn-primary filter-btn " data-filter ="skill-javascript ">
26+ Skill: JavaScript
27+ </ button >
28+ < button type ="button " class ="m-1 btn btn-sm btn-primary filter-btn " data-filter ="skill-python ">
29+ Skill: Python
30+ </ button >
31+ < button type ="button " class ="m-1 btn btn-sm btn-primary filter-btn " data-filter ="skill-wordpress ">
32+ Skill: WordPress
33+ </ button >
34+ < button type ="button " class ="m-1 btn btn-sm btn-primary filter-btn " data-filter ="skill-writing ">
35+ Skill: Writing
36+ </ button >
2037 < ul class ="list-unstyled m-3 ">
2138 {% for idea in ideas %}
2239 < li class ="my-2 filter filter-label {{ idea.filter_value }} "> < a href ="#{{ idea._slug }} "> {{ idea.title }}</ a > </ li >
You can’t perform that action at this time.
0 commit comments