diff --git a/mhackspace/blog/models.py b/mhackspace/blog/models.py index 6579bf7..f731c28 100644 --- a/mhackspace/blog/models.py +++ b/mhackspace/blog/models.py @@ -45,8 +45,8 @@ class Post(models.Model): "height": 150, "crop": True}, 'full': { - "width": 730, - "height": 410, + "width": 825, + "height": 450, "crop": True}}, validators=[ MinSizeValidator(730, 410)]) diff --git a/mhackspace/static/sass/components/_blog.scss b/mhackspace/static/sass/components/_blog.scss new file mode 100644 index 0000000..dc94af3 --- /dev/null +++ b/mhackspace/static/sass/components/_blog.scss @@ -0,0 +1,7 @@ +.title { + margin-bottom: 0; +} + +.thumbnail { + margin-bottom: 15px; +} diff --git a/mhackspace/static/sass/project.scss b/mhackspace/static/sass/project.scss index 6b9b3ab..6aceb3b 100644 --- a/mhackspace/static/sass/project.scss +++ b/mhackspace/static/sass/project.scss @@ -8,6 +8,8 @@ @import "components/footer"; @import "components/feeds"; +@import "components/blog"; + //////////////////////////////// //Django Toolbar// //////////////////////////////// diff --git a/mhackspace/templates/blog/post_detail.html b/mhackspace/templates/blog/post_detail.html index d9f41ba..c9ddbb5 100644 --- a/mhackspace/templates/blog/post_detail.html +++ b/mhackspace/templates/blog/post_detail.html @@ -4,15 +4,15 @@ {% block content %}
-
+
diff --git a/mhackspace/templates/blog/post_list.html b/mhackspace/templates/blog/post_list.html index afe26df..2d5644c 100644 --- a/mhackspace/templates/blog/post_list.html +++ b/mhackspace/templates/blog/post_list.html @@ -3,22 +3,18 @@ {% block title %}Blog Posts{% endblock %} {% block content %} -
+ {% if view.category %} +

{{ view.category.name }}

+

{{ view.category.description }}

+ {% endif %} {% for post in posts %}
- - + + {{ banner.title }}
diff --git a/mhackspace/templates/blog/sidebar.html b/mhackspace/templates/blog/sidebar.html index 998a5e3..5532054 100644 --- a/mhackspace/templates/blog/sidebar.html +++ b/mhackspace/templates/blog/sidebar.html @@ -6,5 +6,5 @@ {{ category.name }} {% endfor %} - RSS Feed + RSS Feed