We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d60d249 commit 3f73085Copy full SHA for 3f73085
layout/_partial/random_posts.ejs
@@ -17,10 +17,9 @@
17
for(var j=0;j<arr.length;j++){
18
var item=arr[j];
19
html += '<li><strong>' +
20
- item.date + ': <a href="' + item.path + '">' +
+ item.date + ': <a href="' + (site.BASE_URI+item.uri) + '">' +
21
(item.title || item.uri) + '</a></strong>'+
22
- '<div class="post-excerpt">'+item.excerpt+'</div>'+
23
- ' </li>';
+ '<div class="post-excerpt">'+item.excerpt+'</div></li>';
24
}
25
$(obj).html(html + '</ul>');
26
0 commit comments