mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 04:35:20 +00:00
added some semantic tags (#61)
This commit is contained in:
parent
a98720e8e3
commit
e8ac35e373
@ -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"%}
|
||||
|
@ -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"%}
|
||||
|
@ -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" %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user