Correct indenting
parent
20688f0efe
commit
b7e33b8721
|
@ -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 => {
|
||||
|
|
|
@ -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 => {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue