Why Jekyll convert my Capital words into lowercase in Categories

前端 未结 2 2001
逝去的感伤
逝去的感伤 2021-01-06 07:14
graphics3d
word-cloud
math.se

This is my categories

Why they are all lowercase.

How can I make them into Uppercase, since my direct

2条回答
  •  Happy的楠姐
    2021-01-06 08:13

    making it lowercase makes it easier for Jekyll to parse and handle the project.

    I have a couple of questions for you:

    1. Is Jekyll's lower-casing of the category names hurting your site performance or causing you any trouble?
    2. Or do you want it for the aesthetics only?

    If its the latter, the solution is to capitalize it back again.

    {% for tag in page.categories %}
    
    {% unless forloop.last %} • 
    {% endunless %}
    {% endfor %}
    

提交回复
热议问题