예제 #1
0
파일: views.py 프로젝트: zilehuda/indico
 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
예제 #2
0
파일: views.py 프로젝트: bkolobara/indico
 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
예제 #3
0
파일: views.py 프로젝트: zilehuda/indico
 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
예제 #4
0
파일: views.py 프로젝트: koufounak/indico
 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
예제 #5
0
파일: views.py 프로젝트: bkolobara/indico
 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
예제 #6
0
파일: views.py 프로젝트: nop33/indico
 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