diff --git a/src/templates/src/include/timeline_item.html b/src/templates/src/include/timeline_item.html
index 07053dc9..801be0ba 100644
--- a/src/templates/src/include/timeline_item.html
+++ b/src/templates/src/include/timeline_item.html
@@ -2,7 +2,7 @@
{{/* top bar - avatar, info, date */}}
{{ if .OwnerAvatarUrl }}
-
+
{{ end }}
diff --git a/src/website/landing.go b/src/website/landing.go
index 06d40d51..b60877a3 100644
--- a/src/website/landing.go
+++ b/src/website/landing.go
@@ -78,6 +78,10 @@ func Index(c *RequestContext) ResponseData {
c.Logger.Warn().Err(err).Msg("failed to fetch latest posts")
}
for _, p := range posts {
+ if p.Project.IsHMN() {
+ continue // ignore news posts et. al.
+ }
+
item := PostToTimelineItem(hmndata.UrlContextForProject(&p.Project), lineageBuilder, &p.Post, &p.Thread, p.Author, c.Theme)
if p.Thread.Type == models.ThreadTypeProjectBlogPost && p.Post.ID == p.Thread.FirstID {
// blog post
@@ -100,7 +104,6 @@ func Index(c *RequestContext) ResponseData {
if len(newsThreads) > 0 {
t := newsThreads[0]
item := PostToTimelineItem(hmndata.UrlContextForProject(&t.Project), lineageBuilder, &t.FirstPost, &t.Thread, t.FirstPostAuthor, c.Theme)
- item.OwnerAvatarUrl = ""
item.Breadcrumbs = nil
item.TypeTitle = ""
item.AllowTitleWrap = true