Search Engine Optimization fixes

This commit is contained in:
Lee Lawlor
2014-10-13 13:41:58 -04:00
parent 6ad74cee5b
commit 5e9ced89bc
6 changed files with 18 additions and 10 deletions

View File

@ -1,7 +1,7 @@
<% if notice.present? %>
<p class="flash alert alert-success"><%= notice %><span class="dismiss">X</span></p>
<p class="flash alert alert-success"><%= raw(notice) %><span class="dismiss">X</span></p>
<% end %>
<% if alert.present? %>
<p class="flash alert alert-danger"><%= alert %><span class="dismiss">X</span></p>
<p class="flash alert alert-danger"><%= raw(alert) %><span class="dismiss">X</span></p>
<% end %>

View File

@ -1,7 +1,7 @@
<head>
<title><%= @title.nil? ? (@menu.nil? ? 'ThingSpeak' : @menu.capitalize + ' - ThingSpeak') : @title + ' - ThingSpeak' %></title>
<title><%= @title.nil? ? (@menu.nil? ? 'ThingSpeak' : @menu.titleize + ' - ThingSpeak') : @title + ' - ThingSpeak' %></title>
<meta content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<meta name="description" content="Open source data platform for the Internet of Things">
<meta name="description" content="<%= "#{@title} on ThingSpeak: " if @title.present? %>Open source data platform and API for the Internet of Things.">
<meta name="keywords" content="iot, internet of things, iot platform, github, open source, internet of things platform, iobridge">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootswatch/3.1.1/cerulean/bootstrap.min.css" />