Sends what's in it's [code]data[/code] property when it handles a [WebServerRequest], and what's in it's [code]preview_data[/code] property when [code]render_preview()[/code] is called.
The StaticPage WebNode just renders what's set into it's [code]data[/code] property.
If it's [code]should_render_menu[/code] property is set to true (default) then it will also call [code]render_menu()[/code].
Also supports loading data from files through the [code]load_file()[/code] helper method, and can also render markdown files to HTML.
Loads a file, and processes it if it can. (if it's a markdown file, it will get rendered as html.)
Sets the contentds of the given file to the [code]data[/code] property
Loads and processes a markdown file.
Process the given [String] as a markdown, and set it to the [code]data[/code] property.
The data that will be sent back to a request.
The preview that can be used by other WebNodes if you set it.
Whether to call [code]render_menu()[/code] when it handles a request.