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 | 3 | <head> |
| 4 | 4 | <base href="/"> |
| 5 | 5 | <meta charset="utf-8"> |
| 6 | - <title>angular</title> | |
| 6 | + <title ng-bind="'<%= page_title %>'"></title> | |
| 7 | 7 | <meta name="description" content=""> |
| 8 | 8 | <meta name="viewport" content="width=device-width"> |
| 9 | 9 | <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> |
| ... | ... | @@ -32,11 +32,11 @@ |
| 32 | 32 | <!-- run `gulp inject` to automatically populate bower script dependencies --> |
| 33 | 33 | <!-- endbower --> |
| 34 | 34 | <!-- endbuild --> |
| 35 | - | |
| 35 | + | |
| 36 | 36 | <!-- build:js({.tmp/serve,.tmp/partials,src}) scripts/app.js --> |
| 37 | 37 | <script src="commons.js"></script> |
| 38 | 38 | <script src="vendor.bundle.js"></script> |
| 39 | - <script src="noosfero.js"></script> | |
| 39 | + <script src="noosfero.js"></script> | |
| 40 | 40 | <!-- inject:partials --> |
| 41 | 41 | <!-- angular templates will be automatically converted in js and inserted here --> |
| 42 | 42 | <!-- endinject --> | ... | ... |