1
0
Commit Graph

430 Commits

Author SHA1 Message Date
5bc4f13c38
Added qouting formatting in Mindflow. 2023-09-25 03:21:49 +04:00
134ed23450
Added PREFIX in Makefile and in PKGBUILD in package(). 2023-09-25 02:17:12 +04:00
33cd1dc3b8
Well, actually... Let's hardcode guestbook owner. :) 2023-09-25 01:56:54 +04:00
a3525418f1
In about.pug: liquidsoap replaced by ezstream. 2023-09-25 01:13:14 +04:00
fb7459c021
Added a tip for that quotation exists in a guestbook. 2023-09-25 00:34:55 +04:00
85a3a9692e
A big revamp for mindflow and RSS. First of all, now RSS is 100% valid and has actual links instead of just a link to a post in a mindflow. Also, on mindflow page each post that has a URL field set has it displayed as Link: ... . 2023-09-25 00:23:06 +04:00
906f73c8a6
Refactored flags in main.go. 2023-09-24 21:33:08 +04:00
a464a11ea8
In errorXXX.pug fixed tabulation to spaces. 2023-09-24 20:51:51 +04:00
03e7c478e0
GetArticleMetadata() was replaced by Metadata public slice. 2023-09-24 20:44:03 +04:00
948715d8eb
Fill Metadata slice in init(). Removed GetArticleMetadata. A slice instead was made public. 2023-09-24 20:43:36 +04:00
9e33fa359b
Nah, let's remove bin/, so executable will be built every time. 2023-09-24 20:42:30 +04:00
fe87114fe0
In Article HTTP handler a loging for web.GetArticle() was changed. 2023-09-24 20:00:49 +04:00
48e7a86312
Part of GetArticle() for loading an article from a file was moved out to init() func. 2023-09-24 20:00:17 +04:00
72b09218f8
In web/articles.go made use of a constructor. Also, since a constructor returns a pointer, map also now stores a pointer to Article. 2023-09-24 19:05:22 +04:00
7f17ebd2c5
In Article struct switched positions of Title and Date fields. 2023-09-24 19:03:29 +04:00
0695aa46b3
For Article added a consturctor func New(). 2023-09-24 19:02:43 +04:00
1c3f0c7b2c
Added b32.i2p address in nginx.conf. 2023-09-24 18:47:21 +04:00
5b57592370
In Makefile a bin/ prefix was added to ${TARGET}, so make could see an executable and not rebuild it every time. 2023-09-23 21:51:49 +04:00
caf096c0f6
In rss.pug fixed date formatting. 2023-09-23 21:49:09 +04:00
20729899b0
In Makefile long lines was wrapped. Also removed .txt extension. 2023-09-23 21:48:40 +04:00
2b32422754
In Makefile's install target fixed copypasta mistyping. 2023-09-23 20:00:03 +04:00
cb08e6e334
In Makefile's run target replaced arg names by theirs new long names. 2023-09-23 19:58:47 +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
98e948f982
In rss.pug fixed link tag. Jade treats it like an HTML's link self-closing tag. 2023-09-23 19:56:12 +04:00
a315679847
On stuff page: updated version and release date for kwh-cost. 2023-09-23 05:24:11 +04:00
90ce3c74f0
Oh, actually, a whole directory for licenses is supposed to be removed on uninstallation. 2023-09-23 05:22:27 +04:00
38dadee5af
On stuff page: updated description for PiggyBank. 2023-09-23 05:13:43 +04:00
f572f4b3e5
On stuff page: commented out auto-claimer-vkpl because it stopped working and I don't bother to fix it; Updated version and release date for httpr. 2023-09-23 05:11:08 +04:00
1aaf2e8474
Added my name and surname in a footer. 2023-09-23 04:46:25 +04:00
db34c5d249
Made cmd arguments long. 2023-09-23 04:37:48 +04:00
ff70cd8ade
Fixed a comment for GetArticleMetadata() func. It is actually is being sorted by ID, not data. 2023-09-23 04:25:32 +04:00
fbb4389065
In GetArticle() func removed unnecessary else {} nesting. 2023-09-23 04:23:33 +04:00
69493f50aa
In web.go removed a comment for how to install a Jade compiler. 2023-09-23 04:20:31 +04:00
35ac352490
Added missing license file for Share Tech Mono font I use. 2023-09-23 04:18:36 +04:00
d373ad0f35
In Makefile un-/install targets added a LICENSE file for a font used, but commented out. 2023-09-23 04:13:39 +04:00
e992e6906a
In Makefile un-/install targets added a LICENSE file, but commented out. 2023-09-23 04:11:18 +04:00
9fd750a99b
In Makefile made use of PREFIX var. 2023-09-23 04:10:37 +04:00
3a3db1a673
Version set to 23.38.0. 2023-09-23 04:04:01 +04:00
8caad6ca3e
In Makefile fixed .PHONY and ${TARGET}. In a web/*.pug.go target added ifeq to check if jade compiler is already installed. 2023-09-23 04:03:28 +04:00
7c17d7400b
Added additional build flags in FLAGS var. 2023-09-23 04:01:48 +04:00
24c5f59200
In Makefile set DSTDIR to an empty string. 2023-09-23 03:59:17 +04:00
f93c732ada
In go.mod and go.sum updated dependencies. 2023-09-23 03:55:30 +04:00
27c336035b
In PKGBUILD go version was specified to be >=1.17. 2023-09-23 03:55:01 +04:00
798012b9cb
Removed unnecessary options from PKGBUILD. SQLite is part of a base package, so no need in specifing it here. And also no need to specify the package explicitly in provides= and conflicts= options. 2023-09-23 03:54:14 +04:00
1628a26ed7
Added CGO_*FLAGS env vars in PKGBUILD. 2023-09-23 03:51:25 +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
4523e5a622
Oh, I forgot that inline styling and in a head tag are forbidden. Moving out to a file. 2023-08-13 01:46:15 +04:00
ffbc027d64
Add missing 404 response code. 2023-08-13 01:41:58 +04:00
4a29a9754b
Added leading slash to path to a PGP pubkey. 2023-08-13 01:25:05 +04:00
4fe528f141
Fixed rel='canonical' href. 2023-08-13 01:21:16 +04:00