NAME

Nephia::Lite::Xslate - Nephia::Lite with Text::Xslate

SYNOPSIS

in app.psgi :

use Nephia::Lite::Xslate;

run {
    return {
        title => 'sample'
    }
};

__DATA__

<html>
<head>
<title><: $title :></title>
<body>
<h1>Hello, <: $title :></h1>
</body>
</html>

DESCRIPTION

Nephia::Lite is minimum set of Nephia.

However, usable Nephia's feature and useful plugins.

Lite::Xslate flavor for nephia-setup - generate skeleton

nephia-setup appname --flavor=Lite::Xslate

This command generate skeleton psgi file with Nephia::Lite.

Rendering page with template

Nephia::Lite::Xslate use Text::Xslate.

Write after __DATA__ in app.psgi.

SEE ALSO

Nephia

Text::Xslate

LICENSE

Copyright (C) macopy.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

macopy <macopy[attttttt]cpan.com>