mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
Update favicon and titles
This commit is contained in:
parent
7bd375b667
commit
1a4a0f4d83
6 changed files with 8 additions and 8 deletions
BIN
app/assets/images/shared/favicon.ico
Normal file
BIN
app/assets/images/shared/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
|
@ -1,6 +1,6 @@
|
|||
module ApplicationHelper
|
||||
def full_title(page_title)
|
||||
base_title = "ENSL"
|
||||
base_title = "NSL"
|
||||
|
||||
if page_title.empty?
|
||||
base_title
|
||||
|
@ -10,7 +10,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def active_theme
|
||||
'flat'
|
||||
'default'
|
||||
end
|
||||
|
||||
def theme_stylesheet_link_tag
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
<%= favicon_link_tag 'shared/favicon.ico' %>
|
||||
<%= theme_stylesheet_link_tag %>
|
||||
<%= javascript_include_tag 'application' %>
|
||||
<%= csrf_meta_tag %>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
<%= favicon_link_tag 'shared/favicon.ico' %>
|
||||
<%= stylesheet_link_tag "themes/#{active_theme}/errors" %>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>ENSL</title>
|
||||
<title><%= full_title(yield(:title)) %></title>
|
||||
<meta charset="utf-8">
|
||||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
<%= favicon_link_tag 'shared/favicon.ico' %>
|
||||
<%= theme_stylesheet_link_tag %>
|
||||
<%= javascript_include_tag 'application' %>
|
||||
<%= csrf_meta_tag %>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>ENSL</title>
|
||||
<title><%= full_title(yield(:title)) %></title>
|
||||
<meta charset="utf-8">
|
||||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
<%= favicon_link_tag 'shared/favicon.ico' %>
|
||||
<%= theme_stylesheet_link_tag %>
|
||||
<%= javascript_include_tag 'application' %>
|
||||
<%= csrf_meta_tag %>
|
||||
|
|
Loading…
Reference in a new issue