added support for yandex bar customization
This commit is contained in:
parent
e4a50290d0
commit
3748cb136c
1 changed files with 9 additions and 0 deletions
|
@ -7,4 +7,13 @@ function load_properties(){
|
||||||
fclose($property_file);
|
fclose($property_file);
|
||||||
return yaml_parse($YAML);
|
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);
|
||||||
|
}
|
||||||
?>
|
?>
|
Reference in a new issue