diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-07-11 01:20:39 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-07-11 01:49:12 +0200 |
| commit | e79e955d93e24a192c9bf94181294d0797e9fded (patch) | |
| tree | 5c3697710b6aa004bb7e3747f4c8ba98b37d662d /page.h | |
| parent | 4236c7fc3a7c7ef9f79b045cfd99c6575b16f7b1 (diff) | |
Allow admins to define their own stylesheet
slcl used to provide a hardcoded stylesheet. However, it would be
desirable for some admins to provide a custom stylesheet without having
to rebuild the application.
Now, slcl creates a default stylesheet, namely style.css, into the
target directory, that can be later modified by admins.
While this might contradict the suckless philosophy a bit, hopefully
some admins might find this new feature useful.
Diffstat (limited to 'page.h')
| -rw-r--r-- | page.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ struct page_rm }; int page_login(struct http_response *r); -int page_style(struct http_response *r); +int page_style(struct http_response *r, const char *path); int page_failed_login(struct http_response *r); int page_forbidden(struct http_response *r); int page_bad_request(struct http_response *r); |
