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.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 34:
alternative text '/obrazi' contains non-escaped | or /