Skip to content

Commit a46ab23

Browse files
chore: actually render description from the tmpl
1 parent a83c75d commit a46ab23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/org/home.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</span>
1414
{{if .IsOrganizationOwner}}<a class="middle text grey" href="{{.OrgLink}}/settings">{{svg "octicon-gear"}}</a>{{end}}
1515
</div>
16-
{{if .Org.Description}}<p class="desc">{{.Org.Description}}</p>{{end}}
16+
{{if $.RenderedDescription}}<p class="render-content markdown">{{$.RenderedDescription|Str2html}}</p>{{end}}
1717
<div class="text grey meta">
1818
{{if .Org.Location}}<div class="item">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
1919
{{if .Org.Website}}<div class="item">{{svg "octicon-link"}} <a target="_blank" rel="noopener noreferrer" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}}

0 commit comments

Comments
 (0)