assets/includes/sidebar.html in jekyll-obsidian-1.1.5 vs assets/includes/sidebar.html in jekyll-obsidian-1.1.6
- old
+ new
@@ -47,9 +47,11 @@
<script>
function loadHomepage() {
let homepage = '{{ site.obsidian_homepage | escape }}';
if (homepage) {
if (homepage.endsWith('.md'))
+ homepage = homepage.replace('.md', '.mdj');
+ if (homepage.endsWith('.mdj'))
{
switchPage(homepage);
loadNote(homepage);
}
}
\ No newline at end of file