Commit d5714598 authored by Behr, Svenja's avatar Behr, Svenja
Browse files

- Impressum und Kontakt wieder eingebaut

parent aa07ff2d
...@@ -46,6 +46,12 @@ ...@@ -46,6 +46,12 @@
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
<footer class="fixed-bottom bg-light">
<ul class="nav justify-content-end">
<li class="nav-item"><a class="nav-link" href="{% url 'blog:detail' blog_id=2 %}">Impressum</a></li>
<li class="nav-item"><a class="nav-link" href="{% url 'blog:detail' blog_id=3 %}">Kontakt</a></li>
</ul>
</footer>
</div> </div>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<p class="card-text">{{ blog.description }}</p> <p class="card-text">{{ blog.description }}</p>
<a href="{% url 'blog:all_blogs' %}" class="btn btn-primary">Back to Blogs</a> <a href="{% url 'blog:all_blogs' %}" class="btn btn-primary">Back to Blogs</a>
<br> <br>
{% if blog.image.url %} {% if blog.image and blog.image.url %}
<div class="container thirtypercent"> <div class="container thirtypercent">
<img class="card-img-top" src="{{ blog.image.url }}" alt="Card image cap"> <img class="card-img-top" src="{{ blog.image.url }}" alt="Card image cap">
</div> </div>
...@@ -33,5 +33,11 @@ ...@@ -33,5 +33,11 @@
{% block comments %} {% block comments %}
<!-- Comments will go in here --> <!-- Comments will go in here -->
{% endblock %} {% endblock %}
<footer class="fixed-bottom bg-light">
<ul class="nav justify-content-end">
<li class="nav-item"><a class="nav-link" href="{% url 'blog:detail' blog_id=2 %}">Impressum</a></li>
<li class="nav-item"><a class="nav-link" href="{% url 'blog:detail' blog_id=3 %}">Kontakt</a></li>
</ul>
</footer>
</body> </body>
</html> </html>
\ No newline at end of file
No preview for this file type
Supports Markdown
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