You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use markdown and template actions on blockpages #35
I guess this is kind of a feature request. It would be nice to use markdown on blockpages. This would open up possibilities for more advanced respons-pages useful for users.
doesn't markdown get converted to HTML eventually ? or is there some new fancy things that I'm not aware of, probably it is better to add a redirect directive which takes an URL to redirect any blocked clients to that URL (can be used to send clients to other websites), but then that will be a bit of a hassle because you need to white list any client to requesting that page.
I will try the redirect directive. Didn't think about that one. Thanks!
I simply prefer writing markdown. Formatting the page is much simpler that way. And I want to fill in some dynamic values, like the clients geoip-location etc. And Caddy comes with nice options to fill variables through Template Actions.
Activity
pyed commentedon Dec 3, 2018
doesn't markdown get converted to HTML eventually ? or is there some new fancy things that I'm not aware of, probably it is better to add a
redirectdirective which takes an URL to redirect any blocked clients to that URL (can be used to send clients to other websites), but then that will be a bit of a hassle because you need to white list any client to requesting that page.euh2 commentedon Dec 3, 2018
I will try the
redirectdirective. Didn't think about that one. Thanks!I simply prefer writing markdown. Formatting the page is much simpler that way. And I want to fill in some dynamic values, like the clients geoip-location etc. And Caddy comes with nice options to fill variables through Template Actions.
pyed commentedon Dec 4, 2018
The redirect directive is not available. It was just an idea.