karlstolley / 535

Course materials for COM535: Instructional Design
http://karlstolley.github.com/535/
1 stars 6 forks source link

Templates #19

Closed karlstolley closed 11 years ago

karlstolley commented 12 years ago

So, here's how templates would work, basically. Comments & suggestions before we merge into master?

matthewheston commented 12 years ago

Will we still be able to use custom scripts with this approach? I guess we could just drop script tags within our content pages? Just trying to think of things I've added to this boilerplate that the default page contains, and I think the only thing is some custom script tags.

Edit: When I say custom scripts I'm referring to custom JavaScript files.

karlstolley commented 12 years ago

One approach would actually be to add a custom template file, based on _layouts/page.html, that loads up your custom scripts; we could also add the ability to put the name/path of custom scripts right in the YAML of each content file.

ghost commented 12 years ago

I have some custom JS in my pages as well, but they're few and so specific to a specific page example that I think it just makes sense to add it just before the tag.

I also have a lot of custom CSS for my CSS examples that I think can be kept in the pages as well.

On Wed, Oct 17, 2012 at 12:52 PM, Karl Stolley notifications@github.comwrote:

One approach would actually be to add a custom template file, based on _layouts/page.html, that loads up your custom scripts; we could also add the ability to put the name/path of custom scripts right in the YAML of each content file.

— Reply to this email directly or view it on GitHubhttps://github.com/karlstolley/535/pull/19#issuecomment-9537025.

karlstolley commented 11 years ago

Note addition of 143d4f9