Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Adding twitter meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshaviv committed Mar 4, 2014
1 parent 458987c commit 89e2da7
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions app/views/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="keywords" content="{{keywords}}">
<meta name="description" content="{{description}}">

<!-- Social META -->
<!-- Facebook META -->
<meta property="fb:app_id" content="{{facebookAppId}}">
<meta property="og:site_name" content="{{title}}">
<meta property="og:title" content="{{title}}">
Expand All @@ -23,6 +23,12 @@
<meta property="og:image" content="/img/brand/logo.png">
<meta property="og:type" content="website">

<!-- Twitter META -->
<meta name="twitter:title" content="{{title}}">
<meta name="twitter:description" content="{{description}}">
<meta name="twitter:url" content="{{url}}">
<meta name="twitter:image" content="http://www.example.com/image.jpg">

<!-- Fav Icon -->
<link href="/img/brand/favicon.ico" rel="shortcut icon" type="image/x-icon">

Expand Down Expand Up @@ -53,7 +59,11 @@

<!--Embedding The User Object-->
<script type="text/javascript">
var user = {{ user | json | safe }};
var user = {
{
user | json | safe
}
};
</script>

<!--AngularJS-->
Expand All @@ -73,12 +83,10 @@

<!--Application Modules-->
{% for modulesJSFile in modulesJSFiles %}
<script type="text/javascript" src="{{modulesJSFile}}"></script>
{% endfor %}

{% if process.env.NODE_ENV === 'development' %}
<!--Livereload script rendered -->
<script type="text/javascript" src="http://localhost:35729/livereload.js"></script>
<script type="text/javascript" src="{{modulesJSFile}}"></script>
{% endfor %} {% if process.env.NODE_ENV === 'development' %}
<!--Livereload script rendered -->
<script type="text/javascript" src="http://localhost:35729/livereload.js"></script>
{% endif %}
</body>

Expand Down

0 comments on commit 89e2da7

Please sign in to comment.