forked from mau-dvmt/ia-oop-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.json
58 lines (58 loc) · 2.27 KB
/
search.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
---
{
"posts": [
{% for post in site.posts %}
{
"title" : "{{ post.title | escape }}",
"category" : "{{ post.category }}",
"tags" : "{{ post.tags | array_to_sentence_string }}",
"url" : "{{ site.url }}{{ post.url }}",
"date" : "{{ post.date }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
],
"courses": [
{% for course in site.data.courses %}
{
"name": "{{ course.name }}",
"code": "{{ course.code }}",
"credits": "{{ course.credits }}",
"assignments": [
{% for assignment in site.data[course.code].assignments %}
{
"name": "{{ assignment.name }}",
"credits": "{{ assignment.credits }}",
"url": "{{ site.url }}/courses/{{ course.code }}/assignments/{{ assignment.file }}.html"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
],
"exercises": [
{% for exercise in site.data[course.code].exercises %}
{
"name": "{{ exercise.name }}",
"url": "{{ site.url }}/courses/{{ course.code }}/exercises/{{ exercise.file }}.html"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
],
"projects": [
{% for project in site.data[course.code].projects %}
{
"name": "{{ project.name }}",
"credits": "{{ project.credits }}",
"url": "{{ site.url }}/courses/{{ course.code }}/projects/{{ project.file }}.html"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
],
"lectures": [
{% for lecture in site.data[course.code].lectures %}
{
"name": "{{ lecture.name }}",
"url": "{{ site.url }}/courses/{{ course.code }}/lectures/{{ lecture.file }}.html"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]
}