diff options
| author | Bobby <[email protected]> | 2023-01-08 11:14:46 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-01-08 11:14:46 -0500 |
| commit | f4fb28ee30c124d520fec9a27b1ac1bbce9f04e4 (patch) | |
| tree | 58829d49e28105f3849cfd2604c31408a39cf8b3 | |
| parent | bd296c45092b76dd8fcc554a2b37ae26df9462e6 (diff) | |
| download | thatcomputerscientist-f4fb28ee30c124d520fec9a27b1ac1bbce9f04e4.tar.xz thatcomputerscientist-f4fb28ee30c124d520fec9a27b1ac1bbce9f04e4.zip | |
Fixed avatar in post comments
| -rw-r--r-- | templates/blog/post.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/blog/post.html b/templates/blog/post.html index 90f7a71a..a2075b7c 100644 --- a/templates/blog/post.html +++ b/templates/blog/post.html @@ -1,5 +1,5 @@ {% extends 'blog/partials/base.html' %} {% block content %} - +{% load static %} <div id="article"> <img src="{% url 'ignis:post_image' '730' post.id %}.gif" alt="Cover Image" style="width: 730px; margin: 0 auto; display: block;"> <h1>{{ post.title }}</h1> @@ -22,7 +22,7 @@ <table> <tr> <td style="width: 60px; vertical-align: top;"> - <img src="{{ comment.avatar_url }}" alt="Profile Picture" style="width: 50px; height: auto;"> + <img src="{% static 'images/avatars/' %}{{ comment.avatar_url }}.png" alt="Profile Picture" style="width: 50px; height: auto;"> </td> <td style="vertical-align: top; width: 668px;"> <div style="margin-bottom: 13px; border-bottom: dashed 1px white; padding-bottom: 13px;"> |
