67dcb2f77c
brought over all the files from the Jekyll version, fixed categories, reformatted for different markdown processor
8 lines
272 B
Plaintext
8 lines
272 B
Plaintext
- var it = post || page
|
|
if it.categories && it.categories.length > 0
|
|
- var cats = it.categories.toArray()
|
|
for cat in cats
|
|
a(href=url_for(cat.path) title='Categorized under ' + cat.name rel='tag')= cat.name
|
|
if cats.indexOf(cat) < (cats.length - 1)
|
|
= ', '
|