A Jekyll digital garden template, optimized for integration with Obsidian. It aims to enhance discoverability and help you build a personal knowledge base that can scale with time.
Furthermore I create a python script to do some functionality with the template :
The script :
Moves file (with share: true frontmatter or specific file) in the _notes folder
Moves image in assets/img and convert (with alt support)
Converts highlight (==mark== to [[mark::highlight]])
Converts "normal" writing to GFM markdown (adding \n each \n)
Supports image flags css (Lithou snippet 🙏)
Frontmatter : In absence of date, add the day's date
Frontmatter : In absence of title, add the file's title.
By adding, in the yaml of your file, the key share: true, you allow the script to publish the file. In fact, the script will read all the files in your vault before selecting the ones meeting the condition.
By default, the script will check the difference between line, and convert only the file with difference. You can use --f to force update.
To share only a file, it does not need to containshare: true in its YAML.
(note : You need to create an .env file with the path of your vault, and don't forget to install the requirements !)
There are several way to use the script :
python3 sharing.py directly to convert, commit and push all file containing share: true in the frontmatter
python3 sharing.py <file> to convert specific file (without using the frontmatter)
First, fix #15
Furthermore I create a python script to do some functionality with the template :
The script :
\n
each\n
)By adding, in the yaml of your file, the key
share: true
, you allow the script to publish the file. In fact, the script will read all the files in your vault before selecting the ones meeting the condition.By default, the script will check the difference between line, and convert only the file with difference. You can use
--f
to force update.To share only a file, it does not need to contain
share: true
in its YAML.(note : You need to create an
.env
file with the path of your vault, and don't forget to install the requirements !)There are several way to use the script :
python3 sharing.py
directly to convert, commit and push all file containingshare: true
in the frontmatterpython3 sharing.py <file>
to convert specific file (without using the frontmatter)You can use some option :
--F
: Don't delete file if already exist.--G
: Prevent git to commit and push--f
: Force the update of file (aka delete file)For more informations, please, read the readme : https://github.com/Mara-Li/yes-another-free-publish/tree/owlly-house