obsidian-digital-garden

Cheatsheet for obsidian-digital-garden so that I don't have to open dg-docs.ole.dev all the time. See: How does this site work?

Note-specific settings

The following goes in note's metadata at the top of the page.

It's also possible to set custom meta tags in <head>:

dg-metatags:
    description: "some description"
	"og:image": "https//example.com/someimage.png"

Adding custom components

Doing things the official way means you'd be able to merge obsidian-digital-garden updates when they get released.

Create a custom file in src/site/_includes/components/user/<namespace>/<slot>/<filename>.njk. Filename should be the name of the feature.

Namespaces

Slots


To include custom JavaScript, place it in src/site/scripts and reference it like this:

<script src="/scripts/custom-script.js" />

Unless specified otherwise, this work is licensed under a Creative Commons BY-NC-SA 4.0.