Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable .html pages and layouts #2

Open
afknapping opened this issue Dec 13, 2013 · 3 comments
Open

enable .html pages and layouts #2

afknapping opened this issue Dec 13, 2013 · 3 comments

Comments

@afknapping
Copy link
Contributor

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

@mattmanske
Copy link
Owner

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.

@afknapping
Copy link
Contributor Author

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

@afknapping
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants