Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The skeletontheme_breadcrumb() function in template.php outputs an HTML5 nav tag while the rest of the theme utilizes XHTML+RDFa 1.0. This function should use div instead.
function skeletontheme_breadcrumb($variables) {
$breadcrumb = $variables['breadcrumb'];
if (!empty($breadcrumb)) {
// Use CSS to hide titile .element-invisible.
$output = '<h2 class="element-invisible">' . t('You are here') . '</h2>';
// comment below line to hide current page to breadcrumb
$breadcrumb[] = drupal_get_title();
$output .= '<nav class="breadcrumb">' . implode('<span class="sep">»</span>', $breadcrumb) . '</nav>';
return $output;
}
}
On a less critical note, »
should be used in place of a literal right angle quote symbol.
Comments
Comment #1
gtsopour CreditAttribution: gtsopour commentedComment #2
gtsopour CreditAttribution: gtsopour commentedThank you aberger for this report. I will examine this issue directly.
Thanks
George
Comment #3
gtsopour CreditAttribution: gtsopour commentedJust made and committed this change http://drupalcode.org/project/skeletontheme.git/commit/daf10d1
Thanks
George
Comment #4.0
(not verified) CreditAttribution: commentedfixed a mistake