Update getting started
This commit is contained in:
parent
02022912d8
commit
432ee1a169
25 changed files with 691 additions and 540 deletions
|
|
@ -6,7 +6,7 @@ module Jekyll
|
|||
end
|
||||
|
||||
def render(context)
|
||||
title = Liquid::Template.parse(@markup).render context
|
||||
title = Liquid::Template.parse(@title).render context
|
||||
slug = title.downcase.strip.gsub(' ', '-').gsub(/[^\w-]/, '')
|
||||
"<a class='title-link' name='#{slug}' href='\##{slug}'></a> #{title}"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue