From 68ad1d59f7fdf1a572da45060a9480079241031d Mon Sep 17 00:00:00 2001 From: sageman_ Date: Sun, 4 Jul 2021 14:34:37 +0200 Subject: Oops, forgot that the description was relocated On another note, it would be nice if the description was in one place --- client.go | 3 +-- static/anews.html | 6 +++--- static/index.html | 8 ++++---- static/news.html | 6 +++--- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/client.go b/client.go index 9cfb364..39ecd29 100644 --- a/client.go +++ b/client.go @@ -94,8 +94,7 @@ func IndexGet(w http.ResponseWriter, r *http.Request, db *sql.DB) { var data PageData data.Title = "Welcome to " + actor.PreferredUsername - data.Message = actor.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" - data.MessageHTML = template.HTML(actor.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`) + data.PreferredUsername = actor.PreferredUsername data.Boards = Boards data.Board.Name = "" data.Key = *Key diff --git a/static/anews.html b/static/anews.html index 08bfdfa..5ebe1cc 100644 --- a/static/anews.html +++ b/static/anews.html @@ -1,6 +1,6 @@ {{ define "header" }} {{ .Title }} - + @@ -8,10 +8,10 @@ - + - + {{ end }} diff --git a/static/index.html b/static/index.html index d7374f1..667efd4 100644 --- a/static/index.html +++ b/static/index.html @@ -1,6 +1,6 @@ {{ define "header" }} {{ .Title }} - + @@ -8,10 +8,10 @@ - + - + {{ end }} @@ -20,7 +20,7 @@ {{ 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 at https://github.com/FChannel0.

+

{{ .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 }} diff --git a/static/news.html b/static/news.html index 4bd43e1..65ae410 100644 --- a/static/news.html +++ b/static/news.html @@ -1,6 +1,6 @@ {{ define "header" }} {{ .Title }} - + @@ -8,10 +8,10 @@ - + - + {{ end }} -- cgit v1.2.3