1
Fork 0

added support for yandex bar customization

This commit is contained in:
Jake Howard 2015-06-14 18:02:08 +01:00
parent e4a50290d0
commit 3748cb136c
1 changed files with 9 additions and 0 deletions

View File

@ -7,4 +7,13 @@ function load_properties(){
fclose($property_file);
return yaml_parse($YAML);
}
function yandex_meta($properties) {
foreach ($properties as &$value){
if ($value != "fade"){
$value = "#" . $value;
}
}
echo vsprintf("<meta name=\"viewport\" content=\"ya-title=%s,ya-dock=%s\" />", $properties);
}
?>