mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 20:55:21 +00:00
54 lines
1.7 KiB
Plaintext
54 lines
1.7 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"%}
|
|
</head>
|
|
<body class="theme-{{meta.baseTheme}} markdown-preview-view markdown-rendered markdown-preview-section">
|
|
{%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>{% 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>
|
|
</header>
|
|
{{ content | link | taggify | highlight | safe}}
|
|
</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 %}
|
|
</body>
|
|
</html>
|