2013-01-06 09:41:00 +01:00
< link rel = "stylesheet" media = "screen" href = "{{ config.url_stylesheet }}" >
2015-03-13 12:18:56 +01:00
{% if config.url_favicon %}< link rel = "shortcut icon" href = "{{ config.root }}{{ config.url_favicon }}" > {% endif %}
2013-01-06 09:41:00 +01:00
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
2013-08-05 11:05:38 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1, user-scalable=yes" >
2013-01-06 09:41:00 +01:00
{% if config.meta_keywords %}< meta name = "keywords" content = "{{ config.meta_keywords }}" > {% endif %}
2014-04-05 18:25:20 +02:00
{% if config.meta_description %}< meta name = "description" content = "{{ config.meta_description }}" > {% endif %}
2014-10-08 05:54:00 +02:00
{% if not board.indexed %}< meta name = "robots" content = "noindex" / > {% endif %}
2013-10-30 17:59:05 +01:00
{% if config.default_stylesheet.1 != '' and not mod %}< link rel = "stylesheet" type = "text/css" id = "stylesheet" href = "{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}" > {% endif %}
2013-07-31 09:55:55 +02:00
{% if config.font_awesome %}< link rel = "stylesheet" media = "screen" href = "{{ config.root }}{{ config.font_awesome_css }}" > {% endif %}
2014-02-24 00:06:01 +01:00
{% if config.country_flags_condensed %}< link rel = "stylesheet" href = "{{ config.root }}{{ config.country_flags_condensed_css }}" > {% endif %}
2014-01-29 22:43:09 +01:00
< script type = "text/javascript" >
var configRoot="{{ config.root }}";
2014-01-31 09:39:39 +01:00
var inMod = {% if mod %}true{% else %}false{% endif %};
2014-01-29 22:43:09 +01:00
var modRoot="{{ config.root }}"+(inMod ? "mod.php?/" : "");
2015-03-11 13:44:46 +01:00
var max_images={{ config.max_images }};
2015-03-16 09:31:01 +01:00
var board_name="{{ board.uri }}";
2015-03-13 05:46:36 +01:00
{% raw %}
2015-03-12 08:44:33 +01:00
var styles = {
{% endraw %}
{% for name, uri in config.stylesheets %}{% raw %}'{% endraw %}{{ name|addslashes }}{% raw %}' : '{% endraw %}/stylesheets/{{ uri|addslashes }}{% raw %}',
{% endraw %}{% endfor %}{% raw %}
};
2015-03-13 05:46:36 +01:00
{% endraw %}
< / script >
{% if config.locale != "en" %}
< script type = "text/javascript" src = "{{ config.root }}inc/locale/{{ config.locale|split('.')[0] }}/LC_MESSAGES/javascript.js" > < / script >
{% endif %}
2013-01-06 09:41:00 +01:00
{% if not nojavascript %}
< script type = "text/javascript" src = "{{ config.url_javascript }}" > < / script >
{% if not config.additional_javascript_compile %}
{% for javascript in config.additional_javascript %}< script type = "text/javascript" src = "{{ config.additional_javascript_url }}{{ javascript }}" > < / script > {% endfor %}
{% endif %}
{% endif %}
{% if config.recaptcha %}< style type = "text/css" > { % r a w % }
2013-08-01 06:27:54 +02:00
#recaptcha_area {
float: none !important;
padding: 0 !important;
2013-01-06 09:41:00 +01:00
}
2013-08-01 06:27:54 +02:00
#recaptcha_logo, #recaptcha_privacy {
display: none;
}
#recaptcha_table {
2013-01-06 09:41:00 +01:00
border: none !important;
}
2013-08-01 06:27:54 +02:00
#recaptcha_table tr:first-child {
height: auto;
}
.recaptchatable img {
float: none !important;
}
#recaptcha_response_field {
font-size: 10pt !important;
border: 1px solid #a9a9a9 !important;
padding: 1px !important;
}
td.recaptcha_image_cell {
background: transparent !important;
2013-01-06 09:41:00 +01:00
}
2013-08-01 06:27:54 +02:00
.recaptchatable, #recaptcha_area tr, #recaptcha_area td, #recaptcha_area th {
padding: 0 !important;
2013-01-06 09:41:00 +01:00
}
2013-10-30 17:59:05 +01:00
{% endraw %}< / style > {% endif %}
2015-03-11 00:19:27 +01:00
{% if config.katex %}< script type = "text/javascript" src = "/js/mathjax/MathJax.js?config=8chanTeX" > < / script > {% endif %}