From cf86acee94652ac7cd8e8f313e6abf6c9901c398 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 3 Jul 2021 18:39:34 -0700 Subject: add some styling to news pull request --- static/index.html | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'static/index.html') diff --git a/static/index.html b/static/index.html index 61aeab8..520829e 100644 --- a/static/index.html +++ b/static/index.html @@ -20,45 +20,42 @@ {{ define "content" }}

{{ .Title }}

-

{{ .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 here.

+

{{ .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 https://github.com/FChannel0.

-
Local boards
{{ range .Boards }} -
{{.Name}} - {{.PrefName}}
+
{{.Name}} - {{.PrefName}} {{ if not .Restricted }} [NSFW] {{ end }}
{{ end }} {{ range .BoardRemainer }}
{{ end }}
-
-
- + {{ if .NewsItems }} +
{{ .PreferredUsername }} news +

{{ .PreferredUsername }} News

- {{ range $i, $e := .NewsItems }} {{ end }}
-
{{ if $.Board.ModCred }}[Delete] {{end}} {{unixtoreadable $e.Time}} - {{$e.Title}} - {{ if eq $i 0 }} -

{{$e.Content}}

- {{ end }} +

{{$e.Content}}

+ {{ end }} -
- +
Current known instances +

Current known instances

{{ range .InstanceIndex }} -- cgit v1.2.3
-