- {% if link.get('img') is not none %}
-
-

-
- {% endif %}
-
{{ link.title }}
-
{{ link.description }}
+ {% for category in links %}
+
+
{{category}}
+ {% for link in links.get(category) %}
+
+ {% if link.get('img') is not none %}
+
+

+
+ {% endif %}
+
{{ link.title }}
+
{{ link.description }}
+
+ {% endfor %}
{% endfor %}
diff --git a/src/static/style/mobile.css b/src/static/style/mobile.css
index 670050d..734e339 100755
--- a/src/static/style/mobile.css
+++ b/src/static/style/mobile.css
@@ -290,15 +290,20 @@ pre{
.link {
border-top: 1px solid #e5e5e5;
+ clear: both;
}
.link>img {
float: left;
padding-right: 20px;
- max-width: 100px;
+ width: 100px;
}
.link>a>h3 {
padding-top: 10px;
margin: 0
+}
+
+.category {
+ padding-top: 10px;
}
\ No newline at end of file