claudioc / jingo

Node.js based Wiki
MIT License
1.02k stars 182 forks source link

Custom style/script broken #54

Closed ryanvarick closed 10 years ago

ryanvarick commented 10 years ago

The customization section states that that _style.css and _script.js in the repository will be included as custom CSS/Javascript; however, I'm only able to get this to work if the files end in .md. I believe this is caused by line 22 of the components.js, which hardcodes .md to the filename it is looking for:

  this.file = this.getConfig().customizations[this.name] + ".md";

(As an aside, I think the wiki would be more flexible if it looked for other common file extensions, like .markdown, or even .text, but that's probably a separate issue...)

claudioc commented 10 years ago

You are perfectly right, and the first to raise the question too :+1:

I will "fix" this asap