package VNDB::Util::LayoutHTML;
use strict;
use warnings;
use YAWF ':html';
use Exporter 'import';
our @EXPORT = qw|htmlHeader htmlFooter|;
sub htmlHeader { # %options->{ title }
my($self, %o) = @_;
# heading
html;
head;
title $o{title};
Link rel => 'shortcut icon', href => '/favicon.ico', type => 'image/x-icon';
Link rel => 'stylesheet', href => $self->{url_static}.'/f/style.css', type => 'text/css', media => 'all';
script type => 'text/javascript', src => $self->{url_static}.'/f/script.js';
# most browsers don't like a self-closing