Skip to content

Commit 3f73085

Browse files
committed
fix url
1 parent d60d249 commit 3f73085

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

layout/_partial/random_posts.ejs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
for(var j=0;j<arr.length;j++){
1818
var item=arr[j];
1919
html += '<li><strong>' +
20-
item.date + ':&nbsp;&nbsp;<a href="' + item.path + '">' +
20+
item.date + ':&nbsp;&nbsp;<a href="' + (site.BASE_URI+item.uri) + '">' +
2121
(item.title || item.uri) + '</a></strong>'+
22-
'<div class="post-excerpt">'+item.excerpt+'</div>'+
23-
' </li>';
22+
'<div class="post-excerpt">'+item.excerpt+'</div></li>';
2423
}
2524
$(obj).html(html + '</ul>');
2625
}

0 commit comments

Comments
 (0)