Commit 773566ec4291359aae4bcc2f8d40a33a07efb9e0
1 parent
e4637b83
Exists in
seo
Obtained title from Rails page title
Title was hardcoded, now it's obtained through rails tag page_title. We still need to check about page reloading. Signed-off-by: Carlos Coêlho <carlospecter@gmail.com>
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/index.html
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <head> | 3 | <head> |
4 | <base href="/"> | 4 | <base href="/"> |
5 | <meta charset="utf-8"> | 5 | <meta charset="utf-8"> |
6 | - <title>angular</title> | 6 | + <title ng-bind="'<%= page_title %>'"></title> |
7 | <meta name="description" content=""> | 7 | <meta name="description" content=""> |
8 | <meta name="viewport" content="width=device-width"> | 8 | <meta name="viewport" content="width=device-width"> |
9 | <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> | 9 | <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> |
@@ -32,11 +32,11 @@ | @@ -32,11 +32,11 @@ | ||
32 | <!-- run `gulp inject` to automatically populate bower script dependencies --> | 32 | <!-- run `gulp inject` to automatically populate bower script dependencies --> |
33 | <!-- endbower --> | 33 | <!-- endbower --> |
34 | <!-- endbuild --> | 34 | <!-- endbuild --> |
35 | - | 35 | + |
36 | <!-- build:js({.tmp/serve,.tmp/partials,src}) scripts/app.js --> | 36 | <!-- build:js({.tmp/serve,.tmp/partials,src}) scripts/app.js --> |
37 | <script src="commons.js"></script> | 37 | <script src="commons.js"></script> |
38 | <script src="vendor.bundle.js"></script> | 38 | <script src="vendor.bundle.js"></script> |
39 | - <script src="noosfero.js"></script> | 39 | + <script src="noosfero.js"></script> |
40 | <!-- inject:partials --> | 40 | <!-- inject:partials --> |
41 | <!-- angular templates will be automatically converted in js and inserted here --> | 41 | <!-- angular templates will be automatically converted in js and inserted here --> |
42 | <!-- endinject --> | 42 | <!-- endinject --> |