Hi,
I am wanting to automatically set a different title tag when requesting the site asset.
To achieve this I have added the following code to my parse file
<MySource_AREA id_name="title" design_area="show_if">
<MySource_SET name="condition" value="asset_type"/>
<MySource_SET name="condition_types" value="site" />
<MySource_THEN><title>%globals_site_metadata_Site_Name_EN% :%asset_type% : University of Waikato</title></MySource_THEN>
<MySource_ELSE><title>%asset_name% - %globals_site_metadata_Site_Name_EN% :%asset_type% : University of Waikato</title></MySource_ELSE>
</MySource_AREA>
When requesting the site: I get <title>ResponsiveSite - Responsive Test Site :Site : University of Waikato</title> this is showing that the asset type is a site, but the else condition is being executed.
Requesting a std page within the site the title is <title>link1 - Responsive Test Site :Standard Page : University of Waikato</title> - returning the else condition as expected.
It seems rather odd that the asset type keyword is returning Site, while the show if condition asset type is site is never true.
Is this a bug? I am running Squiz Matrix 5.1.5.
Thanks Georgina.