to_id
in
jekyll/plugins/to_id_filter.rb [3:6]
3
lines of code
1
McCabe index (conditional complexity)
def to_id(input) input.sub(/^\//, '').sub(/.html$/, '') end