Modify links so they'll open in a new tab because they aren't
always secure https links.
Signed-off-by: McCanna <tmccanna@georgialibraries.org>
[%-
lib_url = ctx.get_org_setting(ctx.library.id, 'lib.info_url');
IF lib_url;
- '<div id="library-url"><a href="'; lib_url | html; '" property="url">'; l('Library web site'); '</a></div>';
+ '<div id="library-url"><a href="'; lib_url | html; '" property="url" target="_blank">'; l('Library web site'); '</a></div>';
END;
-%]
<span property="addressRegion">[% ctx.mailing_address.state | html %]</span>
<span property="postalCode">[% ctx.mailing_address.post_code | html %]</span><br />
<br />
- <a href="http://www.google.com/maps/place/[% ctx.mailing_address.street1 | html %]+[% ctx.mailing_address.street2 | html %]+[% ctx.mailing_address.city | html %]+[% ctx.mailing_address.state | html %]+[% ctx.mailing_address.post_code | html %]"> Generate Map & Directions</a>
+ <a href="http://www.google.com/maps/place/[% ctx.mailing_address.street1 | html %]+[% ctx.mailing_address.street2 | html %]+[% ctx.mailing_address.city | html %]+[% ctx.mailing_address.state | html %]+[% ctx.mailing_address.post_code | html %]" target="_blank"> Generate Map & Directions</a>
</div>
</div>
[%- END; %]