We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0594cb1 commit b56ff8cCopy full SHA for b56ff8c
app/views/layouts/application.html.haml
@@ -1,6 +1,7 @@
1
!!! 5
2
%html.no-js{lang: 'en'}
3
%head
4
+ =metamagic
5
/[if IE] <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
%meta{ content: 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type' }
7
%title= page_title(yield(:page_title))
app/views/teams/premium.html.haml
@@ -1,3 +1,12 @@
+- if ENV['ENABLE_TWITTER_CARDS']
+ - meta twitter: {card: "summary"}
+ - meta twitter: {site: "@coderwall"}
+ - meta twitter: {title: sanitize(@team.name)}
+ - meta twitter: {url: teamname_path(@team.slug)}
+ - meta twitter: {description: @team.about}
+ - meta twitter: {image: @team.avatar_url}
8
+ - meta twitter: {creator: {id: @team.twitter}}
9
+
10
-content_for :head do
11
=stylesheet_link_tag 'premium-teams'
12
0 commit comments