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

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);
}
?>