Adjust page title to something more useful.

This commit is contained in:
Señor Rolando 2013-12-13 22:15:54 +01:00
parent 44e7a5a555
commit c004e70c7b
3 changed files with 6 additions and 1 deletions

View file

@ -1,2 +1,5 @@
module ApplicationHelper
def title (page_title)
content_for(:title) { page_title }
end
end

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>AdnRepostmentions</title>
<title><%= content_for?(:title) ? yield(:title) : "RepostMentions" %></title>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>

View file

@ -1,3 +1,5 @@
<% title "@Karlsruher" %>
<h1><a href="https://alpha.app.net/karlsruher"><span class="logo-black">@</span><span class="logo-red">Karlsruher</span></a></h1>
<div class="bio">