<!DOCTYPE html>
<html>
<head>
    <!-- 加载static静态文件标签，用于后面引用静态资源 -->
    {% load static %}
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 以上3个meta标签必须放在head的最前面 -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">
    <!-- 禁止搜索引擎索引此页面 -->
    <meta name="robots" content="noindex">
    <!-- 动态设置页面标题，使用Django模板变量 -->
    <title>{{ SITE_NAME }} | {{ SITE_DESCRIPTION }}</title>
    
    <!-- 加载账户相关的CSS文件 -->
    <link href="{% static 'account/css/account.css' %}" rel="stylesheet">
    
    <!-- 使用Django压缩工具压缩CSS文件 -->
    {% load compress %}
    {% compress css %}
        <!-- Bootstrap核心CSS文件 -->
        <link href="{% static 'assets/css/bootstrap.min.css' %}" rel="stylesheet">
        <!-- OAuth认证样式 -->
        <link href="{% static 'blog/css/oauth_style.css' %}" rel="stylesheet">
        <!-- IE10视口bug修复 -->
        <link href="{% static 'assets/css/ie10-viewport-bug-workaround.css' %}" rel="stylesheet">
        <!-- TODC Bootstrap样式 -->
        <link href="{% static 'assets/css/todc-bootstrap.min.css' %}" rel="stylesheet">
        <!-- 登录页面自定义样式 -->
        <link href="{% static 'assets/css/signin.css' %}" rel="stylesheet">
    {% endcompress %}
    
    <!-- 压缩JavaScript文件 -->
    {% compress js %}
        <!-- IE10视口bug修复脚本 -->
        <script src="{% static 'assets/js/ie10-viewport-bug-workaround.js' %}"></script>
        <!-- IE浏览器仿真模式警告 -->
        <script src="{% static 'assets/js/ie-emulation-modes-warning.js' %}"></script>
    {% endcompress %}
    
    <!-- HTML5 shim和Respond.js用于IE8支持HTML5元素和媒体查询 -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body>
    <!-- 定义内容块，子模板可以在此处插入具体内容 -->
    {% block content %}
    {% endblock %}

    <!-- IE10视口hack用于Surface/桌面Windows 8 bug -->
</body>

    <!-- 引入jQuery库 -->
    <script type="text/javascript" src="{% static 'blog/js/jquery-3.6.0.min.js' %}"></script>
    <!-- 引入账户相关的JavaScript文件 -->
    <script src="{% static 'account/js/account.js' %}" type="text/javascript"></script>
</html>