Exemplo n.º 1
0
 def _get_head_content(self):
     head_content = WPDecorated._get_head_content(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._get_head_content(self)
     return head_content
Exemplo n.º 2
0
 def _get_head_content(self):
     head_content = WPDecorated._get_head_content(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._get_head_content(self)
     return head_content
Exemplo n.º 3
0
 def _get_head_content(self):
     return '\n'.join([
         MathjaxMixin._get_head_content(self),
         WPEventBase._get_head_content(self)
     ])
Exemplo n.º 4
0
 def _get_head_content(self):
     return MathjaxMixin._get_head_content(self) + WPEventBase._get_head_content(self)
Exemplo n.º 5
0
 def _get_head_content(self):
     return WPEventManagement._get_head_content(
         self) + MathjaxMixin._get_head_content(self)
Exemplo n.º 6
0
 def _get_head_content(self):
     return WPEventManagement._get_head_content(self) + MathjaxMixin._get_head_content(self)
Exemplo n.º 7
0
 def _get_head_content(self):
     return '\n'.join([
         MathjaxMixin._get_head_content(self),
         WPEventBase._get_head_content(self)
     ])
Exemplo n.º 8
0
 def _get_head_content(self):
     return MathjaxMixin._get_head_content(self) + WPEventBase._get_head_content(self)