{{ define "header" }} {{ .Title }} {{ end }} {{ define "top" }}{{ end }} {{ define "content" }}

{{ .Title }}

{{ .PreferredUsername }} is a federated image board based on ActivityPub. The current version of the code running on the server is still a work-in-progress product, expect a bumpy ride for the time being. Get the server code here: https://github.com/FChannel0.

{{ if .Boards }} {{ $l := len .Boards }}
{{ if lt $l 2 }}
Local boards
{{ else if eq $l 2 }}
Local boards
{{ else }}
Local boards
{{ end }} {{ range .Boards }}
/{{.Name}}/ - {{.PrefName}} {{ if not .Restricted }} [NSFW] {{ end }}
{{ end }} {{ if gt $l 2 }} {{ range .BoardRemainer }}
{{ end }} {{ end }}
{{ end }} {{ if .NewsItems }} {{ end }}
{{ end }} {{ define "bottom" }}{{ end }} {{ define "script" }} {{ end }}