File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,11 +11,6 @@ label = Name
1111type = string
1212size = large
1313
14- [fields.date]
15- label = Date
16- type = date
17- width = 1/4
18-
1914[fields.type]
2015label = Project type
2116type = string
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ protected = yes
66
77[children]
88model = project
9- order_by = -date, name
9+ order_by = name
Original file line number Diff line number Diff line change 11{% extends "layout.html" %}
2- {% block title %}{{ this.name }} ({{ this.date.year }}) {% endblock %}
2+ {% block title %}{{ this.name }}{% endblock %}
33{% block body %}
44 < h1 > {{ this.name }}</ h1 >
55 < dl >
6- < dt > Date
7- < dd > {{ this.date|dateformat }}
86 {% if this.website %}
97 < dt > Website
108 < dd > < a href ="{{ this.website }} "> {{ this.website.host }}</ a >
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ <h1>Projects</h1>
1010 < img src ="{{ image.thumbnail(320)|url }} " alt ="">
1111 {% endif %}
1212 < h2 > < a href ="{{ project|url }} "> {{ project.name }}</ a >
13- < em > ({{ project.date.year }})</ em > </ h2 >
1413 < p > < strong > {{ project.type }}</ strong > </ p >
1514 </ div >
1615 {% endfor %}
You can’t perform that action at this time.
0 commit comments