Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the Facebook OpenGraph #40

Closed
chrisdev opened this issue Jun 1, 2015 · 1 comment
Closed

Support for the Facebook OpenGraph #40

chrisdev opened this issue Jun 1, 2015 · 1 comment
Assignees

Comments

@chrisdev
Copy link
Owner

chrisdev commented Jun 1, 2015

Here is a snippet using a include tag on base.html

     {% load core_tags %}
      <meta property="og:title"
       content="{% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}"/>
      <meta property="og:site_name" content="birdsong Steelband, Academy and Social Enterprises"/>
    <meta property="go:url" content="http://birdsongtt.org{{ request.get_full_path }}" />
      {% if self.search_description %}
          <meta property="og:description" content="{{ self.search_description }}"/>
      {% endif %}
       {% get_facebook_appid as facebook_appid %}
      <meta property="fb:app_id" content="{{ facebook_appid }}" />
@chrisdev
Copy link
Owner Author

chrisdev commented Jun 1, 2015

Not sure if FB Open Graph works it you don't have the face book app id

Parbhat added a commit to Parbhat/wagtail-cookiecutter-foundation that referenced this issue Jun 3, 2015
chrisdev added a commit that referenced this issue Jun 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants