parent
670bbb6a4b
commit
4a771b5fb1
@ -1,123 +0,0 @@
|
||||
{% 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"/>
|
||||
{% block header %}
|
||||
<title>{% block title %}{{ SITE_NAME }}{% endblock %}</title>
|
||||
<meta name="description" content="{{ SITE_DESCRIPTION }}">
|
||||
<meta name="keywords" content="{{ SITE_KEYWORDS }}">
|
||||
{% endblock %}
|
||||
{% load blog_tags %}
|
||||
{% head_meta %}
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11"/>
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="{% static 'blog/js/html5.js' %}" type="text/javascript"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ SITE_NAME }} » Feed"
|
||||
href="/feed"/>
|
||||
<link rel='stylesheet preload' as="font" id='twentytwelve-fonts-css'
|
||||
href='{% static 'blog/fonts/fonts.css' %}'
|
||||
type='text/css' media='all'/>
|
||||
<link rel="dns-prefetch" href="//cdn.mathjax.org"/>
|
||||
<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"/>
|
||||
{% 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 %}
|
||||
{% endcompress %}
|
||||
{% if GLOBAL_HEADER %}
|
||||
{{ GLOBAL_HEADER|safe }}
|
||||
{% endif %}
|
||||
</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 %}
|
||||
|
||||
|
||||
{# <div class="i18n-selector">#}
|
||||
{# <form action="{% url 'set_language' %}" method="post" id="i18n-form">{% csrf_token %}#}
|
||||
{# <input name="next" type="hidden" value="{{ redirect_to }}">#}
|
||||
{# <select name="language" class="i18n-select" >#}
|
||||
{# {% get_current_language as LANGUAGE_CODE %}#}
|
||||
{# {% get_available_languages as LANGUAGES %}#}
|
||||
{# {% get_language_info_list for LANGUAGES as languages %}#}
|
||||
{# {% for language in languages %}#}
|
||||
{# <option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE %} selected{% endif %}>#}
|
||||
{# {{ language.name_local }} ({{ language.code }})#}
|
||||
{# </option>#}
|
||||
{# {% endfor %}#}
|
||||
{# </select>#}
|
||||
{# <input type="submit" value="Go">#}
|
||||
{# </form>#}
|
||||
{# </div>#}
|
||||
|
||||
|
||||
{% 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 -->
|
||||
|
||||
</body>
|
||||
<footer>
|
||||
<script src="//cdn.bootcss.com/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||||
{% compress js %}
|
||||
<script type="text/javascript" src="{% static 'blog/js/jquery-3.6.0.min.js' %}"></script>
|
||||
<script type="text/javascript" src="{% static 'blog/js/nprogress.js' %}"></script>
|
||||
<script src="{% static 'blog/js/blog.js' %}" type="application/javascript"></script>
|
||||
<script src="{% static 'blog/js/navigation.js' %}" type="application/javascript"></script>
|
||||
<script src="{% static 'mathjax/js/mathjax-config.js' %}" type="application/javascript"></script>
|
||||
{% block compress_js %}
|
||||
{% endblock %}
|
||||
{% endcompress %}
|
||||
{% block footer %}
|
||||
{% endblock %}
|
||||
</footer>
|
||||
</html>
|
||||
Loading…
Reference in new issue