Add proper title to pages

master
Guillaume Dott 2015-11-13 12:29:59 +01:00
parent 9a1368b2ad
commit 484e63f7ee
3 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,5 @@
- content_for(:title) { 'Index' }
- content_for :title do
| Movies
form method="get" action="/" id="filter"
div id="search-main"

View File

@ -1,7 +1,9 @@
doctype html
html
head
title = yield_content :title
title
= yield_content :title
| - Librarix
meta charset="utf-8"
meta name="viewport" content="initial-scale=1.0, user-scalable=yes"
link rel="stylesheet" media="all" href="/application.css"

View File

@ -1,4 +1,5 @@
- content_for(:title) { 'Search' }
- content_for :title do
| Search
form method="get" action="/search" id="search"
div id="search-main"