Skip to content

Commit 16f8738

Browse files
committed
Code organization and style fixes, removed debug code.
1 parent d8cb3ba commit 16f8738

File tree

7 files changed

+9
-16
lines changed

7 files changed

+9
-16
lines changed

assets/static/style.css

-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@
1212
bottom: 0;
1313
height: 7rem; /* Footer height */
1414
}
15-
16-
.project-idea-card {
17-
min-width: 24rem;
18-
}

content/contents.lr

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
_model: page
2+
---
13
title: Home
24
---
35
body:
+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
_model: project-ideas-page
2+
---
13
title: GSoC 2019 Project Ideas
24
---
35
body:
46

57
### GSoC 2019 Project Ideas
6-
7-
---
8-
_model: project-ideas-page

content/project-ideas-page/project-ideas/reimagine-translation-pipeline/contents.lr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
_model: project-idea
2+
---
13
_hidden: yes
24
---
35
title: Reimagine Translation Pipeline
@@ -23,5 +25,3 @@ skills_recommended: Python, JavaScript
2325
mentors: Timid Robot Zehta (technical), Sarah Pearson (legal)
2426
---
2527
difficulty: Medium
26-
---
27-
_model: project-idea

content/project-ideas-page/project-ideas/visualize-cc-catalog/contents.lr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
_model: project-idea
2+
---
13
_hidden: yes
24
---
35
title: Visualize CC Catalog data
@@ -25,5 +27,3 @@ skills_recommended: JavaScript, Python
2527
mentors: Sophine Clachar
2628
---
2729
difficulty: Easy
28-
---
29-
_model: project-idea

models/project-idea.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ label = Mentors
3232
type = string
3333

3434
[fields.difficulty]
35-
label = Mentors
35+
label = Difficulty
3636
type = string

templates/page.html

-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@
22
{% block title %}{{ this.title }}{% endblock %}
33
{% block body %}
44
{{ this.body }}
5-
{% set pages = site.query('/').include_undiscoverable(true).all() %}
6-
{% for page in pages %}
7-
{{ page.title }}
8-
{% endfor %}
95
{% endblock %}

0 commit comments

Comments
 (0)