NAME

HiD::Post - Blog posts

SYNOPSIS

my $post = HiD::Post->new({
  dest_dir       => 'path/to/output/dir' ,
  hid            => $master_hid_object ,
  input_filename => 'path/to/file/for/this/post' ,
  layouts        => $hashref_of_hid_layout_objects,
});

DESCRIPTION

Class representing a "blog post" object.

METHODS

get_default_layout

The default layout used when publishing a HiD::Post object. (Defaults to 'post'.)

publish

Publish -- convert, render through any associated layouts, and write out to disk -- this data from this object.

VERSION

version 1.8

AUTHOR

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE

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.