[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  #
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
  #%]

[% USE Bugzilla %]
<meta property="og:type" content="website">
<meta property="og:title" content="[% title FILTER none %]">
[% IF bug %]
<meta property="og:url" content="[% Bugzilla.localconfig.canonical_urlbase FILTER none %]show_bug.cgi?id=[% bug.bug_id FILTER uri %]">
<meta property="og:description"
      content="[% bug.bug_status FILTER html %] ([% bug.assigned_to.login FILTER email FILTER html %]) in [% bug.product FILTER html %] - [% bug.component FILTER html %]. Last updated [% bug.delta_ts FILTER time('%Y-%m-%d') %].">
<meta name="twitter:label1" value="Type">
<meta name="twitter:data1" value="[% bug.bug_type FILTER html %]">
<meta name="twitter:label2" value="Priority">
<meta name="twitter:data2" value="[% bug.priority FILTER html %]">
[% ELSIF error_message %]
<meta property="og:description" content="[% error_message FILTER txt FILTER html %]">
[% END %]
[% IF Bugzilla.params.opengraph_image %]
<meta property="og:image" content="[% Bugzilla.params.opengraph_image FILTER html %]">
[% END %]
