This project has two homes. It is ok to work in github, still, for a better decentralized web please consider contributing (issues, PR, etc...) throught:
I use Hakyll to generate my website.
If you want to use this blog for you.
Clone from my repository.
The --depth=1
is highly recommended to make the download far shorter.
git clone -b empty http://github.com/yogsototh/yblog --depth=1
Configure your languages in Config.hs
Install stack
Install nix
Start nix-shell
(only the first time)
compile and launch preview
./auto-update
Scratch/img/about
Multilang.lhs
inside trads
to put your own translation.Abbreviations.lhs
.rm -rf multi/*
rm -rf content/*
Create your own entries in multi
(if you use different languages)
or directly inside Scratch/
Inside multi, the line of your files are filtered the following way. If you work with three languages (say fr, en and de), then
This line will appear in all languages
fr: This line only in French
en: This line only in English
de: This line only in Deutch
Modify the identifier UA-0000000-1
in Scratch/js/index.js
Modify the disqus_shortname
value in templates/post.html
.
To publish to github pages, modify the github conf inside publish.sh
and fastpublish.sh
.
./tools/auto-update
./tools/publish.sh
.