mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Move fonts into a partial
This commit is contained in:
parent
1dbc8a43a3
commit
24fe503d04
@ -8,8 +8,8 @@
|
||||
<meta name="description" content="The photography portfolio of Dan Barber" />
|
||||
<meta name="language" content="English" />
|
||||
<%= stylesheet_link_tag 'application' %>
|
||||
<%= stylesheet_link_tag 'https://cloud.typography.com/7434852/6922572/css/fonts.css' %>
|
||||
<%= javascript_include_tag 'application' %>
|
||||
<%= render "shared/fonts" %>
|
||||
<%= favicon_link_tag 'favicon.ico' %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
|
||||
3
app/views/shared/_fonts.html.erb
Normal file
3
app/views/shared/_fonts.html.erb
Normal file
@ -0,0 +1,3 @@
|
||||
<% if !Rails.env.test? %>
|
||||
<%= stylesheet_link_tag 'https://cloud.typography.com/7434852/6922572/css/fonts.css' %>
|
||||
<% end %>
|
||||
Loading…
Reference in New Issue
Block a user