Skip to content

Commit

Permalink
Add myself to the member list
Browse files Browse the repository at this point in the history
Bump Plack::Middleware::TemplateToolkit requirement so it passes
ENCODING through to TT.
  • Loading branch information
ilmari committed Feb 16, 2015
1 parent bba9b37 commit 65b358f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app.psgi
Expand Up @@ -4,7 +4,7 @@ use strict;
use warnings;

use Path::Class;
use Plack::Middleware::TemplateToolkit;
use Plack::Middleware::TemplateToolkit 0.28;
use Plack::Builder;
use Plack::Middleware::Static;
use Plack::Middleware::Rewrite;
Expand All @@ -23,9 +23,10 @@ my $calendar_atom_url

# Create our TT app, specifying the root and file extensions
my $app = Plack::Middleware::TemplateToolkit->new(
root => [ ($base) ], # required
404 => "page_not_found.html",
500 => "internal_server_error.html",
root => [ ($base) ], # required
ENCODING => 'UTF-8',
404 => "page_not_found.html",
500 => "internal_server_error.html",
)->to_app;

# Plack::Middleware::Deflater might be good to use here
Expand Down
1 change: 1 addition & 0 deletions root/who/index.html
Expand Up @@ -16,6 +16,7 @@ <h2>Some people who are London Perl Mongers</h2>
davorg = { display_name => "Dave Cross" },
denny = { display_name => "Denny de la Haye" },
dorward = { display_name => "David Dorward" },
ilmari = { display_name => "Dagfinn Ilmari Mannsåker" },
jeteve = { display_name => "Jerome Eteve" },
jkg = { display_name => "James Green" },
leejo = { display_name => "Lee J" },
Expand Down

0 comments on commit 65b358f

Please sign in to comment.