Mojolicious-Plugin-Obrazi

A static gallery generator (and renderer) for any site.


License
Other

Documentation

NAME

Mojolicious::Plugin::Obrazi - Mojolicious Plugin

SYNOPSIS

# Mojolicious
$self->plugin('Obrazi');

# Mojolicious::Lite
plugin 'Obrazi';

DESCRIPTION

Mojolicious::Plugin::Obrazi is a Mojolicious plugin. It consists of a Mojolicious::Command::Author::generate::obrazi that generates html for an images gallery and a not yet wirtten /obrazi which produces HTML from a CSV file found in a directory, containing images. While the command is functional already the plugin is empty. This is a yet early release. Todo: write the helper.

METHODS

Mojolicious::Plugin::Obrazi inherits all methods from Mojolicious::Plugin and implements the following new ones.

register

$plugin->register(Mojolicious->new);

Register plugin in Mojolicious application.

HELPERS

obrazi

<!-- in a template -->
<%= obrazi(csv_file => 'path/to/obrazi.csv') %>

Renders a gallery section in the current page. Not implemented yet.

NOTES

This plugin requires Perl 5.26+ and Mojolicious 9.17+.

COPYRIGHT

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

Mojolicious::Command::Author::generate::obrazi, Mojolicious, Mojolicious::Guides, Slovo, https://mojolicious.org.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 17:

alternative text '/obrazi' contains non-escaped | or /