{stash:embed:global-v4:base}
{exp:stash:set_list trim="yes" name="{stash:entry_id}_entry_data" parse_tags="yes" parse_conditionals="yes"}
{exp:speedy:fragment key="data-entry-vars-v3" tags="{stash:entry_id}-{stash:url_title}|{segment_1}" ttl="0"}
{stash:embed:data-v5:pages-vars}
{/exp:speedy:fragment}
{/exp:stash:set_list}
{exp:stash:get_list name="{stash:entry_id}_entry_data" parse_tags="yes" parse_conditionals="yes" process="inline"}
{!-- Set the Entry Title --}
{exp:stash:set name="{stash:entry_id}_meta_title" trim="yes"}
{if meta_title==title}{meta_title} | Hawaii Travel Guide{if:elseif meta_title}{meta_title}{if:elseif heading==title}{heading} | Hawaii Travel Guide{if:elseif heading}{heading}{if:else}{title}{/if}
{/exp:stash:set}
{exp:stash:set name="{stash:entry_id}_canonical_url" trim="yes" parse_tags="yes" parse_conditionals="yes" save="yes"}
https://www.hawaii-guide.com{section_url}{if type_url}{type_url}{/if}{if classification_url}{classification_url}{/if}{if '{url_title}'!='' && '{segment_1}'!=''}/{url_title}{/if}
{/exp:stash:set}
{exp:stash:set name="{stash:entry_id}_channel_name" trim="yes" parse_tags="yes" parse_conditionals="yes"}
{channel_short_name}
{/exp:stash:set}
{exp:stash:set name="{stash:entry_id}_meta_desc" trim="yes" parse_tags="yes" parse_conditionals="yes"}
{exp:low_replace find='"' replace="'"}{meta_description}{/exp:low_replace}
{/exp:stash:set}
{!-- HEADER TAGS --}
{exp:stash:set name="{stash:entry_id}_header_css" parse_tags="yes"}
{if '{entry_photos}'=='yes' || '{gallery-block-check}'=='Yes'} {/if}
{block_css}
{/exp:stash:set}
{exp:stash:set name="{stash:entry_id}_header_tags"}
{/exp:stash:set}
{exp:stash:set name="{stash:entry_id}_footer_tags"}
{block_scripts}
{footer_scripts}
{if '{segment_1}'==''}
{/if}
{if '{segment_1}'==''}
{/if}
{if '{allow_advertising}'=='No' && '{entry_limited_ads}'=='Yes' && '{channel_short_name}'!='advertisers' && '{segment_2}'!='accommodations' && '{segment_2}'!='tours' && '{segment_2}'!='activities' && '{current_query_string}'!='live=' && '{current_query_string}'!='live=cleared' && '{current_query_string}'!='live=ee-cleared' && '{current_query_string}'!='live=cf-cleared'}
{!--AdThrive and Adsense Ad Code with delay determined by device or cookie; does not load in LIVE query string mode --}
{!-- ad-code-split -- ad-code-together -- ad-code-raptive -- ad-code-adsense --}
{ad-code-together}
{if:elseif '{allow_advertising}'=='No' && '{entry_limited_ads}'=='No' && '{channel_short_name}'!='advertisers' && '{segment_2}'!='accommodations' && '{segment_2}'!='tours' && '{segment_2}'!='activities' && '{current_query_string}'!='live=' && '{current_query_string}'!='live=cleared' && '{current_query_string}'!='live=ee-cleared' && '{current_query_string}'!='live=cf-cleared'}
{if:elseif '{current_query_string}'!='live=' && '{current_query_string}'!='live=cleared' && '{current_query_string}'!='live=ee-cleared' && '{current_query_string}'!='live=cf-cleared'}
{!--AdThrive and Adsense Ad Code with delay determined by device or cookie; does not load in LIVE query string mode --}
{!-- ad-code-split -- ad-code-together -- ad-code-raptive -- ad-code-adsense --}
{ad-code-together}
{/if}
{/if}{!--allow_ads--}
{/exp:stash:set}
{exp:stash:set name="{stash:entry_id}_body_class" trim="yes" parse_tags="yes" parse_conditionals="yes"}
{if ('{segment_1}'=='kauai' && '{segment_2}'=='' ) || ('{segment_1}'=='oahu' && '{segment_2}'=='' ) || ('{segment_1}'=='maui' && '{segment_2}'=='' ) || ('{segment_1}'=='big-island' && '{segment_2}'=='' )} no-footer-ad no-outstream-player{/if}
{if ('{allow_advertising}'=='No' && '{entry_limited_ads}'=='No')} no-footer-ad no-outstream-player{/if}
{if ('{allow_advertising}'=='No' && '{entry_limited_ads}'=='Yes')} no-outstream-player{/if}
{if '{disable-inline-video}'=='yes'} no-outstream-player{/if}
{if '{channel_short_name}'=='advertisers'} no-footer-ad no-outstream-player{/if}
{if '{video_url}'!='' && '{video_status}'=='ON'} video-page{/if}
{if '{hero_size}'=='Cover'} cover-page{/if}
{if '{allow_advertising}'=='No'} reg-divider{if:else} ad-divider{/if}
{!--no-footer-ad--}
{/exp:stash:set}
{exp:stash:set name="{stash:entry_id}_body"}
Comments & Questions
Leave a Response
Our Comments & Questions policy: