fixed unclosed link on category tag
This commit is contained in:
parent
866c7d8b62
commit
983dd84a4b
@ -130,7 +130,7 @@ module Jekyll
|
|||||||
#
|
#
|
||||||
def category_links(categories)
|
def category_links(categories)
|
||||||
categories = categories.sort!.map do |item|
|
categories = categories.sort!.map do |item|
|
||||||
"<a class='category' href='/#{@context.registers[:site].config['category_dir']}/#{item.gsub(/_|\W/, '-')}'/>#{item}</a>"
|
"<a class='category' href='/#{@context.registers[:site].config['category_dir']}/#{item.gsub(/_|\W/, '-')}/'>#{item}</a>"
|
||||||
end
|
end
|
||||||
|
|
||||||
case categories.length
|
case categories.length
|
||||||
|
Loading…
Reference in New Issue
Block a user