added some semantic tags (#61)

This commit is contained in:
Utsob Roy 2023-02-03 21:26:17 +06:00 committed by GitHub
parent a98720e8e3
commit e8ac35e373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,4 @@
<div>
<aside>
<div class="sidebar">
<div class="sidebar-container">
@ -81,7 +81,7 @@
{%endif%}
</div>
</div>
</div>
</aside>
{%if settings.dgShowLocalGraph === true %}
{%include "components/graphScript.njk"%}

View File

@ -20,7 +20,8 @@ permalink: "notes/{{ page.fileSlug | slugify }}/"
{%include "components/searchContainer.njk"%}
{% endif %}
<div class="content cm-s-obsidian">
<main class="content cm-s-obsidian">
<header>
{% if settings.dgShowInlineTitle === true %}
<h1>{% if title %}{{ title }}{% else %}{{ page.fileSlug }}{% endif %}</h1>
{% endif %}
@ -37,8 +38,9 @@ permalink: "notes/{{ page.fileSlug | slugify }}/"
</div>
{% endif %}
</div>
</header>
{{ content | link | taggify | highlight | safe}}
</div>
</main>
{% if settings.dgShowBacklinks === true or settings.dgShowLocalGraph === true or settings.dgShowToc === true%}
{%include "components/sidebar.njk"%}

View File

@ -14,8 +14,8 @@
{% if settings.dgEnableSearch === true %}
{%include "components/searchContainer.njk"%}
{% endif %}
<div class="content cm-s-obsidian">
<main class="content cm-s-obsidian">
<header>
{% if settings.dgShowInlineTitle === true %}
<h1>{{ noteTitle }}</h1>
{% endif %}
@ -33,11 +33,11 @@
</div>
{% endif %}
</div>
</header>
{%- for garden in collections.gardenEntry -%}
{{garden.templateContent | link | taggify | highlight | safe }}
{%- endfor -%}
</div>
</main>
{% if settings.dgShowBacklinks === true or settings.dgShowLocalGraph === true or settings.dgShowToc === true%}
{%include "components/sidebar.njk" %}