Correct indenting

master
Ben Moon 2016-04-13 17:55:41 +01:00
parent 20688f0efe
commit b7e33b8721
4 changed files with 11 additions and 12 deletions

View File

@ -1,9 +1,8 @@
package DDG::Goodie::<: $ia_package_name :>;
# ABSTRACT: Write an abstract here
# Start at http://docs.duckduckhack.com/walkthroughs/calculation.html if you are new
# to instant answer development
# Start at http://docs.duckduckhack.com/walkthroughs/calculation.html if
# you are new to instant answer development
use DDG::Goodie;
use strict;
@ -36,9 +35,9 @@ handle <: $ia_handler :> => sub {
structured_answer => {
data => {
title => "My Instant Answer Title",
subtitle => "My Subtitle",
# image => "http://website.com/image.png"
title => "My Instant Answer Title",
subtitle => "My Subtitle",
# image => "http://website.com/image.png",
},
templates => {

View File

@ -1,6 +1,6 @@
package DDG::Goodie::<: $ia_package_name :>;
# ABSTRACT: Write an abstract here
# Start at https://duck.co/duckduckhack/goodie_overview if you are new
# to instant answer development
@ -22,7 +22,7 @@ handle <: $ia_handler :> => sub {
structured_answer => {
data => {
<: $ia_handler :> => \<: $ia_handler_var :>_
<: $ia_handler :> => \<: $ia_handler_var :>_,
},
templates => {

View File

@ -1,4 +1,4 @@
<span>{{name}}</span>
<a href="http://some.url/profile/data1">
<img src="/iu/?u=Place a image url here">
<img src="/iu/?u=Place a image url here">
</a>

View File

@ -17,9 +17,9 @@ sub build_structured_answer {
structured_answer => {
data => {
title => "My Instant Answer Title",
subtitle => "My Subtitle",
# image => "http://website.com/image.png"
title => "My Instant Answer Title",
subtitle => "My Subtitle",
# image => "http://website.com/image.png",
},
templates => {