Rhetoric
view release on metacpan or search on metacpan
lib/Rhetoric.pm view on Meta::CPAN
# FIXME
for my $menu (@{$v->{menu}}) {
my $href = $menu->url;
if (($href !~ qr{^https?:}) && ($href !~ qr{\.html$}) && ($href ne '/')) {
$href .= ".html";
$menu->url($href);
}
}
}
if (exists $CONFIG{relocated}) {
for (@{ $v->menu }) {
$_->url($CONFIG{relocated} . $_->url);
}
$v->{relocated} = $CONFIG{relocated};
}
for my $position ($s->widgets->positions) {
$v->{widgets}{$position} = [ $s->widgets->content_for($position, $c, @args) ];
}
$class->next::method($c, @args);
}
# initialize app
sub init {
my ($class) = @_;
share/theme/BrownStone/layout.html view on Meta::CPAN
Released : 20100928
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="[% keywords %]" />
<meta name="description" content="[% description %]" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[% title %][% IF post; " - " _ post.title; END %]</title>
<link href="[% R('Feed') %]" rel="alternate" type="application/atom+xml" title="[% title %] Feed" />
<link href="[% relocated %]/theme/BrownStone/style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
[% content %]
<div style="clear: both;"> </div>
( run in 0.828 second using v1.01-cache-2.11-cpan-5511b514fd6 )