init
This commit is contained in:
commit
fe48b73de3
24 changed files with 3176 additions and 0 deletions
18
templates/community.html
Normal file
18
templates/community.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<div class="community">
|
||||
<form method="POST" class="member {{ membership .Subscribed }}">
|
||||
<input name="op" type="submit" value="{{ membership .Subscribed}}">
|
||||
<input type="hidden" name="communityid" value ="{{.Community.ID}}">
|
||||
</form>
|
||||
<span class="title"><a href="{{proxy .Community.ActorID}}">c/{{fullcname .Community}}: {{.Community.Title}}</a></span>
|
||||
<div class="details">
|
||||
{{ if .Community.Description.IsValid }}
|
||||
<div class="description">
|
||||
{{markdown "poop" .Community.Description.String}}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="gray">
|
||||
{{printer .Counts.Subscribers}} subscribers,
|
||||
a community founded {{ humanize .Community.Published.Time }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue