mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-07-23 10:30:36 +00:00
Implement show inline title setting
This commit is contained in:
parent
cc476d6a92
commit
ba366f0fa9
@ -15,6 +15,9 @@ permalink: "notes/{{ page.fileSlug | slugify }}/"
|
||||
{% if dgHomeLink !== false%}
|
||||
<a href="/">🏡 Back Home</a>
|
||||
{% endif %}
|
||||
{% if dgShowInlineTitle === true %}
|
||||
<h1>{{ page.fileSlug }}</h1>
|
||||
{% endif %}
|
||||
{{ content | link | highlight | safe}}
|
||||
|
||||
{% if dgShowBacklinks === true or dgShowLocalGraph === true%}
|
||||
|
@ -8,10 +8,14 @@
|
||||
{%include "components/notegrowthhistory.njk"%}
|
||||
<div class="content">
|
||||
|
||||
{% if collections.gardenEntry[0].dgShowInlineTitle === true %}
|
||||
<h1>{{ collections.gardenEntry[0].fileSlug }}</h1>
|
||||
{% 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%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user