Skip to content

Commit

Permalink
contentClasses from settings (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
uroybd authored Apr 25, 2023
1 parent d7dca4e commit 4b93ad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/site/_includes/layouts/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/site/_includes/layouts/note.njk
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 4b93ad4

Please sign in to comment.