If you are cloning this, you will need to do a couple things:
- add a git submodule to this repo (steps below)
- create
.env.local
by copying the values from.env.template
.
ORG_ROAM_SUBMODULE_DIRECTORY
is the name of the submodule directory you cloned in the previous step.
PUBLISHED_ATTRIBUTE
is the attribute on you .org
file that indicates you want this project to source the file. Something like this:
#+title: title of your post #+published: true
I use git submodules to host the content of this blog without open sourcing it.
You can add your own sub module by following this blog post by Tania Rascia.
Make sure the submodule is recursive:
git config --global submodule.recurse true
Add a sub module to your repo:
git submodule add <repo>
Update a submodule:
git submodule update --remote
You can control the prefix you publish your notes under with NOTES_PREFIX
. The default is set to /notes