- Example
- I store notes useing jrnl, then I export them to individual markdown files, which serve as the source for Pelican
- use a seperate Python program and template edits to include my todo list items on tag pages
Batch file
@ECHO off
@ECHO Delete old JRNL export
del S:\Documents\jrnl-pelican\content\*.md
:: Export from JRNL
jrnl --export yaml -o S:\Documents\jrnl-pelican\content\
jrnl dayone --export yaml -o S:\Documents\jrnl-pelican\content\
:: Export from PRJCT
prjct project_entry S:\Documents\jrnl-pelican\content\all_projects.md
:: Pelican
cd S:\Documents\jrnl-pelican
@ECHO Running Pelican...
pelican -s publishconf.py
robocopy S:\Documents\jrnl-pelican\output\ \\ellesmereisland\web\jrnl\ /MIR /nfl /ndl
REM "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "http://ellesmereisland/jrnl/"