mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 20:55:21 +00:00
Correct 404 styling and add dghomelink logic
This commit is contained in:
parent
441793f023
commit
90a259509e
@ -3,9 +3,15 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Nothing here</title>
|
||||
<link href="/styles/digital-garden-base.css" rel="stylesheet">
|
||||
{%-if meta.themeStyle%}
|
||||
<link href="/styles/obsidian-base.css" rel="stylesheet">
|
||||
{{meta.themeStyle | safe}}
|
||||
{% else %}
|
||||
<link href="/styles/style.css" rel="stylesheet">
|
||||
<link href="/styles/custom-style.css" rel="stylesheet">
|
||||
{%endif%}
|
||||
|
||||
<link href="/styles/custom-style.css" rel="stylesheet">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
|
||||
@ -16,7 +22,7 @@
|
||||
<div class="font-bg"> 😎 </div>
|
||||
<h1>There is nothing here</h1>
|
||||
<p>If you got here from a link, this note is probably not made public</p>
|
||||
<a href="/">Go back to garden entry</a>
|
||||
<a href="/">Go back home</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -12,7 +12,9 @@ permalink: "notes/{{ page.fileSlug | slugify }}/"
|
||||
{%include "components/notegrowthhistory.njk"%}
|
||||
|
||||
<div class="content">
|
||||
{% if dgHomeLink !== false%}
|
||||
<a href="/">🏡 Back Home</a>
|
||||
{% endif %}
|
||||
{{ content | safe}}
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user