Skip to content


make category url and tag url lower case #70

ohsc opened this Issue · 3 comments

3 participants


This is friendly to case-sensitive server.


Modify your theme templates, e.g. _widget/category.ejs, add toLowerCase():

<% site.categories.each(function(item){ %>
  <li><a href="<%- config.root %><%- item.path.toLowerCase() %>"><%= %></a><small><%= item.length %></small></li>
<% }); %>

This does not solve the problem fundamentally

@chrisyip chrisyip added a commit to chrisyip/hexo that referenced this issue
@chrisyip chrisyip #70 add case option for writing files and folders f63e1d4


Add filename_case to site `_config.yml:

# assign 1 for lower case, 2 for upper case, otherwise do nothing
filename_case: 1
@tommy351 tommy351 added a commit that referenced this issue
@tommy351 tommy351 New setting: "filename_case" #70 #81
1: Transform link into lower case
2: Transform link into upper case
@tommy351 tommy351 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.