aboutsummaryrefslogtreecommitdiff
path: root/static/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/static/index.html b/static/index.html
index 520829e..bd90059 100644
--- a/static/index.html
+++ b/static/index.html
@@ -21,7 +21,8 @@
<div style="text-align: center; max-width: 800px; margin: 0 auto;">
<h1>{{ .Title }}</h1>
<p style="text-align: justify">{{ .PreferredUsername }} is a federated image board based on activitypub. The current version of the code running the server is still a work in progress, expect a bumpy ride for the time being. Get the server code at <a href="https://github.com/FChannel0">https://github.com/FChannel0</a>.</p>
-
+
+ {{ if .Boards }}
<div style="margin-top:50px;">
<div style="display: grid;border-right: 2px solid #820404">
<div style="display: inline-grid;grid-column: 1 / 4;border-bottom: 2px solid #820404;border-left: 2px solid #820404;border-top: 2px solid #820404;"><span style="font-size: 1.5em;font-weight: bold;">Local boards</span></div>
@@ -33,6 +34,7 @@
{{ end }}
</div>
</div>
+ {{ end }}
{{ if .NewsItems }}
<div class="popup-box" style="margin-top:50px;">