You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yann Esposito (Yogsototh) 875d35fb3e
brutalist css theme
3 years ago
content brutalist css theme 3 years ago
cv use stack and updated resume 5 years ago
multi/blog Correct some typos 3 years ago
src added keybase proof 4 years ago
tools added css + nix for better build reproductibility 3 years ago
.gitignore emacs 4 years ago
LICENSE updated the license 7 years ago
README.md Updated README 4 years ago
img_latest_blog_dir wip 4 years ago
latest.md wip 4 years ago
shell.nix added css + nix for better build reproductibility 3 years ago
stack.yaml brutalist css theme 3 years ago
yblog.cabal upgraded 4 years ago

README.md

yannesposito.com Source code

I use Hakyll to generate my website.

If you want to use this blog for you.

INSTALL

  1. Install: rvm and use 1.9.1, gem install sass.

  2. Clone the branch ‘clean’ from my repository. The --depth=1 is highly recommended to make the download far shorter.

    git clone http://github.com/yogsototh/yblog -b clean --depth=1
    
  3. Configure your languages in Config.hs

  4. compile and launch preview

    ./auto-update
    

Content Initialization

  1. Add an avatar.png image in Scratch/img/about
  2. You might want to change Multilang.lhs inside trads to put your own translation.
  3. You might want to add some abbreviations time to time Abbreviations.lhs.

Adding articles

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

Third services configuration

Google Analytics

Modify the identifier UA-0000000-1 in Scratch/js/index.js

Disqus

Modify the disqus_shortname value in templates/post.html.

Publish to github pages

To publish to github pages, modify the github conf inside publish.sh and fastpublish.sh.

Workflow

  1. Open a terminal and type ./auto-update
  2. edit content inside Scratch or multi
  3. Once happy, ./publish.sh.