Skip to content

Commit ffe0ddc

Browse files
committed
Show title in home note
1 parent 7f3e710 commit ffe0ddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/site/_includes/layouts/index.njk‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<main class="content cm-s-obsidian print {{contentClasses}}">
2424
<header>
2525
{% if settings.dgShowInlineTitle === true %}
26-
<h1>{{ noteTitle }}</h1>
26+
<h1>{% if title %}{{ title }}{% else %}{{ page.fileSlug }}{% endif %}</h1>
2727
{% endif %}
2828

2929
<div class="header-meta">

0 commit comments

Comments
 (0)