Adjust page title to something more useful.
This commit is contained in:
parent
44e7a5a555
commit
c004e70c7b
3 changed files with 6 additions and 1 deletions
|
|
@ -1,2 +1,5 @@
|
|||
module ApplicationHelper
|
||||
def title (page_title)
|
||||
content_for(:title) { page_title }
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -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 %>
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue