{% load i18n %}<!doctype html>
<html lang="{{LANGUAGE_CODE}}">
<head>
<title>{% block title %}{{ META.title }}{% endblock %}</title>
<meta http-equiv="Content-Type" content="{% block content_type %}{{ META.content_type }}{% endblock content_type %}" /> 
{% block head_meta %}
<meta name="keywords" content="{% block keywords %}{{ META.keywords }}{% endblock keywords %}" />
<meta name="description" content="{% block description %}{{ META.description }}{% endblock description %}" />
<meta name="generator" content="{% block generator %}{% if META.generator %}{{ META.generator }}{% else %}UPY {{UPY_VERSION}} - upyproject.com{% endif %}{% endblock generator %}" />
{% if META.author %}<meta name="author" content="{{META.author}}" />{% endif %}
{% if META.robots %}<meta name="robots" content="{{ META.robots }}" />{% endif %}
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
{% endblock head_meta %}
{% block head_media %}
{% if USE_UPY_CSS_RESET %}<link rel="stylesheet" type="text/css" href="/upy_static/css/reset.css" />{% endif %}
{% if USE_UPY_JQUERYUI_LIB %}<link rel="stylesheet" type="text/css" href="{{JQUERYUI_CSSLIB}}" />{% endif %}
{% for css in MEDIA_CSS %}
<link rel="stylesheet" type="text/css" href="{{ css }}" />{% endfor %}
{% if USE_UPY_JQUERY_LIB %}<script type="text/javascript" src="{{JQUERY_LIB}}"></script>{% endif %}
{% if USE_UPY_JQUERYUI_LIB %}<script type="text/javascript" src="{{JQUERYUI_LIB}}"></script>{% endif %}
{% for js in MEDIA_JS_HEADER %}
<script type="text/javascript" src="{{ js }}"></script>{% endfor %}
{% endblock head_media %}
{% block extra_head_media %}{% endblock %}
</head>
{% block tag_body %}
<body>
{% endblock %}
{% block body %}{% endblock %}
{% block foot_media %}
{% for js in MEDIA_JS_FOOTER %}
<script type="text/javascript" src="{{ js }}"></script>{% endfor %}
{% endblock foot_media %}
</body>
</html>