1
0
Commit Graph

25 Commits

Author SHA1 Message Date
ea3a0f5828
Do not show a current page of a guestbook as a link for visual separation. 2024-06-30 00:42:40 +04:00
74065d8a72
Updated a call for web.About(). 2024-06-25 04:37:50 +04:00
89de89671a
Current state of porting to a Templ template engine. Stage 2. 2024-06-19 01:08:05 +04:00
77aa7a5e63
Call Index template right in-place. 2024-06-19 01:06:33 +04:00
52439ee836
Moving to a Templ template engine stage 1. 2024-06-13 04:49:55 +04:00
2667ec93ce
Made full use of Service* constants in util. 2024-04-20 05:06:28 +04:00
f9dabbc6f9
A set of funcs to serve certain files was replaced by ServeAsset() func where you have to pass a path to an asset within an asset dir. 2024-04-20 04:52:35 +04:00
dca3804090
guestbookOwner was renamed to just owner. Also, pass an owner to web.RSS() instead of a hardcoded nickname. 2024-04-20 04:51:11 +04:00
03e7c478e0
GetArticleMetadata() was replaced by Metadata public slice. 2023-09-24 20:44:03 +04:00
fe87114fe0
In Article HTTP handler a loging for web.GetArticle() was changed. 2023-09-24 20:00:49 +04:00
6895c1c0a6
For whatever reason Go doesn't fill r.URL.Scheme. So let's get it directly from Scheme header that is being set in nginx's proxy_set_header Scheme $scheme. 2023-09-23 19:57:53 +04:00
35b48d29e6
In main.go made use of handler's Error func and in Error() func added missing WriteHeader(). 2023-08-13 02:17:47 +04:00
6fe6c856cd
Show Go back on error page, need to pass a referer URL for it. 2023-08-12 23:51:26 +04:00
a5acbe4029
Updated justcaptcha dependency. 2023-08-12 22:58:54 +04:00
5802410fa4
GetArticlesMetadata() -> GetArticleMetadata() 2023-07-29 17:59:36 +04:00
023f2d1ac4
Added Privacy page. 2023-06-12 23:05:06 +04:00
0b60297031
Log why gb entries weren't loaded on a gb page. 2023-06-04 18:13:29 +04:00
9d84411d73
In MindflowAdmin don't log these errors, just show me instead. 2023-06-04 18:12:53 +04:00
405bc6d2d7
Moved misplaced error handler, added Error(...) to show what error happened. 2023-06-04 18:08:21 +04:00
339fbe354d
Added missing space between / and status text. 2023-06-04 18:06:54 +04:00
af1af0764e
Added /favicon.ico. 2023-06-04 17:48:49 +04:00
99f76234a0
Made a func cleanupNewlines() to replace repeats across handlers. 2023-05-28 04:52:09 +04:00
7a5532e1fb
Removed unneeded func AssetsFS(). 2023-05-28 04:45:15 +04:00
d828c3adde
All error pages was replaced by a universal error page. 2023-05-27 20:47:06 +04:00
60e71378ba
Let's reduce a mess by splitting APIs by distinct files. 2023-05-23 04:36:04 +04:00