From d287a2d0bb19f6a7eef682cd411e0e7cc31c1e3d Mon Sep 17 00:00:00 2001 From: sageman_ Date: Sat, 3 Jul 2021 17:46:04 +0200 Subject: Improve the static pages a bit They were *begging* for grammar corrections after all. The FAQ should now be a bit more newbie-friendly now. --- client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client.go') diff --git a/client.go b/client.go index 6e185cc..6563ae3 100644 --- a/client.go +++ b/client.go @@ -81,8 +81,8 @@ 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 the server is still a work in progress, 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 the server is still a work in progress, expect a bumpy ride for the time being. Get the server code here https://github.com/FChannel0") + 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.Boards = Boards data.Board.Name = "" data.Key = *Key -- cgit v1.2.3 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 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client.go') 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 -- cgit v1.2.3