Fix page title
This commit is contained in:
parent
44612e1d52
commit
0844c1d999
|
@ -3,9 +3,15 @@
|
||||||
<head>
|
<head>
|
||||||
<title>
|
<title>
|
||||||
<% if content_for? :title %>
|
<% if content_for? :title %>
|
||||||
<%= yield :title %> |
|
<%= yield :title %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% if content_for?(:title) and current_conference? %>
|
||||||
|
<%= yield :title %> | <%= current_conference.try :title %>
|
||||||
|
<% elsif !content_for?(:title) and current_conference? %>
|
||||||
<%= current_conference.try :title %>
|
<%= current_conference.try :title %>
|
||||||
|
<% else %>
|
||||||
|
<%= yield :title %>
|
||||||
|
<% end %>
|
||||||
</title>
|
</title>
|
||||||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||||
<%= stylesheet_link_tag "initfest/application", media: "all" %>
|
<%= stylesheet_link_tag "initfest/application", media: "all" %>
|
||||||
|
|
Loading…
Reference in New Issue