title: In Jekyll, how to change the capitalization rules for converting a file name into a blog post title?
body: <p>I am trying to change the capitalization of my blog posts titles in Jekyll, without having to type it in the yaml title field every time. By default, jekyll convert the file <code>2016-02-22-my-blog-title</code> to the title "My Blog Title", and I want it to be "My blog title".</p>
  
  <p>I have noticed that I can achieve this behavior by modifying <code>_layouts/post.html</code>, and changing the line</p>
  
  <pre><code>&lt;a class="post-link" href="{{ post.url | prepend: site.baseurl }}"&gt;{{ post.title }}&lt;/a&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>&lt;a class="post-link" href="{{ post.url | prepend: site.baseurl }}"&gt;{{ post.title | downcase | capitalize}}&lt;/a&gt;
  </code></pre>
  
  <p>However, this makes it impossible to override the capitalization rules by adding a custom title to the yaml field when needed. For example, it is not possible to capitalize a proper noun that is not the first word of the title. Is it possible to change how the default title is generated from the file name, while still allowing this to be overridden when a title is specified in the yaml fron matter?</p>