mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 04:35:20 +00:00
86 lines
2.8 KiB
Plaintext
86 lines
2.8 KiB
Plaintext
---
|
|
permalink: "notes/{{ page.fileSlug | slugify }}/"
|
|
---
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{% if title %}{{ title }}{% else %}{{ page.fileSlug }}{% endif %}</title>
|
|
{%include "components/pageheader.njk"%}
|
|
{% for imp in dynamics.common.head %}
|
|
{% include imp %}
|
|
{% endfor %}
|
|
{% for imp in dynamics.notes.head %}
|
|
{% include imp %}
|
|
{% endfor %}
|
|
</head>
|
|
<body class="theme-{{meta.baseTheme}} markdown-preview-view markdown-rendered markdown-preview-section {{meta.bodyClasses}}">
|
|
{%include "components/notegrowthhistory.njk"%}
|
|
|
|
{% if settings.dgShowFileTree !== true %}
|
|
{%include "components/navbar.njk"%}
|
|
{%else%}
|
|
{%include "components/filetree.njk"%}
|
|
{% endif %}
|
|
|
|
{% if settings.dgEnableSearch === true %}
|
|
{%include "components/searchContainer.njk"%}
|
|
{% endif %}
|
|
|
|
<main class="content cm-s-obsidian">
|
|
<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>
|
|
{% endif %}
|
|
<div class="header-meta">
|
|
{% if settings.dgShowTags === true and tags %}
|
|
<div class="header-tags">
|
|
{% for tag in tags %}
|
|
{% if tag != 'gardenEntry' and tag !='note' %}
|
|
<a class="tag" onclick="toggleTagSearch(this)">
|
|
#{{tag}}
|
|
</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% for imp in dynamics.common.header %}
|
|
{% include imp %}
|
|
{% endfor %}
|
|
{% for imp in dynamics.notes.header %}
|
|
{% include imp %}
|
|
{% endfor %}
|
|
</header>
|
|
{% for imp in dynamics.common.beforeContent %}
|
|
{% include imp %}
|
|
{% endfor %}
|
|
{% for imp in dynamics.notes.beforeContent %}
|
|
{% include imp %}
|
|
{% endfor %}
|
|
{{ content | hideDataview | link | taggify | safe}}
|
|
{% for imp in dynamics.common.afterContent %}
|
|
{% include imp %}
|
|
{% endfor %}
|
|
{% for imp in dynamics.notes.afterContent %}
|
|
{% include imp %}
|
|
{% endfor %}
|
|
</main>
|
|
|
|
{% if settings.dgShowBacklinks === true or settings.dgShowLocalGraph === true or settings.dgShowToc === true%}
|
|
{%include "components/sidebar.njk"%}
|
|
{% endif %}
|
|
|
|
{% if settings.dgLinkPreview === true %}
|
|
{%include "components/linkPreview.njk"%}
|
|
{% endif %}
|
|
{% include "components/references.njk" %}
|
|
{% for imp in dynamics.common.footer %}
|
|
{% include imp %}
|
|
{% endfor %}
|
|
{% for imp in dynamics.notes.footer %}
|
|
{% include imp %}
|
|
{% endfor %}
|
|
{%include "components/lucideIcons.njk"%}
|
|
</body>
|
|
</html>
|