def html_head(self, d): """ Assemble html head modifications to ThemeBase method: - Add javascript source file @param d: parameter dictionary @rtype: unicode @return: formatted header """ head = ThemeBase.html_head(self, d) head += u'\n<script type="text/javascript" src="%s/%s/js/actionmenuoptions.js"></script>' % (self.cfg.url_prefix_static, self.name) return head
def html_head(self, d): """ Assemble html head modifications to ThemeBase method: - Add javascript source file @param d: parameter dictionary @rtype: unicode @return: formatted header """ head = ThemeBase.html_head(self, d) head += u'\n<script type="text/javascript" src="%s/%s/js/actionmenuoptions.js"></script>' % ( self.cfg.url_prefix_static, self.name) return head
def html_head(self, d): html = ThemeBase.html_head(self, d) html += '\n<link rel="canonical" href="http://wiki.ros.org/%s" />' % wikiutil.quoteWikinameURL(d['page'].page_name) return html
def html_head(self, d): extra_line = u'<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>' return ThemeBase.html_head(self, d) + '\n' + extra_line
def html_head(self, d): return ThemeBase.html_head(self, d) + '\n' + self.faviconLink()