latest 6 messages by darkbit
  
  
    +
    [2016-08-17T11:29:00Z]
    darkbit
    if 'something' is not declared then something.size would return nil
    
  
  
  
    +
    [2016-08-17T11:28:19Z]
    darkbit
    i used {% if site.data.something.size %} do your stuff {% else %} do this when nothing is found {% endif %}
    
  
  
  
    +
    [2016-08-17T04:58:08Z]
    darkbit
    anyway, i got it
    
  
  
  
    +
    [2016-08-17T04:52:10Z]
    darkbit
    How can i check if a data file is present or have no entries? I tried site.data.something == nil or site.data.something.size == 0 but it doesn't seem to work. It seems that jekyll does not create the variable if the data file does not exist and so how can I check the variable's existence?
    
  
  
  
    +
    [2015-11-15T16:42:26Z]
    darkbit
    is there a way to syntax-color a command-line syntax? example git branch [--list] and highlight the symbols and arguments.
    
  
  
  
    +
    [2015-10-14T19:12:47Z]
    darkbit
    how do i display pipe symbol inside a table? I'm using kramdown.