title: Locale specific date in jekyll
body: <p>I am trying out jekyll for website creation. I am using jekyll-bootstrap. </p>
  
  <p>The default configuration has the page archive, where all the posts are listed grouped by year and month of the post date. Currently the months appear in English. I've looked at the code and this is an excerpt which is responsible for putting the date:</p>
  
  <pre><code>{% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
  </code></pre>
  
  <p>I've found a lot of information <a href="http://guides.rubyonrails.org/i18n.html#adding-date-time-formats" rel="noreferrer">here</a>, so there is a way to specify the desired locale. But how can you make jekyll respect it? Simply adding</p>
  
  <pre><code>default_locale: "lt"
  </code></pre>
  
  <p>in <code>_config.yml</code> naturally does not work. </p>