pidgin/nest
Clone
Summary
Browse
Changes
Graph
Eliminate a stray "the"
Richard-Laager/eliminate-a-stray-the-1579054201777
2020-01-15, Richard Laager
35aff5a82d24
Eliminate a stray "the"
<
a
{{
with
.Get
"href"
}}
href
=
"
{{
.
}}
"
target
=
"_blank"
{{
end
}}
class
=
"btn btn-default"
>
{{
$
icon
:=
.Get
"icon"
}}
{{
$
iconposition
:=
.Get
"icon-position"
}}
{{
if
(
$
icon
)
}}
{{
if
or
(
not
(
$
iconposition
))
(
eq
$
iconposition
"left"
)
}}
<
i
class
=
"
{{
$
icon
}}
"
></
i
>
{{
end
}}
{{
end
}}
{{
.Inner
}}
{{
if
and
(
$
icon
)
(
eq
$
iconposition
"right"
)
}}
<
i
class
=
"
{{
$
icon
}}
"
></
i
>
{{
end
}}
</
a
>