Commit b983c4e2 authored by Simon Daron's avatar Simon Daron
Browse files

MaHome with all living emissions

parent 2faa8f7e
......@@ -154,7 +154,7 @@ class Home(TemplateView):
def get_context_data(self, **kwargs):
context = super(Home, self).get_context_data(**kwargs)
context['emissions'] = Emission.objects.all().order_by('?')[:5]
context['emissions'] = Emission.objects.filter(archived=False).order_by('?')
return context
home = Home.as_view()
......
......@@ -100,7 +100,7 @@ body {
font-family: "RegloNormal";
line-height: normal;
text-align: left;
margin:40px auto;
margin:1.8em auto;
/*padding: 0px 10px;*/
clear: both;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment