forked from puhanfmc3/tentest
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
4.1 KiB
120 lines
4.1 KiB
{% load static %}
|
|
{% load cache %}
|
|
{% load i18n %}
|
|
{% load compress %}
|
|
<!DOCTYPE html>
|
|
<!--[if IE 7]>
|
|
<html class="ie ie7" lang="zh-CN"
|
|
prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
|
|
<![endif]-->
|
|
<!--[if IE 8]>
|
|
<html class="ie ie8" lang="zh-CN"
|
|
prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
|
|
<![endif]-->
|
|
<!--[if !(IE 7) & !(IE 8)]><!-->
|
|
<html lang="zh-CN" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
|
|
<!--<![endif]-->
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<meta name="format-detection" content="telephone=no"/>
|
|
<meta name="theme-color" content="#21759b"/>
|
|
{% load blog_tags %}
|
|
{% head_meta %}
|
|
{% block header %}
|
|
<!-- SEO插件会自动生成title、description、keywords等标签 -->
|
|
{% endblock %}
|
|
<link rel="profile" href="http://gmpg.org/xfn/11"/>
|
|
|
|
<!-- 资源提示和预加载优化 -->
|
|
<link rel="dns-prefetch" href="//cdn.mathjax.org"/>
|
|
<link rel="dns-prefetch" href="//cdn.jsdelivr.net"/>
|
|
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin/>
|
|
|
|
|
|
<!--[if lt IE 9]>
|
|
<script src="{% static 'blog/js/html5.js' %}" type="text/javascript"></script>
|
|
<![endif]-->
|
|
|
|
<!-- RSS和图标 -->
|
|
<link rel="alternate" type="application/rss+xml" title="{{ SITE_NAME }} » Feed" href="/feed"/>
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
|
|
<link rel="icon" href="/favicon.ico" type="image/x-icon"/>
|
|
<link rel="apple-touch-icon" href="/favicon.ico"/>
|
|
|
|
<!-- 本地字体加载 -->
|
|
<link rel="stylesheet" href="{% static 'blog/fonts/open-sans.css' %}">
|
|
{% compress css %}
|
|
<link rel='stylesheet' id='twentytwelve-style-css' href='{% static 'blog/css/style.css' %}' type='text/css'
|
|
media='all'/>
|
|
<link href="{% static 'blog/css/oauth_style.css' %}" rel="stylesheet">
|
|
{% comment %}<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>{% endcomment %}
|
|
<!--[if lt IE 9]>
|
|
<link rel='stylesheet' id='twentytwelve-ie-css' href='{% static 'blog/css/ie.css' %}' type='text/css' media='all' />
|
|
<![endif]-->
|
|
<link rel="stylesheet" href="{% static 'pygments/default.css' %}"/>
|
|
<link rel="stylesheet" href="{% static 'blog/css/nprogress.css' %}">
|
|
{% block compress_css %}
|
|
{% endblock %}
|
|
<!-- 插件CSS文件 - 集成到压缩系统 -->
|
|
{% plugin_compressed_css %}
|
|
{% endcompress %}
|
|
|
|
{% if GLOBAL_HEADER %}
|
|
{{ GLOBAL_HEADER|safe }}
|
|
{% endif %}
|
|
|
|
<!-- 插件head资源 -->
|
|
{% plugin_head_resources %}
|
|
</head>
|
|
|
|
<body class="home blog custom-font-enabled">
|
|
<div id="page" class="hfeed site">
|
|
<header id="masthead" class="site-header" role="banner">
|
|
<hgroup>
|
|
<h1 class="site-title"><a href="/" title="{{ SITE_NAME }}" rel="home">{{ SITE_NAME }}</a>
|
|
</h1>
|
|
<h2 class="site-description">{{ SITE_DESCRIPTION }}</h2>
|
|
</hgroup>
|
|
{% load i18n %}
|
|
{% include 'share_layout/nav.html' %}
|
|
|
|
|
|
</header><!-- #masthead -->
|
|
<div id="main" class="wrapper">
|
|
|
|
{% block content %}
|
|
{% endblock %}
|
|
|
|
|
|
{% block sidebar %}
|
|
{% endblock %}
|
|
|
|
|
|
</div><!-- #main .wrapper -->
|
|
{% include 'share_layout/footer.html' %}
|
|
</div><!-- #page -->
|
|
|
|
<!-- JavaScript资源 -->
|
|
{% compress js %}
|
|
<script src="{% static 'blog/js/jquery-3.6.0.min.js' %}"></script>
|
|
<script src="{% static 'blog/js/nprogress.js' %}"></script>
|
|
<script src="{% static 'blog/js/blog.js' %}"></script>
|
|
<script src="{% static 'blog/js/navigation.js' %}"></script>
|
|
{% block compress_js %}
|
|
{% endblock %}
|
|
<!-- 插件JS文件 - 集成到压缩系统 -->
|
|
{% plugin_compressed_js %}
|
|
{% endcompress %}
|
|
|
|
<!-- MathJax智能加载器 -->
|
|
<script src="{% static 'blog/js/mathjax-loader.js' %}" async defer></script>
|
|
|
|
{% block footer %}
|
|
{% endblock %}
|
|
|
|
<!-- 插件body资源 -->
|
|
{% plugin_body_resources %}
|
|
</body>
|
|
</html>
|