sample files from a smithsonian project
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements_hook_preprocess_html().
|
||||
*/
|
||||
function cdesai_emulsify_preprocess_html(&$vars) {
|
||||
if (!empty($vars['head_title']['title'])) {
|
||||
$vars['page']['#share_title'] = $vars['head_title']['title'];
|
||||
} elseif (!empty($vars['head_title']['name'])) {
|
||||
$vars['page']['#share_title'] = $vars['head_title']['name'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user