Fork me on GitHub

Лупайте сю скалу...

Іван Франко

 RSS | Atom

19 June 2015


Selected projects See all »

Banalize: Bash static code analyzerDBIx::Report::ExcelShell settings, AKA dotfilesNagios Monitoring for Couchbase serverNagira: RESTful API for NagiosStartpack for Github pages developmentWeb iPhoto

Travel Blog Витрішки »

Україномовний блог Витрішки - блог про все, крім роботи. Цикл статей "Літо на півночі Японії" з цього блогу тепер опублікований у Витрішках

Computer Blog All posts »

iPhoto and files permission Is MacOSX 10.9 == MacOS 9.x? Running Chef roles from Capistrano und Capiche Github & Jekyll: Speeding up Jekyll siteGithub & Jekyll: More experience with Jekyll and setup changesBuild new hosts with Capistrano and Chef Request Tracker: More about custom CSS for RT4Ruby 2 test drive Nagira v0.2.5 release It's UNIX my dear Watson

Slides See all »

Nagira @TLUG, 2012Rspec and Guard


Ярило Yarylo, Jarilo me @ github me @ CPAN Dmytro (CV)

New tricks and questions with Jekyll

Some new feature added to the blog, but this also brought new questions . I've learned something new about using Jekyll, but at the same time have some new questions not resolved yet .

Tagging and tag cloud

I was playing a bit with different versions of tags clouds. Some of them didn't quite work for me , since they require adding Jekyll plug-ins and Github does not allow running custom plug-ins.

I've ended up with jQuery based tags. Now there's a tag cloud on pages, cross referenced links to tags list. And question:

How to make tags in pages work?

For now site.tags lists only tags in blog posts, but not tags defined in other pages (for example in projects pages). however each individual page list tags when accessed by page.tags.

Ideally I want to see list of all my pages in the tags list. Not found solution for this yet. Keep looking.


All tag cloud related stuff can be downloaded from the Github repo and is in _includes/tag_* files.

Syntax highlight with Pygments

Up until today I was using Gists for inclusion (colored) pieces of code into blog posts. This works quite well, but for many small snippets can be a bit troublesome. Instead I've discovered for myself Pygments, and this is the result:

1 def foo
2   puts 'foo'
3 end

To have that code above colored, simply add highlight tags around your code as in the example below:

{ % highlight ruby linenos % }
  # ....  code here
{ % endhighlight % }

You need to do some preparation too:

  • add pygments: true in _config.yml
  • create CSS file and include reference to it
    • CSS file can be generated easily by: pygmentize -S default -f html > default.css


Dmytro Kovalov (

Source code

дмитро ковальов
dmytro @ github