mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-07 05:05:20 +00:00

* hide dataview variable * Update note.njk --------- Co-authored-by: Ole Eskild Steensen <oleeskild@users.noreply.github.com>
51 lines
1.6 KiB
Plaintext
51 lines
1.6 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{{ noteTitle }}</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>{{ noteTitle }}</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>
|
|
{%- for garden in collections.gardenEntry -%}
|
|
{{garden.templateContent | hideDataview | link | taggify | highlight | safe }}
|
|
{%- 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 %}
|
|
</body>
|
|
</html>
|