Skip to content

Use markdown and template actions on blockpages #35

Open

Description

@euh2

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.

Activity

  1. pyed commented on Dec 3, 2018

    @pyed
    Owner

    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.

  2. euh2 commented on Dec 3, 2018

    @euh2
    Author

    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.

  3. pyed commented on Dec 4, 2018

    @pyed
    Owner

    The redirect directive is not available. It was just an idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions