New York State Police

K9 Kane

K9 Kane
K9 Name: Kane
Troop: Troop H - Special Operations
Handler: T/Sgt. Douglas J. Colwell
DOB: 08/21/2010
Breed/Sex: German Shepherd Male
Specialty: Narcotics/Cadaver
Namesake: Tpr. Gerard B. Kane
{# url portion from link field, title from referenced node, title portion from link field #} {# if node type is whitelisted content make sure to use url field FROM the node and not url OF the node #} {% if (entity_type[i] == 'webny_whitelisted_content') %} {# if title is not empty print title, else print url in title and link text #} {% if (paragraph.field_webny_card_entity_ref[i].entity.field_webny_whitelist_link_url.0.title is not empty) %} {{ paragraph.field_webny_card_entity_ref[i].entity.field_webny_whitelist_link_url.0.title }} {% else %} {{ paragraph.field_webny_card_entity_ref[i].entity.field_webny_whitelist_link_url.0.url }} {% endif %} {# included for event card #} {% else if (entity_type[i] == 'whatever_event_content_value_is') %} {% if (paragraph.field_webny_card_entity_ref[i].entity.FIELD_OF_REDIRECT_URL.0.title is not empty) %} {{ paragraph.field_webny_card_entity_ref[i].entity.FIELD_OF_REDIRECT_URL.0.title }} {% else %} LEARN MORE {% endif %} {% else %} LEARN MORE {% endif %}