App-Scaffolder-HTML

 view release on metacpan or  search on metacpan

lib/App/Scaffolder/Command/html.pm  view on Meta::CPAN


=head1 VERSION

version 0.001000

=head1 SYNOPSIS

	# Create a simple HTML5 file:
	$ scaffolder html --template html5 --name index --title "My Document"

	# Create a simple XHTML file:
	$ scaffolder html --template xhtml10strict --name index --title "My Document"

=head1 DESCRIPTION

App::Scaffolder::Command::html scaffolds HTML files. By default, it provides two
simple templates:

=over

=item *

C<html5>: Create a HTML5 document.

=item *

C<xhtml10strict>: Create a XHTML 1.0 strict document.

=back

=head1 METHODS

=head2 get_variables

Specialized C<get_variables> version which returns the name of the output file
and the title for the document.

share/html/xhtml10strict/___name___.xhtml.tt  view on Meta::CPAN

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>[% title %]</title>
	</head>
	<body>

	</body>
</html>



( run in 0.653 second using v1.01-cache-2.11-cpan-49f99fa48dc )