diff --git a/lib/main/build-site.js b/lib/main/build-site.js index a03883ac6..67f97b097 100644 --- a/lib/main/build-site.js +++ b/lib/main/build-site.js @@ -19,7 +19,7 @@ function build(type) { .attr('class', null) .attr('id', null); - $(':header > a').each(function() { + $(':header > a[href]').each(function() { var $a = $(this); $a.replaceWith($a.html()); });