graphics3d
word-cloud
math.se
This is my categories
Why they are all lowercase.
How can I make them into Uppercase, since my direct
The following is my setup.
ruby 2.1.1p76
jekyll 1.0.2
I have the same problem, and eventually modified the following source file of jekyll. (I use "rvm")
# vim /usr/local/rvm/gems/ruby-2.1.1/gems/jekyll-1.0.2/lib/jekyll/post.rb
I removed the downcase method.
# diff post.rb.org post.rb
79c79
< self.categories = self.data.pluralized_array('category', 'categories').map {|c| c.to_s.downcase}
---
> self.categories = self.data.pluralized_array('category', 'categories').map {|c| c.to_s}
making it lowercase makes it easier for Jekyll to parse and handle the project.
I have a couple of questions for you:
If its the latter, the solution is to capitalize it back again.
{% for tag in page.categories %}
<a href="{{ site.url }}/categories/index.html#{{ page.categories | cgi_encode }}" data-toggle="tooltip" title="Other posts from the {{ tag | capitalize }} category" rel="tag">{{ tag | capitalize }}</a>
{% unless forloop.last %} •
{% endunless %}
{% endfor %}