aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2023-01-08 11:14:46 -0500
committerBobby <[email protected]>2023-01-08 11:14:46 -0500
commitf4fb28ee30c124d520fec9a27b1ac1bbce9f04e4 (patch)
tree58829d49e28105f3849cfd2604c31408a39cf8b3
parentbd296c45092b76dd8fcc554a2b37ae26df9462e6 (diff)
downloadthatcomputerscientist-f4fb28ee30c124d520fec9a27b1ac1bbce9f04e4.tar.xz
thatcomputerscientist-f4fb28ee30c124d520fec9a27b1ac1bbce9f04e4.zip
Fixed avatar in post comments
-rw-r--r--templates/blog/post.html4
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;">