Skip to content

Commit

Permalink
css and category_view fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
AliYmn committed Feb 6, 2017
1 parent 2c44f10 commit 44a8f34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion blog/views.py
Expand Up @@ -75,7 +75,7 @@ def get_context_data(self, **kwargs):
context = super(CategoryView, self).get_context_data(**kwargs)
context['last_content'] = Post.objects.all().filter(is_active=True).order_by('-time')
context['category'] = Category.objects.all()
context['category_post'] = Category.objects.all().filter(title=self.kwargs['slug'])
context['category_post'] = Category.objects.all().filter(url=self.kwargs['slug'])
return context

class RobotsView(TemplateView):
Expand Down
12 changes: 7 additions & 5 deletions templates/base.html
Expand Up @@ -30,6 +30,13 @@
<meta property="og:image:height" content="382"/>
<meta name="google-site-verification" content="ScBKej02EmTeuW5C8gtIm936Oif5P5lYR7yE5iEsPuc" />
<!-- SEO -->

<!-- Bootstrap CSS -->
<link href="{% static 'css/bootstrap.css' %}" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="{% static 'css/main.css' %}" rel="stylesheet">
<link href="{% static 'css/font-awesome.css' %}" rel="stylesheet">

</head>
<body>
<!-- Static navbar -->
Expand Down Expand Up @@ -96,11 +103,6 @@ <h4>Sosyal Medya Hesaplarım</h4>

</div>
</div>
<!-- Bootstrap CSS -->
<link href="{% static 'css/bootstrap.css' %}" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="{% static 'css/main.css' %}" rel="stylesheet">
<link href="{% static 'css/font-awesome.css' %}" rel="stylesheet">
<script src="{% static 'js/jquery.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
{% block footer %}{% endblock %}
Expand Down

0 comments on commit 44a8f34

Please sign in to comment.