Browse files

Added url variable to display current url

  • Loading branch information...
1 parent 42a058e commit 347cf1535976544835a236e01d4cba276e7d9bd4 @kallux kallux committed Aug 17, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −2 html/index.html
  2. +1 −0 main.py
View
4 html/index.html
@@ -8,7 +8,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="youtify, music, youtube, spotify, streaming" />
<meta name="description" content="Youtify - YouTube's music, all the time" />
- <link rel="canonical" href="{{self.request.url}}" />
+ <link rel="canonical" href="{{url}}" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="fluid-icon" href="http://www.youtify.com/images/fluidicon.png" title="Youtify" />
@@ -17,7 +17,7 @@
<meta property="og:type" content="software"/>
<meta property="og:image" content="http://www.youtify.com/images/logo50x50.png"/>
<meta property="og:site_name" content="Youtify"/>
- <meta property="og:url" content="{{self.request.url}}"/>
+ <meta property="og:url" content="{{url}}"/>
<meta property="fb:admins" content="704121239,676899180"/>
<meta property="og:description" content="The BEST online music video player"/>
View
1 main.py
@@ -34,6 +34,7 @@ def get(self):
'toplist': toplist.get_or_create_toplist_json(),
'ON_PRODUCTION': ON_PRODUCTION,
'ON_DEV': ON_PRODUCTION is False,
+ 'url': self.request.url,
}))
def main():

0 comments on commit 347cf15

Please sign in to comment.