This is my oversimplified version of the plugin's instructions here.
The notes you want to see published must have dg-publish: true
on their frontmatter:
---
dg-publish: true
---
The one you wanna see as your home page must have this on the frontmatter:
---
dg-publish: true
dg-home: true
---
Currently there's no way to publish all notes by default (I opened an issue with requesting this feature).
As a workaround I created a script that works nice for my workflow: https://gist.github.com/meleu/f9667e76a2744d46686702edeb3cc77c
Requirement: the vault itself must be a git repository (what I usually do).
The script adds a dg-publish: true
to all versioned *.md
files that don't have a dg-publish:
defined in it's frontmatter.
Consequences of this:
dg-publish: true
dg-publish:
(any value) in its frontmatter won't be touchedWhile the feature requested in the OP is not implemented, I'll be using that script as pre-commit git hook.
My favorite ones come in the top