HiD::Role::IsConverted - Role for objects that are converted during the publishing process
package HiD::ThingThatIsConverted use Moose; with 'HiD::Role::IsConverted'; ... 1;
This role is consumed by objects that are converted during the publication process -- e.g., from Markdown or Textile to HTML, or rendered through a layout object. This role provides required attributes and methods used during that process.
Page content (stuff after the YAML front matter)
Content after it has gone through the conversion process.
Excerpt after it has gone through the conversion process
The HiD object for the current site. Here primarily to provide access to site metadata.
Hashref of layout objects keyed by name.
Hashref of info from YAML front matter
Placed at the bottom of rendered excerpts. Intended to link to the full version of the content.
A string matching __URL__ will be replaced with the URL of the object (i.e., the output of $self-url>) being converted.
__URL__
$self-
Content after any layouts have been applied
Data for passing to template processing function.
version 1.91
John SJ Anderson <genehack@genehack.org>
This software is copyright (c) 2015 by John SJ Anderson.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HiD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HiD
CPAN shell
perl -MCPAN -e shell install HiD
For more information on module installation, please visit the detailed CPAN module installation guide.