Update getting started

This commit is contained in:
Paulus Schoutsen 2016-04-16 17:10:09 -07:00
parent 02022912d8
commit 432ee1a169
25 changed files with 691 additions and 540 deletions

View file

@ -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