{#- Website mata -#} {%- include "./_head/meta.swig" -%} {#- Website rss -#} {%- if theme.rss === 'default' and config.feed and config.feed.path -%} {{ feed_tag(config.feed.path) }} {%- elif theme.rss -%} {{ feed_tag(theme.rss) }} {%- else -%} {{ feed_tag('atom.xml') }} {%- endif -%} {#- Website favicon -#} {%- if theme.favicon -%} {%- endif -%} {#- Ushio-JS -#} {%- if theme.ushio -%} {%- include "./_head/ushio.swig" -%} {%- else -%} {%- endif -%} {#- iziModal -#} {#- iziToast -#} {#- aplayer -#} {%- if theme.aplayer.enable -%} {%- endif -%} {%- if theme.shaky -%} {%- endif -%} {#- Canonical, good for google search engine -#} {#- Fancybox styling -#} {%- if theme.fancybox -%} {%- endif -%} {#- MathJax (LaTeX) support -#} {%- if theme.latex -%} {%- endif -%} {#- Theme styling -#} {#- Analytics and push -#} {%- if not env.debug -%} {%- include "../_script/analytics.swig" -%} {%- include "../_script/push.swig" -%} {%- endif -%} {#- LeanCloud Counter -#} {%- include "../_script/counter.swig"%} {%- set themeConfig = { leancloud: theme.leancloud, toc: theme.toc, fancybox: theme.fancybox, pjax: theme.pjax, latex: theme.latex } -%}