We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eacc60 commit eeef317Copy full SHA for eeef317
data/layout.pug
@@ -17,7 +17,7 @@ mixin disqus(shortname)
17
mixin menu(m, depth)
18
li.menu-item(class=('-level-' + depth + (m.sections ? ' -parent' : '')))
19
if m.url
20
- a.link.title(href=(base + m.url + (m.anchor || '')) class=((active === m.url && !m.anchor ? '-active' : '') + (' link-' + m.slug)))= m.title
+ a.link.title(href=(((m.url.match(/^[a-z]+:\/\//) || m.url.match(/^mailto:/) || m.url.match(/^#/)) ? '' : base) + m.url + (m.anchor || '')) class=((active === m.url && !m.anchor ? '-active' : '') + (' link-' + m.slug)) )= m.title
21
else if m.title
22
span.title= m.title
23
0 commit comments