X-Git-Url: https://git.r.bdr.sh/rbdr/ngx_http_office_hours_filter_module/blobdiff_plain/407e2e8fb8a5f825ff644a834688844ac0c4a86a..8b830d844c57851cc92dd09a4f4e88492c2ef78a:/README.md?ds=sidebyside diff --git a/README.md b/README.md index 658e64f..d03baf7 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,17 @@ values for Friday, Saturday and Sunday. Uninstall nginx. +## Adding more information + +This plugin also provides an `office_hours_additional_information` directive +that lets you add informative HTML to the page that shows when outside +office hours. + +``` +office_hours_additional_information "

Additional Information>

+

Please do not email us asking to open the website 24/7. Send all complaints to friendship.quest/@ruben

" +``` + ## What you will need to get started * [astyle][astyle]: Used to format the code @@ -81,11 +92,12 @@ commit. Run `make setup_hooks` to install it. ## Further Improvements +* Add support for double shifts in the same day +* Add support for serving custom HTML when server is closed * Add support for timezones (currently only GMT) * Add support for public holidays * Add support to respect the time zone of the visitor and not just the server -* Add support for double shifts in the same day [astyle]: http://astyle.sourceforge.net [nginx]: https://nginx.org/en/download.html