Skip to content
Browse files

add rtl support to compass template

  • Loading branch information...
1 parent 262a433 commit 08178b5618010e98ac4bef7af1476ac66d8417c2 @mhayes mhayes committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/project/index.html
View
4 templates/project/index.html
@@ -1,7 +1,7 @@
<% template = @template if defined?(@template) %>
<!DOCTYPE html>
-<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
-<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
+<!--[if IE 8]> <html class="no-js lt-ie9" lang="en" <% if template[:options][:rtl] %>dir="rtl"<% end %>> <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" <% if template[:options][:rtl] %>dir="rtl"<% end %>> <!--<![endif]-->
<head>
<meta charset="utf-8" />

0 comments on commit 08178b5

Please sign in to comment.
Something went wrong with that request. Please try again.