diff --git a/src/site/_includes/layouts/note.njk b/src/site/_includes/layouts/note.njk index 61e5dc0..04f3b8f 100644 --- a/src/site/_includes/layouts/note.njk +++ b/src/site/_includes/layouts/note.njk @@ -15,6 +15,9 @@ permalink: "notes/{{ page.fileSlug | slugify }}/" {% if dgHomeLink !== false%} 🏡 Back Home {% endif %} + {% if dgShowInlineTitle === true %} +

{{ page.fileSlug }}

+ {% endif %} {{ content | link | highlight | safe}} {% if dgShowBacklinks === true or dgShowLocalGraph === true%} diff --git a/src/site/index.njk b/src/site/index.njk index a56a9a6..5b556ec 100644 --- a/src/site/index.njk +++ b/src/site/index.njk @@ -8,10 +8,14 @@ {%include "components/notegrowthhistory.njk"%}
+ {% if collections.gardenEntry[0].dgShowInlineTitle === true %} +

{{ collections.gardenEntry[0].fileSlug }}

+ {% endif %} {%- for garden in collections.gardenEntry -%} {{garden.templateContent | link | highlight | safe }} {%- endfor -%} + {%if collections.gardenEntry[0].data.dgShowBacklinks === true or collections.gardenEntry[0].data.dgShowLocalGraph === true%} {%include "components/sidebar.njk" %} {%endif%}