Updated the Sidebar
updated the sidebar on the News page to show new updateswith_posts
parent
28a1d92549
commit
1eac0d0b97
Binary file not shown.
|
|
@ -34,7 +34,7 @@ def news(request):
|
|||
ordering = (ordering,)
|
||||
queryset = queryset.order_by(*ordering)
|
||||
|
||||
return render(request, 'blog/home.html', { context_object_name: queryset, 'topics': ['Django', 'UkraineConflict', 'TechBlog'] })
|
||||
return render(request, 'blog/home.html', { context_object_name: queryset, 'topics': ['No Updates...'] })
|
||||
|
||||
|
||||
class BlogDetailView(DetailView):
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark" style="background-color: #000;">
|
||||
<a class="navbar-brand" href="/">
|
||||
<img src="/logo.jpg" alt="BH Logo" height="40"> Beyond Heroes
|
||||
<img src="{% static 'logo.png' %}" alt="BH Logo" height="40"> Beyond Heroes
|
||||
</a>
|
||||
<!-- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
<div class="col-lg-4">
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
Trending Topics
|
||||
Updates
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul class="list-group list-group-flush">
|
||||
|
|
|
|||
Loading…
Reference in New Issue