Summary: Previously, I have used Notion to write documents. However, as the number of contents is getting bursty, it is hard to organize them. Also, another problem is that I have some private documents. I want to publish public docs while hiding private ones. Thus, I start this blog + resume site using Jekyll.
In writing a paper summary / blog post, my choice is using Obsidian, a markdown editor. I share you my setting making Obsidian capable of Jekyll site.
1. Jekyll configs
⚠️ Before use this, please make your repository private.
- Add the below lines to your
_config.yml
file.
exclude:
- _posts/private
- Make the following folders
_posts/private
assets/post_images
A simpler way to setup your posts private is setting front matters published: false
. However, in my case, my focus is on excluding all the posts in a specific folder when page building. - To show your private posts locally, run bundle exec jekyll serve --unpublished
. ## 2. Obsidian Setting
3.1. Go preference - file/link
- Turn off
Use [[Wikilinks]]
. - New link format:
Relative to file
- Default location for new attachments:
In the folder specific below
- Attachment folder path:
assets/post_images
2.2. Useful Plugins & Theme
- Daily note: This plugin enables us to created formatted post.
2.3. Tips
Your obsidian configuration is saved in .obsidian
. So, I recommend do not add .obsidian
in .gitignore
.