Skip to content

theianjones/ianjones.us

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set up

If you are cloning this, you will need to do a couple things:

  1. add a git submodule to this repo (steps below)
  2. 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

Git submodules

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.

Important Commands

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

Notes Prefix

You can control the prefix you publish your notes under with NOTES_PREFIX. The default is set to /notes