Skip to content

Commit d3fad45

Browse files
urls fix
1 parent feda3c3 commit d3fad45

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

views/dashboard.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ block content
6262
each link, index in project.links
6363
-link = link.replace(' ','')
6464
if(index != project.links.length - 1)
65-
a(href=link.replace(/^[^hh]/, 'http://$&'), target="blank")= link
65+
a(href=link.replace(/^[^hH]ttp/, 'http://$&'), target="blank")= link
6666
| |
6767
else
68-
a(href=link.replace(/^[^hh]/, 'http://$&'), target="blank")= link
68+
a(href=link.replace(/^[^hH]ttp/, 'http://$&'), target="blank")= link
6969

7070

7171

0 commit comments

Comments
 (0)