navbar and page title now show the site_name defined in APP_CONFIGwq

This commit is contained in:
nilsding 2014-11-03 13:03:24 +01:00
parent f15cdf5d7f
commit 237c170ddc
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.navbar-brand{href: "/"} justask2
%a.navbar-brand{href: "/"}= APP_CONFIG['site_name']
#j2-main-navbar-collapse.collapse.navbar-collapse
%ul.nav.navbar-nav
= nav_entry "Front", "/"

View file

@ -1,7 +1,7 @@
!!! 5
%html
%head
%title justask2
%title= APP_CONFIG['site_name']
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags