aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-11-13 07:15:52 -0500
committerBobby <[email protected]>2022-11-13 07:15:52 -0500
commit840406b03c4cef76637ea4bc3a509f40f26a0cd0 (patch)
tree2413e612ee39675655ef4b269a019d2b349f18c1
parent8158f37d2063f80f2bacfc7f67da63215046e0f8 (diff)
downloadthatcomputerscientist-840406b03c4cef76637ea4bc3a509f40f26a0cd0.tar.xz
thatcomputerscientist-840406b03c4cef76637ea4bc3a509f40f26a0cd0.zip
update announcement structure
-rw-r--r--templates/blog/home.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/blog/home.html b/templates/blog/home.html
index 5d78158a..2118f3ba 100644
--- a/templates/blog/home.html
+++ b/templates/blog/home.html
@@ -30,15 +30,17 @@
<li style="margin-bottom: 20px;">
<table>
<tr>
- <td width="30px">
+ <td width="30px" style="vertical-align: top;">
{% if announcement.is_new %}
<img class="ac" src="{% static 'images/gifs/new_announcement.gif' %}"/>
{% else %}
<img class="ac2" src="{% static 'images/gifs/hand.gif' %}"/>
{% endif %}
</td>
- <td style="color: white;">
- <b>{{ announcement.created_at | date:"M d, Y" }}</b> {{ announcement.content }}
+ <td style="color: white; vertical-align: top;">
+ <b>{{ announcement.created_at | date:"M d, Y" }}</b>
+ <hr>
+ {{ announcement.content }}
</td>
</tr>
</table>