Put the config name as title in layouts. fix #773

This commit is contained in:
David Sedeño 2016-02-11 21:56:15 +01:00
parent 2034c0f965
commit f3f40822b0
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
%head %head
%meta{:charset => "utf-8"} %meta{:charset => "utf-8"}
%meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"} %meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
%title= content_for?(:title) ? yield(:title) : "OSEM" %title= content_for?(:title) ? yield(:title) : CONFIG['name']
%meta{:content => "", :name => "description"} %meta{:content => "", :name => "description"}
%meta{:content => "", :name => "author"} %meta{:content => "", :name => "author"}
= stylesheet_link_tag "application", :media => "all" = stylesheet_link_tag "application", :media => "all"

View file

@ -3,7 +3,7 @@
%head %head
%meta{:charset => "utf-8"} %meta{:charset => "utf-8"}
%meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"} %meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
%title= content_for?(:title) ? yield(:title) : "OSEM" %title= content_for?(:title) ? yield(:title) : CONFIG['name']
%meta{:content => "", :name => "description"} %meta{:content => "", :name => "description"}
%meta{:content => "", :name => "author"} %meta{:content => "", :name => "author"}
= stylesheet_link_tag "/stylesheets/schedule/jquery-ui-1.9.2.custom.min" = stylesheet_link_tag "/stylesheets/schedule/jquery-ui-1.9.2.custom.min"