HiD::Page - Pages that are converted during the output process
my $page = HiD::Page->new({ dest_dir => 'path/to/output/dir' , hid => $hid_object , input_filename => 'path/to/page/file' , layouts => $hash_of_hid_layout_objects, });
Class representing a "page" object -- i.e., a file that is not a blog post, but that is still processed (e.g., converted from Markdown or Textile to HTML and run through a layout rendering step) during publication.
Get the name of the default page layout. (The default is 'default'.)
Publish -- convert, render through any associated layouts, and write out to disk -- this data from this object.
Also consumes HiD::Role::IsConverted and HiD::Role::IsPublished; see documentation for that role as well if you're trying to figure out how an object from this class works.
version 1.5
John SJ Anderson <genehack@genehack.org>
This software is copyright (c) 2014 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.