Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 996 Bytes

README.md

File metadata and controls

54 lines (39 loc) · 996 Bytes

NAME

Plack::Middlerware::SetTitle

#SYNOPSIS

use Plack::Builder;

my $app = sub { return [ 200 , [ "Content-Type" => "text/html" ], [ "

Hello

\n

World!

" ] ]; };

builder { enable "SetTitle", 'title' => 'kichijojipm'; $app; };

<title>

kichijojipm </title>

Hello

World!

DESCRIPTION

htmlのテンプレートにheadのtitleに文字列を差し込むを事ができる簡単な実装

SEE ALSO