Mercurial > public > sg101
comparison gpp/contests/models.py @ 567:0a8e6a9ccf53
Tweaks to the contests application: show the winners on the list page.
Minor presentation changes on the detail template.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 07 Mar 2012 18:12:02 -0600 |
parents | 51fa1e0ca218 |
children |
comparison
equal
deleted
inserted
replaced
566:4b9970ad0edb | 567:0a8e6a9ccf53 |
---|---|
85 Returns a dict of Open Graph Protocol meta tags. | 85 Returns a dict of Open Graph Protocol meta tags. |
86 | 86 |
87 """ | 87 """ |
88 return { | 88 return { |
89 'og:title': self.title, | 89 'og:title': self.title, |
90 'og:type': 'game', | 90 'og:type': 'article', |
91 'og:url': self.get_absolute_url(), | 91 'og:url': self.get_absolute_url(), |
92 'og:description': self.meta_description, | 92 'og:description': self.meta_description, |
93 } | 93 } |