2023-10-25 21:48:36 +00:00
|
|
|
<div class="blog-entry">
|
2023-11-08 10:08:40 +00:00
|
|
|
<a href="/blog/<%= post.id %>" class="thumbnail">
|
|
|
|
<img src="<%= post.thumbnail %>" />
|
2023-10-25 21:48:36 +00:00
|
|
|
</a>
|
|
|
|
<div class="blog-info">
|
2023-11-08 10:08:40 +00:00
|
|
|
<div class="blog-title">
|
|
|
|
<a href="/blog/<%= post.id %>"><%= post.title %> </a>
|
|
|
|
<a href="/author/<%= post.owner.id %>" class="author">By: <%= post.owner.username %></a>
|
|
|
|
</div>
|
|
|
|
<div class="blog-description"><%= post.description %></div>
|
|
|
|
<div class="blog-action">
|
|
|
|
<div class="date"><%= post.publish_date.toLocaleString('en-US', { dateStyle:'medium'}) %></div>
|
|
|
|
<a href="/blog/<%= post.id %>">Read this post -></a>
|
|
|
|
</div>
|
2023-10-25 21:48:36 +00:00
|
|
|
</div>
|
|
|
|
</div>
|