cloudhead / toto

the 10 second blog-engine for hackers
MIT License
1.49k stars 244 forks source link

Added baseurl method to the context #89

Closed ixti closed 13 years ago

ixti commented 13 years ago

This simple method allows for example

<!-- file: layout.rhtml -->
<html>
  <head>
    <base href="<%= baseurl %>" />
  </head>
</html>

Probably it's not the most useful feature - I used it for links in HTML comments for incoming hackers. But generally it's probably useless crap :))

ixti commented 13 years ago

Please, excuse me - that's absolutely useless crap :))