- Fork this repo
- Change name of repo
- edit ./config.md ./index.md ./_assets/favicon.png ./_assets/dp.webp
- use
./blog new
- use
./blog spcheck posts/filename.md
- use
./blog publish
For Dhruva alone, https://stackoverflow.com/a/30352360
This is a template for a Franklin.jl powered blog adapted from the hyde theme, but with a dark theme and some utils.jl
and bash scripts to handle basic blog tasks
As part of the blogging process, most people tend to run their work through a third party spell/grammar check, but these services are either not free (as in libre and as beer), or worse, do not even integrate with text editors. Hence, I have added a utility julia script called LanguageTool.jl which uses a local LanguageTool server to check your code.
LanguageTool has support for (n)vim and vscodium(vscode), and supporting the plugin seems pointless.
The Franklin github action is used unchanged so that blog builds are done at every push.
-
Create a GitHub account
-
Click the "Fork" button on the top right.
-
This will open https://github.com/Your-User-Name/blog-template
-
Click Settings and change the name of the repo to
blog
, or something of your choice. Your blog will then be hosted at https://Your-User-Name.github.io/reponame/ -
On your laptop, install git
-
Run
git clone https://github.com/Your-User-Name/your-repo-name.git
, which creates a connected copy of your blog for you to edit. -
cd your-repo-name
-
edit ./config.md ./index.md ./_assets/favicon.png ./_assets/dp.webp and fill your info.
These steps are only necessary if you want to build the site locally or run spellcheck
- Do all steps as before until the second last step.
- Install julia.
- Run
./blog setupjl
- Run
./blog setuplt
cd reponame
./blog new
. DO NOT change the file name.- Edit your blog post in Markdown
./blog publish
If you also want to build and see your site locally,
./blog serve
If you want to run spellcheck too,
./blog spcheck posts/filename.md
If you decide to use my template, let me know! I'll link your blog on mine, and you do the same!