slimmer icon indicating copy to clipboard operation
slimmer copied to clipboard

enable .html pages and layouts

Open afknapping opened this issue 11 years ago • 3 comments

hi there.

really like slimmer!

right now (as far as i got it) .slim is the only accepted format for pages and layouts?

would be nice if we could also use plain .html files when needed for whatever reason (eg following along tutorials and being able to paste in plain html snippets).

cheers fabian

afknapping avatar Dec 13 '13 10:12 afknapping

Thanks Fabian ~ There should be a way to have the system recognize the .html files; I'm kinda surprised that it isn't working out of the box like that. I'll take a look and see if I need to adjust the Middleman config to recognize that. Should have an adjustment made in the next day or so.

mattmanske avatar Dec 13 '13 21:12 mattmanske

hmm, i should have read the slim docs before, sorry :/ http://rdoc.info/gems/slim#Inline_html____HTML_style_

afknapping avatar Dec 14 '13 11:12 afknapping

found something related:

i like to keep content apart from structure by rendering markdown-files into the pages (example).

currently i can only render partials in the same language – meaning i can only include a .slim partial in a .slim page.

Update: was wrong, this works as expected. = partial 'partial-test' within index.slim correctly renders file _partial-test.md as markdown.

afknapping avatar Dec 14 '13 11:12 afknapping