## -*- coding: utf-8 -*- <%def name="html_headstart()"> %if description: %endif ${title|striphtml} | ${blog_title|striphtml} ${html_stylesheets()} ${html_feedlinks()} %if permalink: %endif %if favicons: %for name, file, size in favicons: %endfor %endif % if comment_system == 'facebook': % endif %if prevlink: %endif %if nextlink: %endif %if use_cdn: %else: %endif ${extra_head_data} <%def name="late_load_js()"> %if use_bundles: %if use_cdn: %else: %endif %else: %if use_cdn: %else: %endif %endif ${social_buttons_code} <%def name="html_stylesheets()"> %if use_bundles: %if use_cdn: %else: %endif %else: %if use_cdn: %else: %endif %if has_custom_css: %endif %endif % if needs_ipython_css: % endif <%def name="html_navigation_links()"> %for url, text in navigation_links[lang]: %if rel_link(permalink, url) == "#": ${text} ${messages("(active)", lang)} %else: ${text} %endif %endfor <%def name="html_feedlinks()"> %if rss_link: ${rss_link} %elif generate_rss: %if len(translations) > 1: %for language in translations: %endfor %else: %endif %endif %if generate_atom: %if len(translations) > 1: %for language in translations: %endfor %else: %endif %endif <%def name="html_translations()"> %for langname in translations.keys(): %if langname != lang: ${messages("LANGUAGE", langname)} %endif %endfor