def _getHeadContent(self): site_name = core_settings.get('site_title') meta = render_template('events/meta.html', event=self.event, site_name=site_name, json_ld=serialize_event_for_json_ld(self.event, full=True)) return WPDecorated._getHeadContent(self) + meta
def _getHeadContent(self): head_content = WPDecorated._getHeadContent(self) if self.atom_feed_url: title = self.atom_feed_title or _("Indico Atom feed") head_content += ('<link rel="alternate" type="application/atom+xml" title="{}" href="{}">' .format(escape(title), self.atom_feed_url)) if self._mathjax: head_content += MathjaxMixin._getHeadContent(self) return head_content
def _getHeadContent(self): site_name = core_settings.get('site_title') meta = render_template('events/meta.html', event=self.event, site_name=site_name) return WPDecorated._getHeadContent(self) + meta