mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-04 12:00:02 +00:00
contentClasses from settings (#132)
This commit is contained in:
parent
d7dca4e45f
commit
4b93ad4e43
@ -20,7 +20,7 @@
|
||||
{% if settings.dgEnableSearch === true %}
|
||||
{%include "components/searchContainer.njk"%}
|
||||
{% endif %}
|
||||
<main class="content cm-s-obsidian">
|
||||
<main class="content cm-s-obsidian {{contentClasses}}">
|
||||
<header>
|
||||
{% if settings.dgShowInlineTitle === true %}
|
||||
<h1>{{ noteTitle }}</h1>
|
||||
|
@ -26,7 +26,7 @@ permalink: "notes/{{ page.fileSlug | slugify }}/"
|
||||
{%include "components/searchContainer.njk"%}
|
||||
{% endif %}
|
||||
|
||||
<main class="content cm-s-obsidian">
|
||||
<main class="content cm-s-obsidian {{contentClasses}}">
|
||||
<header>
|
||||
{% if settings.dgShowInlineTitle === true %}
|
||||
<h1 data-note-icon="{% if noteIcon %}{{noteIcon}}{% else %}{{meta.noteIconsSettings.default}}{% endif %}">{% if title %}{{ title }}{% else %}{{ page.fileSlug }}{% endif %}</h1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user