# Templates

**URL:** <https://www.ruby-forum.com/t/templates/87579>\
**Category:** Rails\
**Created:** [March 27, 2006, 11:48am UTC](https://www.ruby-forum.com/t/templates/87579 "2006-03-27T11:48:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andre83](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/bcef8e/32.png) [@andre83](https://www.ruby-forum.com/u/andre83)\
**Post date:** [March 27, 2006, 11:48am UTC](https://www.ruby-forum.com/t/templates/87579/1 "2006-03-27T11:48:50Z")

</div>

Many of you might probably be familiar with the WordPress template  
model… Is there a way to have something like that working in RoR? I  
mean, importing an html file into a Ruby application…

Also, always referring to the WP model, is there a way to discover what  
page you’re browsing? Ie. if it’s an article page, or an archive, or a  
static page… so that, for example, the sidebar or the footer change  
accordingly?

Thanks!
