Hide stream host if not existent

This commit is contained in:
Daniele Tonon
2023-11-06 23:38:04 +01:00
parent b5a4cfdfdb
commit b73aa6e117

View File

@@ -71,10 +71,11 @@
{{ end }}
</h1>
<div class="mb-4">
Streaming hosted by
{{ if not (eq "" .LiveEvent.HostNpub) }} Streaming hosted by
<a href="/{{ .LiveEvent.HostNpub }}"
>{{ .LiveEvent.Host.Name }}</a
>
{{ end }}
</div>
<!-- main content -->
<div class="mb-4">