Created
September 28, 2011 11:16
-
-
Save LoonyPandora/1247692 to your computer and use it in GitHub Desktop.
Dancer & Template::Plugin::HTML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appname: "testing" | |
layout: "main" | |
charset: "UTF-8" | |
template: "template_toolkit" | |
engines: | |
template_toolkit: | |
encoding: 'utf8' | |
start_tag: '[%' | |
end_tag: '%]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>testing</title> | |
</head> | |
<body> | |
[% USE HTML %] | |
[% HTML.element(img => { src => 'images/perldancer.jpg' }) %] | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment