From 2b0eefa1721cc775ddef412b97c64b639c22d3fe Mon Sep 17 00:00:00 2001 From: Ryan Stafford Date: Thu, 13 Jul 2023 16:05:16 -0400 Subject: [PATCH] fix non local community search --- templates/activities.html | 2 +- templates/post.html | 2 +- templates/sidebar.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/activities.html b/templates/activities.html index ac0ea49..12b3284 100644 --- a/templates/activities.html +++ b/templates/activities.html @@ -13,7 +13,7 @@ {{$state.User.PersonView.Person.Name }} {{ end }} in - /c/{{ $activity.Comment.P.Community.Name }} + c/{{ $activity.Comment.P.Community.Name }} {{ template "comment.html" $activity.Comment }} diff --git a/templates/post.html b/templates/post.html index e61d304..5bdc596 100644 --- a/templates/post.html +++ b/templates/post.html @@ -43,7 +43,7 @@ by {{ fullname .Creator }} to - {{ fullcname .Community}} + c/{{ fullcname .Community}}
{{ if .Post.NSFW }}NSFW{{end}} diff --git a/templates/sidebar.html b/templates/sidebar.html index 8054605..e2a2782 100644 --- a/templates/sidebar.html +++ b/templates/sidebar.html @@ -7,7 +7,7 @@ {{ if .User }} {{ else if .Community }} - + {{ end }} {{ end }}