inSileco / inSileco.github.io

:globe_with_meridians: Our blog powered by blogdown
https://blog.insileco.io/
GNU General Public License v3.0
8 stars 1 forks source link

add tocify to add useful and good-looking tables of content to our posts #47

Closed KevCaz closed 6 years ago

KevCaz commented 6 years ago

This PR add tocify to our blog which. To do so, I

  1. added all required libraries, i.e. jquerry-ui and tocify (boostrap and jquerry were already installed);
  2. I slightly change the layout of the post, basically, 3 col for toc 8 for the post, the remaining column is used to let some space on the right ;
  3. now headers of level 1 are reserved for posts title, titles 2 and 3 are used as selector in the toc (this is now mention the guide lines);
  4. I review the trickortips shortcode, title 3 is used as when I used a title 2, there was an interaction between the shortcode and tocify;
  5. this closes #46.