laktek / punch-blog

A boilerplate to create personal blogs based on Punch
MIT License
45 stars 14 forks source link

Punctuation not allowed in tags #15

Open vladkosarev opened 11 years ago

vladkosarev commented 11 years ago

For example if I wanted to use tag node.js I'll get node folder with index.html and index.js inside. If I use .net tag I get .net folder with index.html containing null.

Maybe generator should strip punctuation on directories/links but leave it showing on pages? So path become /net/index.html but when showing tags it still shows .net

What do you think?

smola commented 11 years ago

I get index.html containing only null too. But I'm not sure if it's for the same reason.

laktek commented 11 years ago

Tags with dots collides with file paths in Punch. I guess we'll have to figure out a way to fix this in Punch itself (ie. adding ability to treat special paths).

For now it's best to avoid using dots in tag names (yeah, that doesn't sound as a good solution).