jlord / offline-issues

:grey_exclamation: :signal_strength: Get your GitHub Issues to read offline later. Mmm.
Other
640 stars 68 forks source link

Templates #2

Closed muan closed 10 years ago

muan commented 10 years ago

I think it'll be useful to have issues layout, so all pages in /html have shared navigation and headers.

Also can I add html in .hbs?

@jlord!

jlord commented 10 years ago

Good point!

Yep, you can add html to .hbs -- so we probably need a template for turning data into markdown and another template for markdown into html, right?

muan commented 10 years ago

I'm not sure about the template for markdowns, will that not make the markdown -> html more difficult? or can we do data -> markdown -> markdown with template, markdown -> html with template separately?

jlord commented 10 years ago

Yeah, what you said last is what I was thinking. Right now issue.hbs (need to rename this) is the data -> markdown template, just adds sections headers and links basically.

But wait, actually, maybe we should just also do data -> html at the same time... hold on

muan commented 10 years ago

fixed? @jlord :heart:

jlord commented 10 years ago

Oh yeaaa :)