2023-06-30 19:41:35 +00:00
|
|
|
<div class="community">
|
|
|
|
<form method="POST" class="member {{ membership .Subscribed }}">
|
|
|
|
<input name="op" type="submit" value="{{ membership .Subscribed}}">
|
2023-07-23 17:53:02 +00:00
|
|
|
<input type="hidden" name="communityid" value ="{{ .Community.ID }}">
|
2023-06-30 19:41:35 +00:00
|
|
|
</form>
|
2023-07-23 17:53:02 +00:00
|
|
|
<span class="title"><a href="{{ if .Community.Local }}./c/{{.Community.Name}}{{else}}{{ localize .Community.ActorID }}{{end}}">c/{{fullcname .Community}}: {{.Community.Title}}</a></span>
|
2023-06-30 19:41:35 +00:00
|
|
|
<div class="details">
|
|
|
|
{{ if .Community.Description.IsValid }}
|
|
|
|
<div class="description">
|
2023-07-23 17:53:02 +00:00
|
|
|
{{ markdown "" .Community.Description.String }}
|
2023-06-30 19:41:35 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
<div class="gray">
|
2023-07-23 17:53:02 +00:00
|
|
|
{{ if .Counts.Subscribers }}{{ printer .Counts.Subscribers }} subscribers,{{end}}
|
2023-12-16 14:43:43 +00:00
|
|
|
a community founded {{ humanize .Community.Published }}
|
2023-06-30 19:41:35 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|