
etc: support twitter cards
@346ec27e316bf6f7bc8b215d9cdb2be5b2be92fb
--- app/views/layout.scala.html
+++ app/views/layout.scala.html
... | ... | @@ -18,6 +18,10 @@ |
18 | 18 |
<meta property="og:url" content="@play.mvc.Http.Context.current().request().path()" /> |
19 | 19 |
<meta property="og:type" content="website" /> |
20 | 20 |
<meta property="og:description" content="@{titleArray(titleArray.length-1)}" /> |
21 |
+<meta name="twitter:card" content="summary" /> |
|
22 |
+<meta name="twitter:title" content="@titleArray(0)" /> |
|
23 |
+<meta name="twitter:url" content="@play.mvc.Http.Context.current().request().path()" /> |
|
24 |
+<meta name="twitter:description" content="@{titleArray(titleArray.length-1)}" /> |
|
21 | 25 |
<link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.ico")"> |
22 | 26 |
<link rel="stylesheet" type="text/css" media="all" href="@routes.Assets.at("bootstrap/css/bootstrap.css")"> |
23 | 27 |
<link rel="stylesheet" type="text/css" media="all" href="@routes.Assets.at("stylesheets/yobicon/style.css")"> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?