Commit cf367de4 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

[gh-732] Use ndash in title tag rather than actual character

parent 581787e9
......@@ -36,8 +36,8 @@
</div>
<div id="preview-footer-wrapper">
<p>Copyright University of NebraskaLincoln | Lincoln, NE 68588 | 402-472-7211 | <a>About UNL</a></p>
<p>Copyright University of Nebraska&ndash;Lincoln | Lincoln, NE 68588 | 402-472-7211 | <a>About UNL</a></p>
<p>UNL is an equal opportunity employer with a comprehensive plan for diversity.</p>
</div>
</div>
\ No newline at end of file
</div>
......@@ -197,12 +197,12 @@ function unl_wdn_preprocess_html(&$vars, $hook) {
}
if (!module_exists('metatag')) {
// Set the <title> tag to UNL format: Page Title | Site Name | University of NebraskaLincoln
// Set the <title> tag to UNL format: Page Title | Site Name | University of Nebraska&ndash;Lincoln
if ($vars['is_front']) {
unset($vars['head_title_array']['title']);
}
if (variable_get('site_name') != 'University of NebraskaLincoln') {
$vars['head_title_array'] = array_merge($vars['head_title_array'], array('UNL' => 'University of NebraskaLincoln'));
if (variable_get('site_name') != 'University of Nebraska&ndash;Lincoln') {
$vars['head_title_array'] = array_merge($vars['head_title_array'], array('UNL' => 'University of Nebraska&ndash;Lincoln'));
}
$vars['head_title'] = implode(' | ', $vars['head_title_array']);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment