Permalink
Browse files

Loading the correct font depending on the current theme.

  • Loading branch information...
battlehorse committed Oct 19, 2011
1 parent a62d046 commit 52ae44eb01dfdcb06b2a98ab29654244a9b69df4
Showing with 5 additions and 1 deletion.
  1. +5 −1 app/views/shared/layout/_head.html.erb
@@ -13,7 +13,11 @@
<%= javascript_include_tag "prototype", "rails", "application" %>
<%= yield :javascriptlibs %>
-<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
+<% if borg(:css_template) == 'bigG' %>
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
+<% elsif borg(:css_template) == 'kennedy' %>
+ <link href='http://fonts.googleapis.com/css?family=Maven+Pro|Inconsolata' rel='stylesheet' type='text/css'>
+<% end %>
<% if !@mobile -%>
<%= stylesheet_link_tag(borg(:css_template)) %>
<% else -%>

0 comments on commit 52ae44e

Please sign in to comment.